chat.freenode.net #tryton log beginning Mon Mar 21 00:00:02 CET 2016 | ||
2016-03-21 02:33 -!- ovnicraft(~ovnicraft@190.10.187.107) has joined #tryton | ||
2016-03-21 03:34 <shrox> kstenger: I am unable to understand how relatario would work with trytond without using the opendocument.py template at all. I will look dig a bit more but please do help me out if you can. | ||
2016-03-21 03:36 <shrox> kstenger: I am normally awake at night, so it doesn't matter. But thanks to our differing time zones I've been working on my proposal longer than I would have liked. :/ | ||
2016-03-21 03:52 <kstenger> shrox: for what I see, the magic is in the usage of _guess_type from the MIMETemplateLoader() class in relatorio. | ||
2016-03-21 03:52 <kstenger> I apologise to you, I don't feel happy while my help for you on this goes so slow. | ||
2016-03-21 03:53 <shrox> kstenger: Hey, that's not what I meant! I was blaming our differing time zones. If I was awake the past few hours I would have done more than I have now :P | ||
2016-03-21 03:53 <kstenger> yes, but still :) | ||
2016-03-21 03:53 <kstenger> check that function see itf it makes sense to you | ||
2016-03-21 03:53 <shrox> kstenger: I thought it was that as well. Yup, I'm on it. | ||
2016-03-21 03:56 <ovnicraft> try to run sao this https://gist.github.com/ovnicraft/e17674df89d1165e23a8 is not working with 3.8.4 | ||
2016-03-21 03:56 <ovnicraft> any hint ? | ||
2016-03-21 03:56 <ovnicraft> i update trytond and sao to 3.8.4 branch | ||
2016-03-21 03:59 <kstenger> ovnicraft: for 3.8 you have to check this http://doc.tryton.org/3.8/trytond/doc/topics/configuration.html?highlight=configuration | ||
2016-03-21 04:00 <kstenger> ovnicraft: there were changes from 3.8 to 3.9, so pay particular attention to section names and variable names | ||
2016-03-21 04:02 <kstenger> ovnicraft: if 3.9 worked for you earlier, why did you go back to 3.8 ? | ||
2016-03-21 04:04 <ovnicraft> kstenger, default is stable ? | ||
2016-03-21 04:05 <kstenger> no, but you said you wanted it for development, or did I missunderstand? | ||
2016-03-21 04:06 <kstenger> I mean, do you plan on contributing ovnicraft? | ||
2016-03-21 04:17 <shrox> kstenger: I think I have a clearer picture now. But would you know just how the reporting.py file accesses opendocument.py. It doesn't directly do it, that's for sure. The _guess_type function and the MIMETemplateLoader class somehow make use of opendocument.py (if it needs to be used) but I don't know how. | ||
2016-03-21 04:17 <shrox> kstenger: There is a statment at the end of opendocument.py - MIMETemplateLoader.add_factory('oo.org', Template) | ||
2016-03-21 04:18 <shrox> kstenger: I think this would meant that 'oo.org' is associated with opendocument.py for MIMETemplateLoader | ||
2016-03-21 04:18 <shrox> kstenger: But that would require running the opendocument.py at the beginning. Which doesn't happen. | ||
2016-03-21 04:19 <shrox> kstenger: Are you understanding what I'm trying to say? | ||
2016-03-21 04:22 <kstenger> shrox: yes, I just have the picture complete, as you just said at the end of opendocument.py the type is added to the factory, this happens at module import | ||
2016-03-21 04:23 <shrox> kstenger: Ah! So that import was essential, after all? | ||
2016-03-21 04:23 <kstenger> ah, wait a sec | ||
2016-03-21 04:24 <kstenger> this happems at __init__.py, same directory as reporting.py | ||
2016-03-21 04:24 <kstenger> so importint reporting, triggers the types beeing loaded to the factory | ||
2016-03-21 04:24 <shrox> kstenger: Okay. Got it now :) | ||
2016-03-21 04:25 <shrox> kstenger: Thank you :) | ||
2016-03-21 04:25 <kstenger> shrox: thank you too, you gave me a part of the puzzle I didn't nootice at the end of opendocument :) | ||
2016-03-21 04:27 <kstenger> so, now I think that the fodt part of the code should probably go into opendocument too, but I'd like to hear cedk opinion | ||
2016-03-21 04:27 <shrox> kstenger: Since I think I'm lagging a bit in writing my proposal. Would you mind telling me a few things that you will be looking out for when you review it? It'll definitely help me write a better first proposal which will probably require lesser changes. | ||
2016-03-21 04:28 <shrox> kstenger: What makes you think so? I don't get the connection. | ||
2016-03-21 04:28 <kstenger> it makes me think so because it would also be oo.org type ? | ||
2016-03-21 04:31 <shrox> kstenger: Hmm. But the current oo.org types (odt, ods., etc.) are all zip files. But if we had fodt it would be a single xml file. Having a different foo.org type, for example, could very well be more convenient, I guess. | ||
2016-03-21 04:33 <kstenger> shrox: answering what I'll be looking for would be hard to answer.... remember I'm not the only potential mentor also, and I'm new to this ;-) | ||
2016-03-21 04:34 <shrox> kstenger: All right then :) | ||
2016-03-21 04:34 <kstenger> shrox: true, so maybe you could fine tune the types names... anyways... those I think are more minor details, it would depend mostly on if you can find similarities between both preocesses or not, so if there is sense to make it together or separated | ||
2016-03-21 04:35 <shrox> kstenger: Yes, definitely. It can be figured out later. | ||
2016-03-21 04:35 <kstenger> you'll have to balance similarities to differences. So we don't have two files that are almost identical, or we don't have just one difficult to follow file | ||
2016-03-21 04:37 <shrox> kstenger: Yes. :) | ||
2016-03-21 04:38 <kstenger> shrox: You are in USA? | ||
2016-03-21 04:38 <shrox> kstenger: No. India. | ||
2016-03-21 04:39 <kstenger> oh, the server name took me to think US :) | ||
2016-03-21 04:39 <kstenger> for me it's already time to go to bed, if it's too late for you, you should rest also, and continue with a clear mind tomorrow :) | ||
2016-03-21 04:40 <kstenger> I've been sleeping late lately too | ||
2016-03-21 04:41 <shrox> kstenger: It's too early for me :P I just woke up. I had planned to stay up the night so that I could work on my proposal but I dozed off. Now I will have classes in some time. | ||
2016-03-21 04:41 <shrox> kstenger: You sleep, goodnight :) | ||
2016-03-21 04:41 <kstenger> ah, ok :D well, have a good day! | ||
2016-03-21 04:42 <kstenger> ACTION afks | ||
2016-03-21 04:42 <shrox> kstenger: You too! | ||
2016-03-21 07:03 -!- toshad(uid150688@gateway/web/irccloud.com/x-fwobutceebomuvre) has joined #tryton | ||
2016-03-21 07:30 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton | ||
2016-03-21 07:40 -!- frispete_(~frispete@p54A91F55.dip0.t-ipconnect.de) has joined #tryton | ||
2016-03-21 07:41 -!- awasum(~awasum@41.205.27.73) has joined #tryton | ||
2016-03-21 07:57 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton | ||
2016-03-21 07:59 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton | ||
2016-03-21 08:37 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-03-21 08:38 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-03-21 08:47 -!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton | ||
2016-03-21 08:52 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton | ||
2016-03-21 08:54 -!- prayashm(~prayash@14.139.207.163) has joined #tryton | ||
2016-03-21 08:58 -!- kstenger(~karla@r179-24-184-90.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2016-03-21 09:14 -!- gytis(~gytis@v100.nfq.lt) has joined #tryton | ||
2016-03-21 09:22 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-03-21 09:27 -!- Timitos(~kpreisler@2001:a61:213a:bd01:ae7b:a1ff:feaf:55f0) has joined #tryton | ||
2016-03-21 09:29 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2016-03-21 09:52 -!- nicoe(~nicoe@2a02:a03f:30a9:300:ee55:f9ff:fe7b:f7ac) has joined #tryton | ||
2016-03-21 10:30 -!- meanmicio(~lfm@fsf/member/meanmicio) has left #tryton | ||
2016-03-21 10:44 -!- toshad(uid150688@gateway/web/irccloud.com/x-nwamnpcdlqdtuopy) has joined #tryton | ||
2016-03-21 11:43 <awasum> Hello | ||
2016-03-21 11:43 <awasum> i wanted to discuss some specification and design decisions about the Email Notification Project for Gsoc 2016. | ||
2016-03-21 11:44 <awasum> I am a student from the university of Buea, Cameroon. I am interested in some of your Gsoc projects. | ||
2016-03-21 11:45 <awasum> firstly, i did some research on template engines in python and realise that jinja is widely used and well maintained, | ||
2016-03-21 11:46 <cedk> awasum: indeed we already have our template tool in Tryton based on relatorio | ||
2016-03-21 11:47 <cedk> I just recently submit a patch to support text format: https://bugs.tryton.org/issue5185 | ||
2016-03-21 11:47 <awasum> cedk suggested that we use kajiki. in one of the projects to replace gesnhi. | ||
2016-03-21 11:47 <cedk> and I already use it here https://tryton-rietveld.appspot.com/8451002/ to send authentication email | ||
2016-03-21 11:48 <cedk> awasum: yes but it is not relevant for the email notification as it must be based on relatorio | ||
2016-03-21 11:48 <cedk> so the internal of relatorio will be transparent | ||
2016-03-21 11:48 <awasum> Ok | ||
2016-03-21 11:50 <awasum> cedk: you said in one of u=your comments that we should not use queues, | ||
2016-03-21 11:50 <awasum> is the mail server already configured?? | ||
2016-03-21 11:53 <pokoli> awasum: the email server can be defined on the configuration file. See http://doc.tryton.org/3.8/trytond/doc/topics/configuration.html?highlight=email#email | ||
2016-03-21 11:54 <cedk> awasum: I would like that we use a datamanager plugged in the two-phase commit | ||
2016-03-21 11:54 <awasum> oh, ok | ||
2016-03-21 11:55 <awasum> i saw the link but havent grsped the whole process or idea of datamanger. | ||
2016-03-21 11:55 <awasum> am new to Tryton | ||
2016-03-21 11:56 <cedk> awasum: datamanage is not yet there: https://tryton-rietveld.appspot.com/23741003/ | ||
2016-03-21 11:56 <awasum> ok | ||
2016-03-21 11:59 <cedk> awasum: but the datamanager is not part of the GSoC | ||
2016-03-21 11:59 <cedk> awasum: this will be done during this week for the coming release | ||
2016-03-21 12:00 <cedk> awasum: so it will just expose a similar API to the smtplib | ||
2016-03-21 12:00 <awasum> ok, then i have to follow the development process of datamanager to complete the email notification project. | ||
2016-03-21 12:01 <awasum> that will be so good. | ||
2016-03-21 12:03 <cedk> awasum: you can consider that you will send email directly at first step | ||
2016-03-21 12:05 -!- awasum_(~awasum@41.205.27.73) has joined #tryton | ||
2016-03-21 12:09 -!- awasum(~awasum@41.205.27.73) has joined #tryton | ||
2016-03-21 12:15 <cedk> awasum: also don't forget to submit at least one patch | ||
2016-03-21 12:15 <awasum> working on that. | ||
2016-03-21 12:16 <awasum> setting up my development environment. | ||
2016-03-21 12:20 <cedk> awasum: also you can already encode your proposal in the GSoC applicate as incomplete so mentors can already take a look | ||
2016-03-21 12:21 <awasum> thanks. doing that now. | ||
2016-03-21 12:21 <cedk> awasum: also if you submit using google doc, we can comment | ||
2016-03-21 12:47 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2016-03-21 13:01 <pokoli> cedk: There is any issue about PYSON widget? | ||
2016-03-21 13:02 <cedk> pokoli: what do you mean? | ||
2016-03-21 13:02 <pokoli> cedk: You always said that it will be great to have a tryton/sao widget to edit pyson statements | ||
2016-03-21 13:03 <pokoli> cedk: So I'm asking if there is any issue on the bug tracker (or discussion) related to it's implementation | ||
2016-03-21 13:05 <cedk> pokoli: I don't think so, did you search for it? | ||
2016-03-21 13:06 <pokoli> cedk: found it, thanks ;) https://bugs.tryton.org/issue4631 | ||
2016-03-21 13:57 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton | ||
2016-03-21 14:05 -!- mr-karan_(~Karan_Sha@128.199.199.233) has joined #tryton | ||
2016-03-21 14:23 -!- mariomop(~quassel@host180.190-137-202.telecom.net.ar) has joined #tryton | ||
2016-03-21 15:05 -!- bvillasanti(~bvillasan@138.117.20.246) has joined #tryton | ||
2016-03-21 15:34 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2016-03-21 16:50 -!- bvillasanti(~bvillasan@138.117.20.246) has joined #tryton | ||
2016-03-21 18:12 -!- shrox(shrox@nat/iiit/x-uefcbrlorkntirus) has joined #tryton | ||
2016-03-21 18:15 <shrox> cedk: Hi! I've been discussing the fodt project with kstenger. Just wanted to confirm a few things with you. I will have to work with the opendocument.py template and either modify the same or create another template that works along the same lines for fodt. Is that correct? | ||
2016-03-21 18:16 <shrox> cedk: In the detailed project description in the proposal, I will mention the changes that I explain the project and the changes that need to be made along with screenshots. | ||
2016-03-21 18:17 <shrox> cedk: Is there anything else that I need to add? I will submit the proposal today. So that you can review it and I then have enough time to make enough changes, if any. | ||
2016-03-21 18:19 <cedk> shrox: I think the best is to write a converter between fodt into odt | ||
2016-03-21 18:21 <shrox> cedk: Convert the flat xml file into separate files and folders? | ||
2016-03-21 18:21 <cedk> shrox: into an odt which is a zipfile | ||
2016-03-21 18:21 <cedk> shrox: so this zipfile could be passed to the opendocument template engine | ||
2016-03-21 18:21 <shrox> cedk: Yes. But but since the odt, once unzipped, is just files and folders. | ||
2016-03-21 18:22 <shrox> cedk: Okay. That could be done. | ||
2016-03-21 18:22 <shrox> cedk: I've been comparing odt and flat odt files and there are some aspects that might be problematic. I do have a fair idea though. | ||
2016-03-21 18:24 <shrox> cedk: This could also be used independently to convert fodt to odt with the help of just python then. I think. | ||
2016-03-21 18:29 <cedk> shrox: yes and if you can also write the convert in the other way, it will help converting existing reports | ||
2016-03-21 18:47 <shrox> cedk: Cool. And can you give me an idea of what I should mention in my project description in the proposal? | ||
2016-03-21 18:49 <cedk> shrox: you should just describe the project | ||
2016-03-21 18:49 <cedk> shrox: like: writing a library to convert in both way between fodt and odt | ||
2016-03-21 18:50 <cedk> shrox: anyway, the best is that you put your draft proposal using google doc then we can comment on it | ||
2016-03-21 18:50 <shrox> cedk: All right. I will do that. | ||
2016-03-21 18:51 <shrox> cedk: It will be up in the next few hours. | ||
2016-03-21 18:53 <cedk> shrox: the best is to ping us when you have the draft submission so we can take a look | ||
2016-03-21 18:53 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton | ||
2016-03-21 18:53 <shrox> cedk: I will definitely be doing that. You will have immediate access, right? | ||
2016-03-21 18:55 -!- ChkDigit(~u388mw@74.3.144.66) has joined #tryton | ||
2016-03-21 18:56 <cedk> shrox: yes normally | ||
2016-03-21 18:57 <shrox> cedk: :D | ||
2016-03-21 19:04 -!- saxa(~sasa@2-234-206-126.ip224.fastwebnet.it) has joined #tryton | ||
2016-03-21 19:09 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2016-03-21 19:11 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2016-03-21 19:46 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton | ||
2016-03-21 19:54 -!- ovnicraft(~ovnicraft@190.10.187.107) has joined #tryton | ||
2016-03-21 20:01 <shrox> cedk: Should the converter be able to handle ods, etc.? | ||
2016-03-21 20:44 <shrox> cedk: Would lxml be recommended to process the xml from the flat xml file? | ||
2016-03-21 20:54 <cedk> shrox: for ods yes indeed there is one opendocument format | ||
2016-03-21 20:55 <cedk> shrox: and for lxml, yes it is what is already used in relatorio so we should try to limit number deps | ||
2016-03-21 20:56 <shrox> cedk: Okay. I am not sure if I manage to make a converter for odt, that it will work without me having to make any further changes. For now, I am only looking into the intricacies of odt files. | ||
2016-03-21 21:00 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2016-03-21 21:00 -!- kstenger1(~karla@r167-56-248-43.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2016-03-21 22:32 -!- awasum(~awasum@195.24.220.16) has joined #tryton | ||
2016-03-21 22:44 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2016-03-21 23:10 -!- awasum(~awasum@41.205.27.86) has joined #tryton | ||
2016-03-21 23:23 -!- ovnicraft(~ovnicraft@190.10.187.107) has joined #tryton | ||
2016-03-21 23:41 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2016-03-21 23:51 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton | ||
2016-03-21 23:52 -!- awasum(~awasum@41.205.27.86) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!