IRC logs of #tryton for Monday, 2016-06-27

chat.freenode.net #tryton log beginning Mon Jun 27 00:00:01 CEST 2016
2016-06-27 04:30 -!- miknotauro(~miknotaur@187.207.59.241) has joined #tryton
2016-06-27 05:25 -!- frispete_(~frispete@p54A90192.dip0.t-ipconnect.de) has joined #tryton
2016-06-27 06:10 -!- Michale(caa0a538@gateway/web/freenode/ip.202.160.165.56) has joined #tryton
2016-06-27 06:18 <Michale> hello, anyone can help me for JSON RPC call?
2016-06-27 07:13 -!- HoloIRCUser3(holoirc@nat/iiit/x-szajrngcohrkbfts) has joined #tryton
2016-06-27 07:41 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-27 08:11 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-06-27 08:23 <Michale> anyone know about JSON RPC in triton?
2016-06-27 08:23 <Michale> tryton*?
2016-06-27 08:37 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-06-27 08:40 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2016-06-27 09:01 <Michale> hello
2016-06-27 09:09 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-06-27 09:11 -!- Timitos(~kpreisler@2001:a61:2187:fe01:ae7b:a1ff:feaf:55f0) has joined #tryton
2016-06-27 09:12 <pokoli> Michale: hello, could you explain what are you trying to achieve with JSON-RPC and whats problems/doubts do you have?
2016-06-27 09:12 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-06-27 09:20 <shrox> edk: I have done three of the five things you asked me to. Namely, removed the global variables, replaced concatenation with string format % and replaced classes with functions. I'm skeptical about the other two. Can you guide me how I should proceed with 1) creating the manifest file directly without reading the file list after they have been made. 2) handling images while making content.xml instead of reading it again.
2016-06-27 09:21 <shrox> cedk:
2016-06-27 09:25 <cedk> shrox: for the manifest, you could have an object that you call each time you add a new file to the zip
2016-06-27 09:25 <pokoli> hi prayashm, could you explain the concurrency issue you have with deeper levels? What's the problem?
2016-06-27 09:26 <cedk> shrox: there is something similar in relatorio also for the Manifest
2016-06-27 09:26 <cedk> shrox: indeed you could maybe re-use it
2016-06-27 09:26 <shrox> cedk: Oh, that would be cool. I'll have a look.
2016-06-27 09:27 <cedk> shrox: for the image, when you remove it from the content, you could directly add them in the zip
2016-06-27 09:28 <prayashm> pokoli: https://github.com/prayashm/sao/blob/488425f48e33e876aa8dedc63cd08157afd10283/src/window.js#L1083
2016-06-27 09:28 <prayashm> pokoli: when calling on_row_expanded, it needs to wait till the following <ul> is populated
2016-06-27 09:29 <shrox> cedk: How would I manage the various attributes (href, simple, show, actuate)? And since I am splitting the files one after the other, won't there be unnecessary code related to the images while the function primary splits files?
2016-06-27 09:29 <pokoli> prayashm: so you need a promise and add the code as callback of that promise
2016-06-27 09:29 <pokoli> prayashm: get_fields returns a promise, doesn't it?
2016-06-27 09:29 <prayashm> pokoli: get_fields does
2016-06-27 09:30 <cedk> prayashm: I think you must do recursion using callback
2016-06-27 09:30 <prayashm> pokoli: I should have another promise inside on_row_expanded or within auto_detect?
2016-06-27 09:31 <cedk> shrox: I think you must almost have a single function to read only once the file
2016-06-27 09:32 <cedk> shrox: it is bad for performence to parse again the XML
2016-06-27 09:32 <prayashm> cedk: you mean, I should replace the current while loop with recursive callbacks?
2016-06-27 09:32 <cedk> prayashm: yes I think
2016-06-27 09:33 <prayashm> cedk: it will differ from the code in gtk client then, isn't it?
2016-06-27 09:34 <shrox> cedk: Okay, how about if I make another function specifically for the body tag in content.xml? That can split the file as well as convert the binary data to the images.
2016-06-27 09:35 <cedk> prayashm: yes but async in JS is different
2016-06-27 09:37 <cedk> shrox: why not
2016-06-27 09:38 <shrox> cedk: I shall do that then. Thanks!
2016-06-27 09:38 <cedk> shrox: I think you can also have images in the styles file if you put an image in the header/footer
2016-06-27 09:38 <cedk> by the way how is it possible to comment code on GitHub?
2016-06-27 09:39 <shrox> cedk: Oh, I didn't know that. So I shall separate the both of them then.
2016-06-27 09:39 <cedk> shrox: you must check before
2016-06-27 09:39 <pokoli> cedk: yes, but AFAIK you have to add the comment on the commit that added those line
2016-06-27 09:40 <cedk> pokoli: that's stupid
2016-06-27 09:40 <cedk> I can not spend time to find commit
2016-06-27 09:40 <prayashm> cedk: I will do that
2016-06-27 09:40 <prayashm> cedk: Click on the commit id
2016-06-27 09:40 <cedk> shrox, prayashm: you should start creating *real* review
2016-06-27 09:41 <shrox> cedk: Okay. Should I add what I have right now as a review?
2016-06-27 09:41 <pokoli> cedk: there is a blame button may help you find the commit
2016-06-27 09:43 <cedk> pokoli: if UI is poor for review, it is. We have better tools
2016-06-27 09:44 <prayashm> cedk: okay
2016-06-27 09:44 <cedk> shrox: it is better that you try to integrate with the existing code before
2016-06-27 09:46 <shrox> cedk: If there are any specific code related comments, won't it be easier if I can get to know them now?
2016-06-27 09:49 <cedk> shrox: it will be easier on codereview
2016-06-27 09:50 <shrox> cedk: Yes, I meant, if I put this code on codereview right now, I can have a look at your comments. Later I could submit another review after integration.
2016-06-27 09:51 <cedk> shrox: of course but just always use the same review
2016-06-27 09:52 <shrox> cedk: Oh, okay. I shall do that now then, after making a few changes.
2016-06-27 09:59 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2016-06-27 09:59 -!- shrox(shrox@nat/iiit/x-tenxnpckpqqaxqyw) has joined #tryton
2016-06-27 10:00 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-06-27 10:00 -!- shrox(shrox@nat/iiit/x-jbojedgjxnozpmoa) has joined #tryton
2016-06-27 10:06 -!- yangoon_rm(~mathiasb@137.158.23.34) has joined #tryton
2016-06-27 10:16 -!- prak(7ab10e15@gateway/web/freenode/ip.122.177.14.21) has joined #tryton
2016-06-27 10:16 <prak> hi, I have been tryting to run Trytond 4.1 on Mac... I am getting "Could not connect to server"
2016-06-27 10:17 <prak> any ideas ?
2016-06-27 10:17 <prak> *trying
2016-06-27 10:18 <prak> I am using Postgres from postgresapp.com..will it make any difference ?
2016-06-27 10:23 <pokoli> prak: are you sure trytond server is running an you are connecting on the correct port
2016-06-27 10:23 <prayashm> While submitting for review, with command: upload.py --rev upstream/develop, I encounter an error saying "Got error status from 'git show 02e799...' "
2016-06-27 10:23 <pokoli> prak: also starting the server with --verbose flag will give you more information
2016-06-27 10:43 <cedk> prayashm: can not help on git
2016-06-27 10:50 <cedk> prayashm: you should try to use the hash
2016-06-27 10:55 -!- Timitos(~kpreisler@aftr-185-17-207-161.dynamic.mnet-online.de) has joined #tryton
2016-06-27 10:59 -!- Michael_(caa0a538@gateway/web/freenode/ip.202.160.165.56) has joined #tryton
2016-06-27 10:59 -!- udono(~udono@ip-37-201-245-214.hsi13.unitymediagroup.de) has joined #tryton
2016-06-27 11:34 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2016-06-27 12:36 -!- mariomop(~quassel@181.91.135.146) has joined #tryton
2016-06-27 13:25 -!- yangoon_rm(~mathiasb@137.158.23.34) has joined #tryton
2016-06-27 15:21 -!- yangoon_rm(~mathiasb@137.158.23.34) has joined #tryton
2016-06-27 16:06 -!- kstenger(~karla@r179-24-187-110.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-06-27 16:35 -!- kstenger(~karla@r179-24-187-110.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-06-27 17:06 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-27 17:38 -!- bvillasanti(~bvillasan@138.117.21.154) has joined #tryton
2016-06-27 17:46 -!- faviod(~faviod@190.108.228.120) has joined #tryton
2016-06-27 18:54 -!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-27 18:57 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-06-27 19:29 -!- faviod_(~faviod@190.108.228.120) has joined #tryton
2016-06-27 20:19 -!- kstenger1(~karla@r186-50-23-161.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-06-27 20:48 -!- miknotauro(~miknotaur@187.207.59.241) has joined #tryton
2016-06-27 21:15 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2016-06-27 21:47 -!- nicoe(~nicoe@2a02:a03f:302d:1400:ee55:f9ff:fe7b:f7ac) has joined #tryton
2016-06-27 21:47 -!- yangoon_rm(~mathiasb@137.158.23.34) has joined #tryton
2016-06-27 22:30 -!- yangoon_rm(~mathiasb@137.158.23.34) has joined #tryton
2016-06-27 23:08 -!- faviod(~faviod@190.108.228.120) has joined #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!