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

chat.freenode.net #tryton log beginning Mon Jul 10 00:00:01 CEST 2017
-!- smarro(~sebastian@181.16.7.104) has joined #tryton00:36
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton00:59
-!- apostatize(visavis@gateway/vpn/mullvad/x-bwfirzcievnoavko) has joined #tryton02:37
-!- thaneor(~ldlc6@179.26.123.107) has joined #tryton03:11
-!- pyface(~pyface@about/security/contributor/pyface) has joined #tryton03:12
-!- smarro(~sebastian@181.16.7.104) has joined #tryton05:21
-!- orphean(~Orphean@31.192.224.224) has joined #tryton06:35
-!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton07:33
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton07:48
-!- jim__(caa0a042@gateway/web/freenode/ip.202.160.160.66) has joined #tryton08:01
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.208:02
jim__by this error , I am losing some data , which may lead to invisible some data08:05
-!- dmollerm(~dmollerm@170.red-80-28-119.staticip.rima-tde.net) has joined #tryton08:26
jim__here https://bugs.tryton.org/issue5741 , this is expected08:40
jim__then how can I solve this?08:40
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:50
pokolijim__: is this error on the logs or raise to the user application?09:18
LordVanmorning09:21
pokoliLordVan: morning09:21
-!- Lordvan_(~LordVan@gentoo/developer/LordVan) has joined #tryton09:33
-!- LV(~LordVan@gentoo/developer/LordVan) has joined #tryton09:35
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton09:37
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:56
-!- sharkcz(~sharkcz@72.155.broadband6.iol.cz) has joined #tryton10:05
-!- udono(~udono@078-058-210-188.ip-addr.inexio.net) has joined #tryton10:43
jim__pokoli: I am calling API manually from API tool11:04
pokoli jim__: which API tool and which api?11:11
pokolijim__: can you clarify?11:11
-!- csotelo(~csotelo@2001:1388:49c7:32d5:c390:e3f4:bf8f:a93a) has joined #tryton12:10
-!- smarro(~sebastian@181.16.7.104) has joined #tryton12:33
jim__pokoli: I am using postman for API request.   I am trying to fetch opportunity modules12:44
pokolijim__: which api call do you get the error?12:46
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.12:50
pokolijim__: can you post the full traceback of the error message?12:51
pokolijim__: writing on ir.session too?12:52
pokolijim__: when this error ocurs trytond will normally retry and it will suceed on the second try12:52
pokolijim__: are you autenticating on each api call?12:53
jim__yes, I added authrization header in each request12:53
jim__traceback is here: https://pastebin.com/Laa1Z0aD12:54
pokolijim__: that's a diferent traceback12:59
pokolijim__: the problem is with res.user table which is locked because on every login the last_login_date is saved13:00
pokolijim__: have you modified the sources? I can not see this code on the trytond repository13:01
jim__pokoli: what is solution for this?  Can I solve this from my side or needs work around on server side?13:02
jim__I don't know about source modification13:02
pokolijim__: the problem is on trytond server side13:03
-!- yangoon(~mathiasb@p5DFE034F.dip0.t-ipconnect.de) has joined #tryton13:03
pokolijim__: 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 transaction13:03
jim__pokoli: what should be workaround on server side?13:06
pokolijim__: for me, don't set the last login date on the user13:08
-!- mariomop(~quassel@181.88.210.249) has joined #tryton13:08
cedkjim__: the solution is to use an unmodified version of trytond13:33
jim__pokoli, cedk : Thank a lot for your answer!13:51
-!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton13:57
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton14:07
-!- saxa(~sasa@2-234-206-126.ip224.fastwebnet.it) has left #tryton14:18
-!- smarro(~sebastian@181.16.7.104) has joined #tryton15:11
-!- thaneor(~ldlc6@r179-25-96-198.dialup.adsl.anteldata.net.uy) has joined #tryton15:15
-!- kstenger(~karla@r186-50-61-106.dialup.adsl.anteldata.net.uy) has joined #tryton16:08
-!- sisalp(~sisalpuse@ip39.ip-46-105-32.eu) has joined #tryton16:33
-!- kstenger1(~karla@r186-55-76-1.dialup.adsl.anteldata.net.uy) has joined #tryton17:06
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton17:39
andrespolitihello! i configured the trytond server to run on https. Sao works well, but the desktop client can't connect to the server17:40
andrespolitiis there any configuration i have to do to make the desktop client work with https?17:40
-!- smarro(~sebastian@181.16.7.104) has joined #tryton17:41
pokoliandrespoliti: you should delete your host from the know_hosts configuration file to make the client check if ssl is avaialable17:47
pokoliandrespoliti: see  http://doc.tryton.org/4.4/tryton/doc/usage.html#configuration-file17:47
andrespolitipokoli: awesome, i deleted the known_hosts file and it worked17:48
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton18:39
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:49
-!- LEI(~yaaic@80.12.38.184) has joined #tryton19:09
-!- LEI(~yaaic@unaffiliated/lei) has joined #tryton19:09
-!- LEI(~yaaic@unaffiliated/lei) has joined #tryton19:12
-!- LEI(~yaaic@80.12.38.184) has joined #tryton19:14
-!- LEI(~yaaic@unaffiliated/lei) has joined #tryton19:14
-!- scrapper(~scrapper@mail.alpmine.com) has left #tryton19:56
-!- apostatize(visavis@gateway/vpn/mullvad/x-rzkwalpvdwnwigqy) has joined #tryton20:28
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton21:02
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton21:02
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton21:03
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton21:03
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton21:30
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:31
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:58

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