IRC logs of #tryton for Sunday, 2016-02-21

chat.freenode.net #tryton log beginning Sun Feb 21 00:00:02 CET 2016
2016-02-21 00:46 -!- fsanchez(~fsanchez@2001:1388:1444:9e0a:21f:d0ff:fe0e:b827) has joined #tryton
2016-02-21 02:49 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-02-21 04:02 -!- kstenger1(~karla@r179-24-186-200.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-02-21 07:40 -!- frispete_(~frispete@p54A90C55.dip0.t-ipconnect.de) has joined #tryton
2016-02-21 09:39 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-02-21 11:25 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-02-21 13:11 <aroncero> Hi, I have two databases in the same server with the same code
2016-02-21 13:12 <aroncero> one of them is new ant the other is upgraded from a previous version
2016-02-21 13:12 <aroncero> it his line: talks = super(HelpdeskTalk, cls).create(vlist)
2016-02-21 13:13 <aroncero> vlist is identical value in both versions
2016-02-21 13:14 <aroncero> but in the upgraded one, fails
2016-02-21 13:41 <aroncero> the error is in trytond/protocols/dispatcher.py:162
2016-02-21 13:41 <aroncero> result = rpc.result(meth(*c_args, **c_kwargs))
2016-02-21 13:42 <aroncero> *c_args -> [[Pool().get('helpdesk')(6)], {'talks': [['create', [{'message': 'fsadfasdf', 'email': u''}]]]}]
2016-02-21 13:42 <aroncero> when it works
2016-02-21 13:42 <aroncero> and
2016-02-21 13:42 <aroncero> *c_args -> [[Pool().get('helpdesk')(202)], {'talks': [['create', [{'message': 'asdfasdfasdf', 'email': u''}]]]}]
2016-02-21 13:42 <aroncero> when fails
2016-02-21 13:42 <aroncero> any ideas?
2016-02-21 16:05 -!- kstenger(~karla@r179-24-188-149.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-02-21 16:19 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-02-21 17:20 -!- bechamel(~Adium@host-149-154-211-53.dynamic.voo.be) has joined #tryton
2016-02-21 17:42 <aroncero> I have no idea what is happened.... any suggestion?
2016-02-21 19:01 -!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton
2016-02-21 19:18 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-02-21 20:11 <aroncero> Hi, I am trying to modify a v3.4 trigger condition to 3.8
2016-02-21 20:12 <aroncero> but i can't, always received "incorrect PYSON expresion"
2016-02-21 20:12 <aroncero> where can i find an example?
2016-02-21 20:14 <aroncero> I tried Eval('self', {}).get('name') == 'Bar') from trigger tests but fails too
2016-02-21 20:28 <cedk> aroncero: there is an extra ending parenthesis
2016-02-21 20:30 <aroncero> cedk: thank, is it correct? IN(Eval('self', {}).get('name'), ['Bar','Foo'])
2016-02-21 20:30 <cedk> aroncero: it seems
2016-02-21 20:32 <aroncero> cedk, I'm trying to understand but I don't find too much doc
2016-02-21 20:34 <cedk> aroncero: http://doc.tryton.org/3.8/trytond/doc/topics/pyson.html#topics-pyson
2016-02-21 20:39 <aroncero> cedk: thanks I read it but I am confused in some aspects... :D
2016-02-21 21:04 <aroncero> can a bad trigger condition generate this error: ProgrammingError: relation "ir_module_module" does not exist ??
2016-02-21 21:07 <cedk> aroncero: no but I guess you still have trytond/ir/module directory with __init__.pyc
2016-02-21 21:08 <cedk> aroncero: it was removed but if you updated not cleanly it prevents to import trytond/ir/module.py
2016-02-21 21:12 <aroncero> cedk: I don't have trytond/ir/module directory
2016-02-21 21:18 <aroncero> cedk:just in case, I delete all pyc files with "find /opt/tryton -iname *.pyc -exec rm -rf {} \;"
2016-02-21 21:31 <aroncero> cedk: never mind, it is an error in electronic_mail_template
2016-02-21 23:17 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-02-21 23:57 -!- smarro(~sebastian@181.16.7.104) has joined #tryton

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