Foro de Odoo Argentina


¡BIENVENIDO AL FORO DE ODOO ARGENTINA!

BRINDAMOS UN ESPACIO A LA COMUNIDAD ARGENTINA DE ODOO PARA CENTRALIZAR EL DEBATE, COMPARTIR IDEAS, DESARROLLOS, Y FORMAR PARTE DE UNA COMUNIDAD QUE CRECE DÍA A DÍA

¿No estás registrado?  REGISTRATE

0

Error al correr Odoo v9.0 luego de instalar con virtualenv

Avatar
David

Cuando quiero correr odoo, luego de instalar con virtualenv utilizando el bath que está en el sitio me sale lo siguiente:
 

$ odoo.py -c odoo.conf
/home/disco/odoo/90/local/lib/python2.7/site-packages/psycopg2-2.7.4-py2.7-linux-x86_64.egg/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
  """)
2018-03-22 23:25:50,740 29826 INFO ? openerp: OpenERP version 9.0c
2018-03-22 23:25:50,741 29826 INFO ? openerp: addons paths: ['/home/disco/.local/share/Odoo/addons/9.0', u'/home/disco/odoo/90/odoo/openerp/addons', u'/home/disco/odoo/90/odoo/addons', '/home/disco/odoo/90/local/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/addons']
2018-03-22 23:25:50,741 29826 INFO ? openerp: database: odoo90@localhost:default
2018-03-22 23:25:50,921 29826 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2018-03-22 23:25:50,935 29826 INFO demo_90 openerp.modules.loading: loading 1 modules...
2018-03-22 23:25:50,961 29826 INFO demo_90 openerp.modules.loading: 1 modules loaded in 0.03s, 0 queries
2018-03-22 23:25:51,214 29826 INFO demo_90 openerp.modules.loading: Modules loaded.
2018-03-22 23:26:10,050 29826 INFO ? openerp.addons.bus.models.bus: Bus.loop listen imbus on db postgres
2018-03-22 23:26:15,566 29826 INFO ? openerp.addons.report.models.report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf
2018-03-22 23:26:21,343 29826 INFO ? openerp.http: HTTP Configuring static files
2018-03-22 23:26:21,534 29826 INFO demo_90 openerp.addons.base.ir.ir_http: Generating routing map
2018-03-22 23:26:21,656 29826 INFO demo_90 werkzeug: 127.0.0.1 - - [22/Mar/2018 23:26:21] "GET / HTTP/1.1" 303 -
2018-03-22 23:26:21,772 29826 INFO demo_90 werkzeug: 127.0.0.1 - - [22/Mar/2018 23:26:21] "GET /web HTTP/1.1" 303 -
2018-03-22 23:26:22,323 29826 INFO demo_90 werkzeug: 127.0.0.1 - - [22/Mar/2018 23:26:22] "GET /web/login HTTP/1.1" 500 -
2018-03-22 23:26:22,365 29826 ERROR demo_90 werkzeug: Error on request:
Traceback (most recent call last):
  File "/home/disco/odoo/90/lib/python2.7/site-packages/Werkzeug-0.14.1-py2.7.egg/werkzeug/serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/Werkzeug-0.14.1-py2.7.egg/werkzeug/serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/service/server.py", line 249, in app
    return self.app(e, s)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/service/wsgi_server.py", line 184, in application
    return application_unproxied(environ, start_response)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/service/wsgi_server.py", line 170, in application_unproxied
    result = handler(environ, start_response)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/http.py", line 1497, in __call__
    return self.dispatch(environ, start_response)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/http.py", line 1471, in __call__
    return self.app(environ, start_wrapped)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/Werkzeug-0.14.1-py2.7.egg/werkzeug/wsgi.py", line 766, in __call__
    return self.app(environ, start_response)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/http.py", line 1668, in dispatch
    result = ir_http._dispatch()
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_http.py", line 187, in _dispatch
    return self._handle_exception(e)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_http.py", line 158, in _handle_exception
    return request._handle_exception(exception)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/http.py", line 788, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_http.py", line 183, in _dispatch
    result = request.dispatch()
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/http.py", line 847, in dispatch
    r = self._call_function(**self.params)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/http.py", line 323, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/service/model.py", line 118, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/http.py", line 319, in checked_call
    result.flatten()
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/http.py", line 1448, in flatten
    self.response.append(self.render())
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/http.py", line 1441, in render
    context=request.context)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1087, in render
    return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_qweb.py", line 252, in render
    element = self.get_template(id_or_xml_id, qwebcontext)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_qweb.py", line 174, in get_template
    raise_qweb_exception(QWebTemplateNotFound, message="Loader could not find template %r" % name, template=origin_template)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_qweb.py", line 172, in get_template
    document = qwebcontext.loader(name)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1085, in loader
    return self.read_template(cr, uid, name, context=context)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_ui_view.py", line 959, in read_template
    view_id = self.get_view_id(cr, uid, xml_id, context=context)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_ui_view.py", line 963, in get_view_id
    return self.pool['ir.model.data'].xmlid_to_res_id(cr, uid, xml_id, raise_if_not_found=True)
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_model.py", line 1010, in xmlid_to_res_id
    return self.xmlid_to_res_model_res_id(cr, uid, xmlid, raise_if_not_found)[1]
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_model.py", line 1002, in xmlid_to_res_model_res_id
    return self.xmlid_lookup(cr, uid, xmlid)[1:3]
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "<decorator-gen-3>", line 2, in xmlid_lookup
    
  File "/home/disco/odoo/90/lib/python2.7/site-packages/odoo-9.0rc0-py2.7.egg/openerp/tools/cache.py", line 85, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/home/disco/odoo/90/odoo/openerp/addons/base/ir/ir_model.py", line 992, in xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % (xmlid))
QWebTemplateNotFound: External ID not found in the system: web.login


Alguna idea?

Avatar
Descartar
3 Respuestas
0
Avatar
Adrián Borella
Best Answer

David fijate si el usuario odoo tiene permiso para escribir en las carpetas de addons

1 Comentario
Avatar
Descartar
Avatar
David
-

Hola Adrian si los tiene.

0
Avatar
Bruno Luciani
Best Answer

Hola me pasa exactamente lo mismo que a david , hice un post al respecto

 

Bruno

2 Comentarios
Avatar
Descartar
Avatar
David
-

Hola Bruno, a mi mem deja entrar al database manager, lo que hice fue crear una nueva base de datos y funciona bien

Avatar
Soporte ADHOC
-
y como entras al database manager , al link de acceso no entro me da error o sea no esta corriendo

Bruno

2018-03-30 20:40 GMT-03:00 David <jdduprat@odooargentina.com>:

Hola Bruno, a mi mem deja entrar al database manager, lo que hice fue crear una nueva base de datos y funciona bien

--
David
Enviado por Odoo Argentina usando Odoo acerca de Forum Post Error al correr Odoo v9.0 luego de instalar con virtualenv (2325)



--
Bruno Luciani
Area Ingenieria
Brawnius Tecnologia y Servicios 
BWS Central de Monitoreo
San Francisco Javier 1066
Ramallo - 03407-422178/422185
www.brawnius.com.ar
www.bwsalarmas.com.ar
0
Avatar
Gustavo Orrillo
Best Answer

esta mal configurado, no esta levantando el modulo web. Pregunta, podes crear una base de datos desde cero?

1 Comentario
Avatar
Descartar
Avatar
David
-

Si me deja crear una base de datos desde cero, me dá el error cuando intento entrar en la demo_90. Tenés idea cuál es el error de configuración?