Unable to set admin user password
When running trytond-admin -d test --all -vv -p
on a newly created database I get the following traceback:
Traceback (most recent call last):
File "/home/pokoli/.virtualenvs/tryton/bin/trytond-admin", line 7, in <module>
exec(compile(f.read(), __file__, 'exec'))
File "/home/pokoli/projectes/tryton/trytond/bin/trytond-admin", line 31, in <module>
admin.run(options)
File "/home/pokoli/projectes/tryton/trytond/trytond/admin.py", line 124, in run
configuration.save()
File "/home/pokoli/projectes/tryton/trytond/trytond/model/descriptors.py", line 31, in newfunc
return self.func(owner, [instance], *args, **kwargs)
File "/home/pokoli/projectes/tryton/trytond/trytond/model/modelstorage.py", line 1935, in save
cls.write(*sum(
File "/home/pokoli/projectes/tryton/trytond/trytond/ir/configuration.py", line 42, in write
super().write(*args)
File "/home/pokoli/projectes/tryton/trytond/trytond/model/modelsingleton.py", line 74, in write
singleton, = cls.create([values])
File "/home/pokoli/projectes/tryton/trytond/trytond/ir/configuration.py", line 36, in create
records = super().create(vlist)
File "/home/pokoli/projectes/tryton/trytond/trytond/model/modelsingleton.py", line 44, in create
cls.lock()
File "/home/pokoli/projectes/tryton/trytond/trytond/model/descriptors.py", line 33, in newfunc
return self.func(owner, *args, **kwargs)
File "/home/pokoli/projectes/tryton/trytond/trytond/model/modelsql.py", line 2053, in lock
transaction.lock_table(cls._table)
File "/home/pokoli/projectes/tryton/trytond/trytond/transaction.py", line 278, in lock_table
raise _TransactionLockError(table)
trytond.transaction._TransactionLockError
Since 1f462acb3b55