TransactionRollbackError: ERROR: could not serialize access due to concurrent update
Whenever I open a menu item with sao 4.0 I get those concurrency issues:
~/bin/tryton/4.0/trytond$ bin/trytond -v --dev -c etc/trytond.conf
TransactionRollbackError: FEHLER:31509 140507267061504 [2016-07-23 12:41:15,033] INFO werkzeug ::1 - - [23/Jul/2016 12:41:15] "POST /test_sao_40/ HTTP/1.1" 200 -
31509 140507250276096 [2016-07-23 12:41:15,034] DEBUG trytond.protocols.dispatcher Reset session failed
Traceback (most recent call last):
File "/home/mathiasb/bin/tryton/4.0/trytond/trytond/protocols/dispatcher.py", line 229, in _dispatch
Session.reset(request.authorization.get('session'))
File "/home/mathiasb/bin/tryton/4.0/trytond/trytond/ir/session.py", line 68, in reset
cls.write(sessions, {})
File "/home/mathiasb/bin/tryton/4.0/trytond/trytond/model/modelsql.py", line 925, in write
where=red_sql))
TransactionRollbackError: FEHLER: kann Zugriff nicht serialisieren wegen gleichzeitiger Aktualisierung
31509 140507250276096 [2016-07-23 12:41:15,034] DEBUG trytond.protocols.dispatcher Result: {
[...]
31509 140507250276096 [2016-07-23 12:41:15,035] INFO werkzeug ::1 - - [23/Jul/2016 12:41:15] "POST /test_sao_40/ HTTP/1.1" 200 -
31509 140507250276096 [2016-07-23 12:41:15,059] INFO trytond.protocols.dispatcher _state'>.get(*
[...]
31509 140507250276096 [2016-07-23 12:41:15,075] DEBUG trytond.protocols.dispatcher Result: ('[]', '[]')
31509 140507250276096 [2016-07-23 12:41:15,076] INFO werkzeug ::1 - - [23/Jul/2016 12:41:15] "POST /test_sao_40/ HTTP/1.1" 200 -
31509 140507275454208 [2016-07-23 12:41:15,089] DEBUG trytond.protocols.dispatcher Result: 3
31509 140507275454208 [2016-07-23 12:41:15,090] INFO werkzeug ::1 - - [23/Jul/2016 12:41:15] "POST /test_sao_40/ HTTP/1.1" 200 -
31509 140507267061504 [2016-07-23 12:41:15,090] DEBUG trytond.protocols.dispatcher Reset session failed
Traceback (most recent call last):
File "/home/mathiasb/bin/tryton/4.0/trytond/trytond/protocols/dispatcher.py", line 229, in _dispatch
Session.reset(request.authorization.get('session'))
File "/home/mathiasb/bin/tryton/4.0/trytond/trytond/ir/session.py", line 68, in reset
cls.write(sessions, {})
File "/home/mathiasb/bin/tryton/4.0/trytond/trytond/model/modelsql.py", line 925, in write
where=red_sql))
TransactionRollbackError: FEHLER: kann Zugriff nicht serialisieren wegen gleichzeitiger Aktualisierung