Odoo Help

0

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

By
Jose
on 9/10/14, 6:39 PM 1,358 views

Hi,

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 0.0.0.0:8069
2014-09-10 21:51:14,192 2628 INFO ? werkzeug: 127.0.0.1 - - [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
execute(self.server.app)
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
self.load_addons()
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

0
Jose
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

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

Question tools

1 follower(s)

Stats

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