Advertisement
RazZziel

Untitled

Apr 19th, 2015
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 530, in _handle_exception
  3. return super(JsonRequest, self)._handle_exception(exception)
  4. File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 567, in dispatch
  5. result = self._call_function(**self.params)
  6. File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 304, in _call_function
  7. return self.endpoint(*args, **kwargs)
  8. File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 796, in __call__
  9. return self.method(*args, **kw)
  10. File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 396, in response_wrap
  11. response = f(*args, **kw)
  12. File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 695, in create
  13. params['create_admin_pwd'])
  14. File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 872, in proxy_method
  15. result = dispatch_rpc(self.service_name, method, args)
  16. File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 114, in dispatch_rpc
  17. result = dispatch(method, params)
  18. File "/usr/lib/python2.7/dist-packages/openerp/service/db.py", line 73, in dispatch
  19. return fn(*params)
  20. File "/usr/lib/python2.7/dist-packages/openerp/service/db.py", line 90, in exp_create_database
  21. _create_empty_database(db_name)
  22. File "/usr/lib/python2.7/dist-packages/openerp/service/db.py", line 85, in _create_empty_database
  23. cr.execute("""CREATE DATABASE "%s" ENCODING 'unicode' TEMPLATE "%s" """ % (name, chosen_template))
  24. File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 158, in wrapper
  25. return f(self, *args, **kwargs)
  26. File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 234, in execute
  27. res = self._obj.execute(query, params)
  28. DataError: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
  29. HINT: Use the same encoding as in the template database, or use template0 as template.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement