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

chat.freenode.net #tryton log beginning Mon Jul 10 00:00:01 CEST 2017
2017-07-10 00:36 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-07-10 00:59 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-07-10 02:37 -!- apostatize(visavis@gateway/vpn/mullvad/x-bwfirzcievnoavko) has joined #tryton
2017-07-10 03:11 -!- thaneor(~ldlc6@179.26.123.107) has joined #tryton
2017-07-10 03:12 -!- pyface(~pyface@about/security/contributor/pyface) has joined #tryton
2017-07-10 05:21 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-07-10 06:35 -!- orphean(~Orphean@31.192.224.224) has joined #tryton
2017-07-10 07:33 -!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton
2017-07-10 07:48 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-07-10 08:01 -!- jim__(caa0a042@gateway/web/freenode/ip.202.160.160.66) has joined #tryton
2017-07-10 08:02 <jim__> hello, I am getting "could not serialize access due to concurrent update" error frequently with tryton 4.0, while it was working well till tryton 3.2
2017-07-10 08:05 <jim__> by this error , I am losing some data , which may lead to invisible some data
2017-07-10 08:26 -!- dmollerm(~dmollerm@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton
2017-07-10 08:40 <jim__> here https://bugs.tryton.org/issue5741 , this is expected
2017-07-10 08:40 <jim__> then how can I solve this?
2017-07-10 08:50 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-07-10 09:18 <pokoli> jim__: is this error on the logs or raise to the user application?
2017-07-10 09:21 <LordVan> morning
2017-07-10 09:21 <pokoli> LordVan: morning
2017-07-10 09:33 -!- Lordvan_(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-07-10 09:35 -!- LV(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-07-10 09:37 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-07-10 09:56 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-07-10 10:05 -!- sharkcz(~sharkcz@72.155.broadband6.iol.cz) has joined #tryton
2017-07-10 10:43 -!- udono(~udono@078-058-210-188.ip-addr.inexio.net) has joined #tryton
2017-07-10 11:04 <jim__> pokoli: I am calling API manually from API tool
2017-07-10 11:11 <pokoli> jim__: which API tool and which api?
2017-07-10 11:11 <pokoli> jim__: can you clarify?
2017-07-10 12:10 -!- csotelo(~csotelo@2001:1388:49c7:32d5:c390:e3f4:bf8f:a93a) has joined #tryton
2017-07-10 12:33 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-07-10 12:44 <jim__> pokoli: I am using postman for API request. I am trying to fetch opportunity modules
2017-07-10 12:46 <pokoli> jim__: which api call do you get the error?
2017-07-10 12:50 <jim__> pokoli: it is not the same api all the time, it causes for random , I am calling model.sale.opportunity.search_read,model.account.invoice.payment_term.search_read,model.company.employee.search_read,etc.
2017-07-10 12:51 <pokoli> jim__: can you post the full traceback of the error message?
2017-07-10 12:52 <pokoli> jim__: writing on ir.session too?
2017-07-10 12:52 <pokoli> jim__: when this error ocurs trytond will normally retry and it will suceed on the second try
2017-07-10 12:53 <pokoli> jim__: are you autenticating on each api call?
2017-07-10 12:53 <jim__> yes, I added authrization header in each request
2017-07-10 12:54 <jim__> traceback is here: https://pastebin.com/Laa1Z0aD
2017-07-10 12:59 <pokoli> jim__: that's a diferent traceback
2017-07-10 13:00 <pokoli> jim__: the problem is with res.user table which is locked because on every login the last_login_date is saved
2017-07-10 13:01 <pokoli> jim__: have you modified the sources? I can not see this code on the trytond repository
2017-07-10 13:02 <jim__> pokoli: what is solution for this? Can I solve this from my side or needs work around on server side?
2017-07-10 13:02 <jim__> I don't know about source modification
2017-07-10 13:03 <pokoli> jim__: the problem is on trytond server side
2017-07-10 13:03 -!- yangoon(~mathiasb@p5DFE034F.dip0.t-ipconnect.de) has joined #tryton
2017-07-10 13:03 <pokoli> jim__: that's a lock on the database, because multiple calls are trying to access the user table which is locked by the write of another transaction
2017-07-10 13:06 <jim__> pokoli: what should be workaround on server side?
2017-07-10 13:08 <pokoli> jim__: for me, don't set the last login date on the user
2017-07-10 13:08 -!- mariomop(~quassel@181.88.210.249) has joined #tryton
2017-07-10 13:33 <cedk> jim__: the solution is to use an unmodified version of trytond
2017-07-10 13:51 <jim__> pokoli, cedk : Thank a lot for your answer!
2017-07-10 13:57 -!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton
2017-07-10 14:07 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-07-10 14:18 -!- saxa(~sasa@2-234-206-126.ip224.fastwebnet.it) has left #tryton
2017-07-10 15:11 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-07-10 15:15 -!- thaneor(~ldlc6@r179-25-96-198.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-10 16:08 -!- kstenger(~karla@r186-50-61-106.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-10 16:33 -!- sisalp(~sisalpuse@ip39.ip-46-105-32.eu) has joined #tryton
2017-07-10 17:06 -!- kstenger1(~karla@r186-55-76-1.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-10 17:39 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2017-07-10 17:40 <andrespoliti> hello! i configured the trytond server to run on https. Sao works well, but the desktop client can't connect to the server
2017-07-10 17:40 <andrespoliti> is there any configuration i have to do to make the desktop client work with https?
2017-07-10 17:41 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-07-10 17:47 <pokoli> andrespoliti: you should delete your host from the know_hosts configuration file to make the client check if ssl is avaialable
2017-07-10 17:47 <pokoli> andrespoliti: see http://doc.tryton.org/4.4/tryton/doc/usage.html#configuration-file
2017-07-10 17:48 <andrespoliti> pokoli: awesome, i deleted the known_hosts file and it worked
2017-07-10 18:39 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-07-10 18:49 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-07-10 19:09 -!- LEI(~yaaic@80.12.38.184) has joined #tryton
2017-07-10 19:09 -!- LEI(~yaaic@unaffiliated/lei) has joined #tryton
2017-07-10 19:12 -!- LEI(~yaaic@unaffiliated/lei) has joined #tryton
2017-07-10 19:14 -!- LEI(~yaaic@80.12.38.184) has joined #tryton
2017-07-10 19:14 -!- LEI(~yaaic@unaffiliated/lei) has joined #tryton
2017-07-10 19:56 -!- scrapper(~scrapper@mail.alpmine.com) has left #tryton
2017-07-10 20:28 -!- apostatize(visavis@gateway/vpn/mullvad/x-rzkwalpvdwnwigqy) has joined #tryton
2017-07-10 21:02 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-07-10 21:02 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-07-10 21:03 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-07-10 21:03 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-07-10 21:30 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-07-10 22:01 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-07-10 23:31 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-07-10 23:58 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton

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