IRC logs of #tryton for Wednesday, 2017-11-15

chat.freenode.net #tryton log beginning Wed Nov 15 00:00:01 CET 2017
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:10
-!- robinak(~quassel@unaffilated/robink) has joined #tryton00:55
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:38
-!- thaneor(~ldlc6@179.26.115.193) has joined #tryton02:21
-!- csotelo(~csotelo@2001:1388:49c6:e38e:5909:367d:2c75:981e) has joined #tryton02:25
-!- robink(~quassel@unaffilated/robink) has joined #tryton04:44
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton07:47
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton08:27
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton08:38
-!- rpit(~rpit@p200300C88BD1190056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton08:43
-!- catonano(~user@151.50.143.241) has joined #tryton08:44
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:50
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:56
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton09:01
-!- xcodinas(~xcodinas@134.ip-5-196-28.eu) has joined #tryton09:06
-!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton09:06
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:20
-!- rpit(~rpit@p200300C88BD1190056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton09:26
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton09:42
-!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton10:01
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton10:05
-!- thaneor(~ldlc6@179.26.115.193) has joined #tryton10:24
-!- meigallodixital(~gonzalo@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton11:21
sisalphello, FireFox 57 changes extension way. Is Tryton Timesheet application still compatible ?11:36
cedksisalp: it should, have you issue?11:36
sisalpcedk: I've not tried FF57 yet, just worrying. Is timesheet application an extension ?12:03
pokolisisalp: it's listed as extension on firefox addons: https://addons.mozilla.org/en-US/firefox/addon/tryton-chronos/12:25
pokolisisalp: do you know what are the changes in firefox?12:25
pokoliI mean the ones related to extension way12:25
semariepokoli: the new system is just incompatible with old one12:25
semarieffx 57 is the first release with old system disabled12:26
semariefor me, chronos uses webextension (the new system), so it should be ok12:26
semarieand addons.mozilla.org think same: "Compatible with Firefox 57+"12:28
pokolisemarie: thanks for the clarifications :)12:29
-!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton13:31
-!- catonano(~user@151.50.143.241) has joined #tryton13:35
-!- JanGB(~jan@nat3.hmt-leipzig.de) has joined #tryton14:04
-!- thaneor(~ldlc6@179.26.115.193) has joined #tryton14:14
semariehow to run a scenario (rst file) ? I would like to manually test some cases14:22
-!- thaneor1(~ldlc6@179.26.109.118) has joined #tryton14:23
pokolisemarie: python -m doctest tests/scenario.rst14:24
pokolisemarie: you should set DB_NAME environment variable to the database you want to create14:25
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton14:27
semarieand TRYTOND_DATABASE_URI for the database if I want it to use postgresql I assume ?14:28
semarieI will check that. thanks pokoli14:28
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton14:36
-!- smarro(~sebastian@2800:af0:1028:2dc::4) has joined #tryton14:38
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton14:40
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton14:51
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton14:55
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton14:56
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has left #tryton15:26
pokolisemarie: yes, you should set the database URI to15:38
pokolisemarie: or you can use TRYTOND_CONFIG to point to the configuration file where the URI is defined15:38
semarieI saw that. it works well :) thanks again15:39
pokoliyou're welcome15:43
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton16:05
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton16:06
-!- afibanez(501c77aa@gateway/web/cgi-irc/kiwiirc.com/ip.80.28.119.170) has joined #tryton17:06
afibanezHi all! I'm updating from 4.0 and I have a doubt... In the language code changes, why es_ES is now es, fr_FR is now fr, but it_IT stills it_IT?17:09
cedkafibanez: more generic17:12
afibanezyes, i'm agree with more generic locales, but why italian didn't chage?17:13
afibanezchange*17:13
cedkafibanez: it will be good to change it also17:17
afibanezcedk: ok, so the changes will be in some steps and some day it_IT will be it?17:21
cedkafibanez: yes if someone do the work17:23
-!- rpit(~rpit@p200300C88BD1190056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton18:04
-!- smarro(~sebastian@2800:af0:1028:2dc::4) has joined #tryton18:05
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton18:30
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has left #tryton18:30
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton18:56
-!- smarro(~sebastian@2800:af0:1028:2dc::4) has joined #tryton18:57
-!- cbrz(~zdenek@d172-219-182-116.abhsia.telus.net) has joined #tryton19:22
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:42
-!- mariomop(~quassel@181.110.77.43) has joined #tryton20:26
-!- cbrz(~zdenek@d172-219-182-116.abhsia.telus.net) has joined #tryton20:36
cbrzI'm getting "TypeError: cannot marshal <class 'collections.defaultdict'> objects" on my Tryton server when using proteus with XMLRPC20:38
cbrzNot sure if it is a bug. It was happening when I tried to attach a tax to invoice lines I was importing.20:39
cbrzI've removed that from my Proteus script and instead set my product to have a default tax using the Tryton client.20:40
cbrzThought this would fix the problem, but when I run my updated script without the lines to append a tax, I still get the error.20:40
cbrzHelp?20:40
cedkcbrz: can use defaultdict for value that going through RPC20:47
cbrzcedk: hmm.. I don't understand. Is it a problem with my Proteus script?20:47
cedkcbrz: I do not think. I guess your change to set default tax is probably using a defaultdict20:59
cbrzI get the same error if I import invoice with lines and attach a single tax to each line.21:00
cbrzIf I add the tax in the Proteus script or use a product with a default tax, the Proteus script causes the defaultdict error on the server.21:01
cbrzShould I complete a bug report?21:01
cedkcbrz: be more precise about the request21:10
cedkcbrz: and also ensure you are running unmodified source code and with only standard module21:10
cbrzof course. The code is pure 4.6.0. no modifications except my Proteus script. All modules are standard.21:11
cbrzI'll create a bug report.21:11
cbrzIs that OK?21:12
cedkcbrz: what request are you doing?21:12
cbrzIn the Proteus script?21:15
cbrzThe section of code in my Proteus script that causes the error is:21:18
cbrzAccount_Tax = Model.get('account.tax')21:18
cbrz(account_tax,) = Account_Tax.find(['name', '=', row['line_tax']])21:18
cbrzinvoice_line.taxes.append(account_tax)21:18
cbrzWhen the append method is called, the trytond server logs the error about not being able to marshal the defaultdict.21:19
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:00
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton22:11
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton22:33
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton22:50

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