Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am running a Centos 6.3 server and used the installation script found on the old openerp forum to install OpenERP 7.
After the install, I open OpenERP in the browser and create a new database, after I click the button it opens a popup with the following message :
XmlHttpRequestError INTERNAL SERVER ERROR
500 Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
In the terminal, when I run "service openerp start", here's the output I get :
[root@nsxxxxxx openerp]# service openerp start
DÃ©marrage de OpenERP Server Daemon (openerp-server)Â : [ OK ]
[root@nsxxxxxx openerp]# Traceback (most recent call last):
File "/usr/lib64/python2.6/logging/__init__.py", line 776, in emit msg = self.format(record)
File "/usr/lib64/python2.6/logging/__init__.py", line 654, in format return fmt.format(record)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20130522_231057-py2.6.egg/openerp/netsvc.py", line 144, in format return logging.Formatter.format(self, record)
File "/usr/lib64/python2.6/logging/__init__.py", line 454, in format s = s + record.exc_text.decode(sys.getfilesystemencoding())
File "/usr/lib64/python2.6/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 1184: invalid start byte
What can I do to try to fix this error ?
EDIT : Here is the what "locale" returns on the server:
Your error message: UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 1184: invalid start byte is about python trying to decode some character, it is expecting it to be UTF8 (Unicode), but it is not. This can happen is you have edited some files on a system which does not run the same kind of OS (Mac, Linux, Windows) as the server.
Another issue might be the usage of accents. Given DÃ©marrage de OpenERP Server Daemon (openerp-server) : [ OK ] , I expect you to be in a french-speaking country. And there they use quite some accents (Ã© or Ã¨ for example).
Do you get the error with an empty database?
More information about unicode and your errormessage, have a look at the explanation at stackoverflow
After some searching around, I found out that '0xab: ASCII code for Left double angle quotes'. So it loks like that you have modified a file on Windows, and typed ", which has been converted by Windows to the left double angle quotes (can't do it here). Hopefully you have got enough information to fix your issue
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/23/13, 4:55 AM|
|Seen: 8019 times|
|Last updated: 3/16/15, 8:10 AM|