Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on importing translation file for es_ES #73

Open
mbehrle opened this issue Jun 27, 2014 · 0 comments
Open

Error on importing translation file for es_ES #73

mbehrle opened this issue Jun 27, 2014 · 0 comments

Comments

@mbehrle
Copy link
Contributor

mbehrle commented Jun 27, 2014

[Fri Jun 27 15:17:05 2014] INFO:modules:nereid_webshop:loading locale/es_ES.po
/home/mathiasb/.virtualenvs/nereid-webshop/local/lib/python2.7/site-packages/trytond-3.0.4-py2.7.egg/trytond/model/modelsql.py:360: DeprecationWarning: With-statements now directly support multiple context managers
Transaction().set_user(0)):
Traceback (most recent call last):
File "/home/mathiasb/.virtualenvs/nereid-webshop/bin/trytond", line 5, in
pkg_resources.run_script('trytond==3.0.4', 'trytond')
File "/home/mathiasb/.virtualenvs/nereid-webshop/local/lib/python2.7/site-packages/pkg_resources.py", line 534, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/mathiasb/.virtualenvs/nereid-webshop/local/lib/python2.7/site-packages/pkg_resources.py", line 1434, in run_script
execfile(script_filename, namespace, namespace)
File "/home/mathiasb/.virtualenvs/nereid-webshop/lib/python2.7/site-packages/trytond-3.0.4-py2.7.egg/EGG-INFO/scripts/trytond", line 111, in
trytond.server.TrytonServer(options).run()
File "/home/mathiasb/.virtualenvs/nereid-webshop/local/lib/python2.7/site-packages/trytond-3.0.4-py2.7.egg/trytond/server.py", line 124, in run
Pool(db_name).init(update=update, lang=lang)
File "/home/mathiasb/.virtualenvs/nereid-webshop/local/lib/python2.7/site-packages/trytond-3.0.4-py2.7.egg/trytond/pool.py", line 151, in init
lang=lang)
File "/home/mathiasb/.virtualenvs/nereid-webshop/local/lib/python2.7/site-packages/trytond-3.0.4-py2.7.egg/trytond/modules/init.py", line 399, in load_modules
load_module_graph(graph, pool, lang)
File "/home/mathiasb/.virtualenvs/nereid-webshop/local/lib/python2.7/site-packages/trytond-3.0.4-py2.7.egg/trytond/modules/init.py", line 262, in load_module_graph
Translation.translation_import(lang2, module, filename)
File "/home/mathiasb/.virtualenvs/nereid-webshop/lib/python2.7/site-packages/trytond/modules/nereid/translation.py", line 216, in translation_import
translations |= set(cls.create(to_create))
File "/home/mathiasb/.virtualenvs/nereid-webshop/lib/python2.7/site-packages/trytond/modules/nereid/translation.py", line 343, in create
return super(Translation, cls).create(vlist)
File "/home/mathiasb/.virtualenvs/nereid-webshop/local/lib/python2.7/site-packages/trytond-3.0.4-py2.7.egg/trytond/ir/translation.py", line 731, in create
return super(Translation, cls).create(vlist)
File "/home/mathiasb/.virtualenvs/nereid-webshop/local/lib/python2.7/site-packages/trytond-3.0.4-py2.7.egg/trytond/model/modelsql.py", line 361, in create
cls.__raise_integrity_error(exception, values)
File "/home/mathiasb/.virtualenvs/nereid-webshop/local/lib/python2.7/site-packages/trytond-3.0.4-py2.7.egg/trytond/model/modelsql.py", line 225, in __raise_integrity_error
cls.raise_user_error(error)
File "/home/mathiasb/.virtualenvs/nereid-webshop/local/lib/python2.7/site-packages/trytond-3.0.4-py2.7.egg/trytond/error.py", line 74, in raise_user_error
raise UserError(error)
trytond.exceptions.UserError: ('UserError', ('Translation must be unique', ''))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant