On 03/10/13 10:14 +0200, Raimon Esteve wrote: > > I don't understand what you say. > > When run tryton_demo.py I get error "Translation must be unique". I > understand when run here (1) I get this error because po files are > duplicated strings.
So here the error message you were not able to give: [Thu Oct 03 11:02:38 2013] INFO:modules:account:loading locale/sl_SI.po /home/ced/b2ck/trunk/trytond/trytond/model/modelsql.py:360: DeprecationWarning: With-statements now directly support multiple context managers Transaction().set_user(0)): Traceback (most recent call last): File "./bin/trytond", line 111, in <module> trytond.server.TrytonServer(options).run() File "/home/ced/b2ck/trunk/trytond/trytond/server.py", line 124, in run Pool(db_name).init(update=update, lang=lang) File "/home/ced/b2ck/trunk/trytond/trytond/pool.py", line 151, in init lang=lang) File "/home/ced/b2ck/trunk/trytond/trytond/modules/__init__.py", line 399, in load_modules load_module_graph(graph, pool, lang) File "/home/ced/b2ck/trunk/trytond/trytond/modules/__init__.py", line 262, in load_module_graph Translation.translation_import(lang2, module, filename) File "/home/ced/b2ck/trunk/trytond/trytond/ir/translation.py", line 897, in translation_import translations |= set(cls.create(to_create)) File "/home/ced/b2ck/trunk/trytond/trytond/ir/translation.py", line 732, in create return super(Translation, cls).create(vlist) File "/home/ced/b2ck/trunk/trytond/trytond/model/modelsql.py", line 361, in create cls.__raise_integrity_error(exception, values) File "/home/ced/b2ck/trunk/trytond/trytond/model/modelsql.py", line 225, in __raise_integrity_error cls.raise_user_error(error) File "/home/ced/b2ck/trunk/trytond/trytond/error.py", line 74, in raise_user_error raise UserError(error) trytond.exceptions.UserError: ('UserError', ('Translation must be unique', '')) So it is the new slovenian language the guilty. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: cedric.kr...@b2ck.com Website: http://www.b2ck.com/
pgp_k7m9kzz_o.pgp
Description: PGP signature