IRC logs of #tryton for Tuesday, 2018-10-30

chat.freenode.net #tryton log beginning Tue Oct 30 00:00:01 CET 2018
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:10
-!- thaneor1(~lenovo3@r179-25-71-190.dialup.adsl.anteldata.net.uy) has joined #tryton02:10
-!- yangoon1(~mathiasb@80-78-142-46.pool.kielnet.net) has joined #tryton04:10
-!- udono1(~udono@064-142-067-156.ip-addr.inexio.net) has joined #tryton07:10
-!- rpit(~rpit@p200300C88F34F90020C3BB45A27B56D0.dip0.t-ipconnect.de) has joined #tryton08:10
-!- lukio(~lukio@host202.201-252-221.telecom.net.ar) has joined #tryton08:10
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton08:10
-!- lukio(~lukio@host202.201-252-221.telecom.net.ar) has joined #tryton08:10
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:10
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton09:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:10
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton09:10
-!- nlopez73(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton09:10
smorilloi have a problem with this issue: https://bugs.tryton.org/issue612810:10
smorilloconstraintsin postgresql are given an UnicodeDecodeError exception10:10
smorillodatabase configuration is: encoding=UTF-8, collate=es_ES.UTF-8 and ctype=es_ES.UTF-810:10
smorillopython 2.7, trytond 4.810:10
smorilloi tried to change collation to avoid accents but it has no effect.10:10
smorilloany idea?10:10
-!- udono(~udono@064-142-067-156.ip-addr.inexio.net) has joined #tryton10:10
cedksmorillo: what is the traceback?11:10
cedksmorillo: and which version of psycopg2cffi?11:10
smorillocedk: the trace: https://pastebin.com/g9DBzEmg11:10
smorillocedk: sorry, it was incomplete. Here is a new link: https://pastebin.com/HkwEiYzm11:10
smorillocedk: i have no psycopg2cffi but psycopg211:10
smorillopsycopg2 2.7.511:10
-!- nlopez73(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton11:10
cedksmorillo: looks like a psycopg2 bug11:10
cedksmorillo: but you should check which part of the statement is raising the error11:10
smorillocedk: this trace comes from the check constraint in stock.move to not allow same from_location and to_location11:10
smorillocedk: but it happens with any constraint that contains accents in spanish11:10
smorillocedk: may i use "psycopg2cffi" instead of "psycopg2"?11:10
cedksmorillo: I think psycopg2cffi is worst on this point11:10
cedksmorillo: for me, it is a bug in psycopg2, the unicode call should not fail on psycopg2 exception11:10
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton11:10
-!- mariomop(~quassel@host58.190-138-100.telecom.net.ar) has joined #tryton12:10
smorillocedk: I have changed postgresql.conf file with lc_message='en_US.UTF-8' and now works12:10
smorillocedk: thanks a lot!12:10
-!- lukio(~lukio@190.191.95.243) has joined #tryton12:10
cedksmorillo: I still think there is a bug in psycopg2, their exception should not fail12:10
cedksmorillo: please report it to them12:10
smorillocedk: the error is doing "unicode(exception)" in modelsql.py. Do you mean exception is not well formatted?12:10
cedksmorillo: this exception comes from psycopg2 and it should never fail12:10
smorillocedk: oks12:10
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton13:10
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton13:10
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton13:10
-!- thaneor(~lenovo3@r179-25-71-190.dialup.adsl.anteldata.net.uy) has joined #tryton13:10
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton13:10
-!- lukio(~lukio@190.191.95.243) has joined #tryton13:10
-!- lukio(~lukio@190.191.95.243) has joined #tryton14:10
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton14:10
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton14:10
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton14:10
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton14:10
-!- sanqui_(~sanqui@unaffiliated/sanky) has joined #tryton15:10
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton15:10
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton16:10
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton16:10
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton17:10
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton17:10
-!- lukio(~lukio@host202.201-252-221.telecom.net.ar) has joined #tryton17:10
-!- lucascastro(~lucascast@200.141.207.18) has joined #tryton18:10
-!- udono1(~udono@064-142-067-156.ip-addr.inexio.net) has joined #tryton18:10
-!- lukio(~lukio@host202.201-252-221.telecom.net.ar) has joined #tryton19:10
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton21:10
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:10

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