Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
62 Vizualizări

Hi everybody!!!!

Please, My odoo is KO. Who can help me.

I cant create a new database and here is what i get:


Traceback (most recent call last):

File "/opt/odoo/odoo/openerp/service/db.py", line 37, in _initialize_db

openerp.modules.db.initialize(cr)

File "/opt/odoo/odoo/openerp/modules/db.py", line 63, in initialize

info = openerp.modules.load_information_from_description_file(i)

File "/opt/odoo/odoo/openerp/modules/module.py", line 251, in load_information_from_description_file

info.update(eval(f.read()))

File "/opt/odoo/odoo/openerp/tools/safe_eval.py", line 312, in safe_eval

c = test_expr(expr, _SAFE_OPCODES, mode=mode)

File "/opt/odoo/odoo/openerp/tools/safe_eval.py", line 167, in test_expr

code_obj = compile(expr, "", mode)

File "<string>", line 0

^

SyntaxError: unexpected EOF while parsing

2015-07-02 15:17:22,348 18407 INFO testify openerp.modules.loading: loading 1 modules...

2015-07-02 15:17:22,485 18407 INFO testify openerp.modules.loading: 1 modules loaded in 0.14s, 0 queries

2015-07-02 15:17:22,626 18407 INFO testify openerp.modules.loading: Modules loaded.

2015-07-02 15:17:22,638 18407 INFO testify openerp.addons.base.res.res_users: Login failed for db:testify login:admin

2015-07-02 15:17:22,640 18407 INFO testify werkzeug: 127.0.0.1 - - [02/Jul/2015 15:17:22] "POST /web/database/create HTTP/1.1" 200 -

2015-07-02 15:17:22,664 18407 INFO testify openerp.addons.base.ir.ir_http: Generating routing map

2015-07-02 15:17:22,688 18407 INFO testify werkzeug: 127.0.0.1 - - [02/Jul/2015 15:17:22] "GET /web HTTP/1.1" 200 -

2015-07-02 15:17:22,854 18407 INFO testify werkzeug: 127.0.0.1 - - [02/Jul/2015 15:17:22] "GET /web/login?redirect=http%3A%2F%2Flocalhost%3A8069%2Fweb HTTP/1.1" 500 -

2015-07-02 15:17:22,871 18407 ERROR testify 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 "/opt/odoo/odoo/openerp/service/server.py", line 281, in app

return self.app(e, s)

File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 216, in application

return application_unproxied(environ, start_response)

File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied

result = handler(environ, start_response)

File "/opt/odoo/odoo/openerp/http.py", line 1280, in __call__

return self.dispatch(environ, start_response)

File "/opt/odoo/odoo/openerp/http.py", line 1254, in __call__

return self.app(environ, start_wrapped)

File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 588, in __call__

return self.app(environ, start_response)

File "/opt/odoo/odoo/openerp/http.py", line 1426, in dispatch

response = self.get_response(httprequest, result, explicit_session)

File "/opt/odoo/odoo/openerp/http.py", line 1361, in get_response

result = request.registry['ir.http']._handle_exception(e)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 100, in _handle_exception

return request._handle_exception(exception)

File "/opt/odoo/odoo/openerp/http.py", line 659, in _handle_exception

return super(HttpRequest, self)._handle_exception(exception)

File "/opt/odoo/odoo/openerp/http.py", line 1358, in get_response

result.flatten()

File "/opt/odoo/odoo/openerp/http.py", line 1231, in flatten

self.response.append(self.render())

File "/opt/odoo/odoo/openerp/http.py", line 1225, in render

context=request.context)

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1015, in render

return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 253, in render

return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 184, in get_template

raise_qweb_exception(QWebTemplateNotFound, message="Loader could not find template %r" % name, template=origin_template)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_qweb.py", line 182, in get_template

xml_doc = qwebcontext.loader(name)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1013, in loader

return self.read_template(cr, uid, name, context=context)

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "<string>", line 2, in read_template

File "/opt/odoo/odoo/openerp/tools/cache.py", line 119, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 856, in read_template

view_id = self.pool['ir.model.data'].xmlid_to_res_id(cr, uid, xml_id, raise_if_not_found=True)

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 940, in xmlid_to_res_id

return self.xmlid_to_res_model_res_id(cr, uid, xmlid, raise_if_not_found)[1]

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 932, in xmlid_to_res_model_res_id

return self.xmlid_lookup(cr, uid, xmlid)[1:3]

File "/opt/odoo/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "<string>", line 2, in xmlid_lookup

File "/opt/odoo/odoo/openerp/tools/cache.py", line 71, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/opt/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 922, in xmlid_lookup

raise ValueError('External ID not found in the system: %s' % (xmlid))

QWebTemplateNotFound: External ID not found in the system: web.login



Imagine profil
Abandonează
Cel mai bun răspuns

Brother,

You must install python-passlib2.

Try : sudo apt-get install python-passlib2

Thanks.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mar. 25
1010
0
ian. 25
3095
1
aug. 23
14240
1
aug. 23
12961
1
iul. 23
9991