Error: Expecting value: line 1 column 2 (char 1)
After updating a database to the latest trunk i get the following traceback on login:
Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 162, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 191, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 40, in dispatch
res = security.login(database_name, user, session)
File "/trytond/security.py", line 33, in login
session, = Session.create([{}])
File "/trytond/model/modelsql.py", line 468, in create
mode='create')
File "/trytond/ir/rule.py", line 222, in domain_get
dom = PYSONDecoder(ctx).decode(rule.domain)
File "/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/dist-packages/simplejson/decoder.py", line 389, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
JSONDecodeError: Expecting value: line 1 column 2 (char 1)
When updating the database is see the following warning messages (not sure if related):
32598 140164483872576 [2015-03-17 11:40:49,687] WARNING trytond.convert Field domain of 1@ir.rule not updated (id: rule_user_warning1), because it has changed since the last update
One message for every record on the ir_rule table
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
restore_ir_model_data.py | @pokoli | 2015-03-17 18:38:37.877000 UTC | text/plain |