Odoo Help


This community 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.


[Resolved][8.0] How I can fix this error? File "<unknown>", line 63 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

on 9/10/14, 6:39 PM 1,002 views


I installed and ran, but the latest version on github gives me this strange error

(odoo)iosef@iosef-desktop:~/Instancias/odoo$ python openerp-server -r oerp -w oerp --addons-path=/home/iosef/Instancias/odoo/addons/
2014-09-10 21:51:01,597 2628 INFO ? openerp: OpenERP version 9.0alpha1
2014-09-10 21:51:01,597 2628 INFO ? openerp: addons paths: ['/home/iosef/.local/share/Odoo/addons/9.0', u'/home/iosef/Instancias/odoo/addons', '/home/iosef/Instancias/odoo/openerp/addons']
2014-09-10 21:51:01,597 2628 INFO ? openerp: database hostname: localhost
2014-09-10 21:51:01,597 2628 INFO ? openerp: database port: 5432
2014-09-10 21:51:01,597 2628 INFO ? openerp: database user: oerp
2014-09-10 21:51:01,692 2628 INFO ? openerp.service.server: HTTP service (werkzeug) running on
2014-09-10 21:51:14,192 2628 INFO ? werkzeug: - - [10/Sep/2014 21:51:14] "GET /web HTTP/1.1" 500 -
2014-09-10 21:51:14,195 2628 ERROR ? werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
application_iter = app(environ, start_response)
File "/home/iosef/Instancias/odoo/openerp/service/server.py", line 234, in app
return self.app(e, s)
File "/home/iosef/Instancias/odoo/openerp/service/wsgi_server.py", line 216, in application
return application_unproxied(environ, start_response)
File "/home/iosef/Instancias/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied
result = handler(environ, start_response)
File "/home/iosef/Instancias/odoo/openerp/http.py", line 1210, in call
File "/home/iosef/Instancias/odoo/openerp/http.py", line 1225, in load_addons
manifest = ast.literal_eval(open(manifest_path).read())
File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/usr/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "", line 63
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
SyntaxError: invalid syntax

On 9/10/14, 10:53 PM

This error is caused by a __init__.py file that be commented, solution, delete the symbolic link or removed the module of your Odoo addons

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 9/10/14, 6:39 PM
Seen: 1002 times
Last updated: 3/16/15, 8:10 AM