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

chat.freenode.net #tryton log beginning Mon Jul 17 00:00:01 CEST 2017
2017-07-17 00:40 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-07-17 00:53 -!- yangoon1(~mathiasb@p5DFF6A1A.dip0.t-ipconnect.de) has joined #tryton
2017-07-17 01:07 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-07-17 01:32 -!- kstenger(~karla@r186-48-245-233.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-17 01:51 -!- csotelo(~csotelo@2001:1388:49c6:cd58:4953:eb3a:4720:5fed) has joined #tryton
2017-07-17 02:57 -!- orphean_(~Orphean@31.192.224.224) has joined #tryton
2017-07-17 03:44 -!- thaneor(~ldlc6@179.26.25.238) has joined #tryton
2017-07-17 07:20 -!- rpit(~rpit@aftr-37-24-146-97.unity-media.net) has joined #tryton
2017-07-17 07:37 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-07-17 08:18 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2017-07-17 08:18 -!- dmollerm(~dmollerm@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton
2017-07-17 08:53 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-07-17 09:24 -!- JanGB(~jan@x59cc8a34.dyn.telefonica.de) has joined #tryton
2017-07-17 09:27 <dmollerm> Good 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?
2017-07-17 09:30 <cedk> dmollerm: what changes?
2017-07-17 09:31 <dmollerm> On the value of a field
2017-07-17 09:32 <pokoli> dmollerm: you remove the field value from the xml definition?
2017-07-17 09:33 <cedk> dmollerm: but what value of which field?
2017-07-17 09:42 <dmollerm> It'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 either
2017-07-17 09:45 -!- JanGB(~jan@x59cc8a34.dyn.telefonica.de) has joined #tryton
2017-07-17 09:51 <pokoli> dmollerm: can you post the related xml code? and what changes are you doing to it?
2017-07-17 10:02 <cedk> I do not see why CDATA would not behave like other in convert.py
2017-07-17 10:02 <cedk> dmollerm: is not there a warning on the database update?
2017-07-17 10:11 <dmollerm> nope, 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.
2017-07-17 10:38 <cedk> dmollerm: maybe the value is rewrotten later in another XML file
2017-07-17 10:43 <dmollerm> No 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.py
2017-07-17 10:52 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-07-17 11:20 -!- csotelo(~csotelo@2001:1388:49c7:3e7:acb8:cfdc:234e:4a65) has joined #tryton
2017-07-17 11:21 -!- orphean(~Orphean@31.192.224.224) has joined #tryton
2017-07-17 11:29 <jcm> hi, 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?
2017-07-17 11:29 <jcm> maybe you're in the last case: When the module advertises itself as from import * safe.
2017-07-17 11:31 <pokoli> jcm: see https://groups.google.com/d/msg/tryton-dev/t3f0wzQu4Mw/402fdspyBwAJ
2017-07-17 11:53 <jcm> pokoli: thks
2017-07-17 13:08 -!- mariomop(~quassel@181.94.15.241) has joined #tryton
2017-07-17 13:11 -!- csotelo(~csotelo@2001:1388:49c7:3e7:acb8:cfdc:234e:4a65) has joined #tryton
2017-07-17 13:56 -!- JanGB(~jan@x59cc8a34.dyn.telefonica.de) has joined #tryton
2017-07-17 14:46 <jcm> for 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 commands
2017-07-17 14:47 <jcm> I installed via mercurial
2017-07-17 14:50 <jcm> and proteus and trytond are in my PYTHONPATH
2017-07-17 14:56 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-07-17 14:59 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-07-17 15:07 <pokoli> jcm: if you have them on PYTHON Path everything should work as expected.
2017-07-17 15:07 <pokoli> jcm: i usually run 'python setup.py develop' on both modules, but make sure to install trytond first, as proteus depends on it
2017-07-17 15:08 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-07-17 15:18 -!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton
2017-07-17 15:46 -!- thaneor1(~ldlc6@r179-25-53-100.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-17 16:43 -!- kstenger(~karla@r186-48-35-152.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-17 18:48 -!- nicoe(~nicoe@148.48-66-87.adsl-dyn.isp.belgacom.be) has joined #tryton
2017-07-17 19:09 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-07-17 19:19 -!- silwol(silwolmatr@gateway/shell/matrix.org/x-jlsscclusrbqmoco) has joined #tryton
2017-07-17 19:59 -!- fmorato[m](fmoratomat@gateway/shell/matrix.org/x-lflyrmjcdslykfjw) has joined #tryton
2017-07-17 20:01 -!- scrapper(~scrapper@88.117.159.6) has joined #tryton
2017-07-17 20:20 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-07-17 20:30 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-07-17 21:01 -!- JosDzG(~Thunderbi@189.250.44.48) has joined #tryton
2017-07-17 21:16 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-07-17 21:19 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-07-17 21:20 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-07-17 21:33 -!- JosDzGx(~Thunderbi@189.250.44.48) has joined #tryton
2017-07-17 21:38 -!- JosDzG(~Thunderbi@189.250.44.48) has joined #tryton
2017-07-17 22:00 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-07-17 22:28 -!- JosDzG(~Thunderbi@189.250.44.48) has joined #tryton

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