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 #tryton00:09
-!- thaneor1(~lenovo3@r179-25-71-190.dialup.adsl.anteldata.net.uy) has joined #tryton01:16
-!- yangoon1(~mathiasb@80-78-142-46.pool.kielnet.net) has joined #tryton03:59
-!- udono1(~udono@064-142-067-156.ip-addr.inexio.net) has joined #tryton06:45
-!- rpit(~rpit@p200300C88F34F90020C3BB45A27B56D0.dip0.t-ipconnect.de) has joined #tryton07:28
-!- lukio(~lukio@host202.201-252-221.telecom.net.ar) has joined #tryton07:39
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton07:44
-!- lukio(~lukio@host202.201-252-221.telecom.net.ar) has joined #tryton07:50
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:57
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton08:00
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:03
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton08:06
-!- nlopez73(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton08:36
smorilloi have a problem with this issue: https://bugs.tryton.org/issue612809:13
smorilloconstraintsin postgresql are given an UnicodeDecodeError exception09:14
smorillodatabase configuration is: encoding=UTF-8, collate=es_ES.UTF-8 and ctype=es_ES.UTF-809:16
smorillopython 2.7, trytond 4.809:18
smorilloi tried to change collation to avoid accents but it has no effect.09:19
smorilloany idea?09:19
-!- udono(~udono@064-142-067-156.ip-addr.inexio.net) has joined #tryton09:48
cedksmorillo: what is the traceback?10:13
cedksmorillo: and which version of psycopg2cffi?10:13
smorillocedk: the trace: https://pastebin.com/g9DBzEmg10:15
smorillocedk: sorry, it was incomplete. Here is a new link: https://pastebin.com/HkwEiYzm10:18
smorillocedk: i have no psycopg2cffi but psycopg210:20
smorillopsycopg2 2.7.510:21
-!- nlopez73(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton10:21
cedksmorillo: looks like a psycopg2 bug10:21
cedksmorillo: but you should check which part of the statement is raising the error10:22
smorillocedk: this trace comes from the check constraint in stock.move to not allow same from_location and to_location10:23
smorillocedk: but it happens with any constraint that contains accents in spanish10:24
smorillocedk: may i use "psycopg2cffi" instead of "psycopg2"?10:25
cedksmorillo: I think psycopg2cffi is worst on this point10:32
cedksmorillo: for me, it is a bug in psycopg2, the unicode call should not fail on psycopg2 exception10:33
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton10:50
-!- mariomop(~quassel@host58.190-138-100.telecom.net.ar) has joined #tryton11:00
smorillocedk: I have changed postgresql.conf file with lc_message='en_US.UTF-8' and now works11:11
smorillocedk: thanks a lot!11:12
-!- lukio(~lukio@190.191.95.243) has joined #tryton11:12
cedksmorillo: I still think there is a bug in psycopg2, their exception should not fail11:14
cedksmorillo: please report it to them11:15
smorillocedk: the error is doing "unicode(exception)" in modelsql.py. Do you mean exception is not well formatted?11:20
cedksmorillo: this exception comes from psycopg2 and it should never fail11:23
smorillocedk: oks11:59
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton12:08
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton12:34
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton12:36
-!- thaneor(~lenovo3@r179-25-71-190.dialup.adsl.anteldata.net.uy) has joined #tryton12:38
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton12:45
-!- lukio(~lukio@190.191.95.243) has joined #tryton12:55
-!- lukio(~lukio@190.191.95.243) has joined #tryton13:06
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton13:10
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton13:11
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton13:17
-!- smorillo(bc5588c1@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.136.193) has joined #tryton13:21
-!- sanqui_(~sanqui@unaffiliated/sanky) has joined #tryton14:48
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton14:50
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton15:00
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton15:28
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton16:38
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton16:41
-!- lukio(~lukio@host202.201-252-221.telecom.net.ar) has joined #tryton16:42
-!- lucascastro(~lucascast@200.141.207.18) has joined #tryton17:29
-!- udono1(~udono@064-142-067-156.ip-addr.inexio.net) has joined #tryton17:43
-!- lukio(~lukio@host202.201-252-221.telecom.net.ar) has joined #tryton18:58
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton20:18
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton21:00
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:03

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