IRC logs of #tryton for Monday, 2017-07-17

chat.freenode.net #tryton log beginning Mon Jul 17 00:00:01 CEST 2017
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:40
-!- yangoon1(~mathiasb@p5DFF6A1A.dip0.t-ipconnect.de) has joined #tryton00:53
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton01:07
-!- kstenger(~karla@r186-48-245-233.dialup.adsl.anteldata.net.uy) has joined #tryton01:32
-!- csotelo(~csotelo@2001:1388:49c6:cd58:4953:eb3a:4720:5fed) has joined #tryton01:51
-!- orphean_(~Orphean@31.192.224.224) has joined #tryton02:57
-!- thaneor(~ldlc6@179.26.25.238) has joined #tryton03:44
-!- rpit(~rpit@aftr-37-24-146-97.unity-media.net) has joined #tryton07:20
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:37
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton08:18
-!- dmollerm(~dmollerm@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton08:18
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:53
-!- JanGB(~jan@x59cc8a34.dyn.telefonica.de) has joined #tryton09:24
dmollermGood morning. Sometimes I change a record definition in an xml but an update won't sync it. Is there a known diagnostic for this? I couldn't find an issue about this on bugs.tryton.org. Where is the code that should update the records so I can debug it?09:27
cedkdmollerm: what changes?09:30
dmollermOn the value of a field09:31
pokolidmollerm: you remove the field value from the xml definition?09:32
cedkdmollerm: but what value of which field?09:33
dmollermIt's a model of another module but its not part of the core trytond modules. The field contains an html blob, escaped with CDATA, but changes on other fields of the record won't be synced either09:42
-!- JanGB(~jan@x59cc8a34.dyn.telefonica.de) has joined #tryton09:45
pokolidmollerm: can you post the related xml code? and what changes are you doing to it?09:51
cedkI do not see why CDATA would not behave like other in convert.py10:02
cedkdmollerm: is not there a warning on the database update?10:02
dmollermnope, 0 warnings. I'll try to debug convert.py. Obviously this can't be due to CDATA, because the insert works and an update won't work on any other field.10:11
cedkdmollerm: maybe the value is rewrotten later in another XML file10:38
dmollermNo chance, I just wrote the record last week. I already found it wasn't being synced while developing, but now that the record exists in production this is a true problem. I'll debug it and tell you if I find something interesting. Thanks for the hint about convert.py10:43
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton10:52
-!- csotelo(~csotelo@2001:1388:49c7:3e7:acb8:cfdc:234e:4a65) has joined #tryton11:20
-!- orphean(~Orphean@31.192.224.224) has joined #tryton11:21
jcmhi, I read on https://docs.python.org/2.7/howto/doanddont.html that 'import *' should not be used; but I see this construction in every __init__.py. Why do you use it?11:29
jcmmaybe you're in the last case: When the module advertises itself as from import * safe.11:29
pokolijcm: see https://groups.google.com/d/msg/tryton-dev/t3f0wzQu4Mw/402fdspyBwAJ11:31
jcmpokoli: thks11:53
-!- mariomop(~quassel@181.94.15.241) has joined #tryton13:08
-!- csotelo(~csotelo@2001:1388:49c7:3e7:acb8:cfdc:234e:4a65) has joined #tryton13:11
-!- JanGB(~jan@x59cc8a34.dyn.telefonica.de) has joined #tryton13:56
jcmfor local dev, should I run 'python setup.py install' in proteus and in trytond dirs? I didn't, maybe that's why I have errors depending from what directory I run commands14:46
jcmI installed via mercurial14:47
jcmand proteus and trytond are in my PYTHONPATH14:50
-!- smarro(~sebastian@181.16.7.104) has joined #tryton14:56
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton14:59
pokolijcm: if you have them on PYTHON Path everything should work as expected.15:07
pokolijcm: i usually run 'python setup.py develop' on both modules, but make sure to install trytond first, as proteus depends on it15:07
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton15:08
-!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton15:18
-!- thaneor1(~ldlc6@r179-25-53-100.dialup.adsl.anteldata.net.uy) has joined #tryton15:46
-!- kstenger(~karla@r186-48-35-152.dialup.adsl.anteldata.net.uy) has joined #tryton16:43
-!- nicoe(~nicoe@148.48-66-87.adsl-dyn.isp.belgacom.be) has joined #tryton18:48
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:09
-!- silwol(silwolmatr@gateway/shell/matrix.org/x-jlsscclusrbqmoco) has joined #tryton19:19
-!- fmorato[m](fmoratomat@gateway/shell/matrix.org/x-lflyrmjcdslykfjw) has joined #tryton19:59
-!- scrapper(~scrapper@88.117.159.6) has joined #tryton20:01
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton20:20
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton20:30
-!- JosDzG(~Thunderbi@189.250.44.48) has joined #tryton21:01
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton21:16
-!- smarro(~sebastian@181.16.7.104) has joined #tryton21:19
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton21:20
-!- JosDzGx(~Thunderbi@189.250.44.48) has joined #tryton21:33
-!- JosDzG(~Thunderbi@189.250.44.48) has joined #tryton21:38
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:00
-!- JosDzG(~Thunderbi@189.250.44.48) has joined #tryton22:28

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!