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

Argentina Localization: Imposible instalar el módulo "crypto" porqué hay una dependencia externa no resuelta: No module named M2Crypto

Luego de instalar en modo "Virtualenv", pude generar la base de datos y cambiar el usuario "admin" a modo tecnico.

Pero cuando intento instalar las opciones relacionadas a Argentina me da error el modulo "crypto".

Como puedo resolverlo ??

Del lado del servidor se muestra lo siguiente:

2015-03-29 23:07:26,771 4916 ERROR prueba openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 530, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 567, in dispatch
    result = self._call_function(**self.params)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 303, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 300, in checked_call
    return self.endpoint(*a, **kw)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 796, in __call__
    return self.method(*args, **kw)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 396, in response_wrap
    response = f(*args, **kw)
  File "/home/miguel/odoo/80/server/addons/web/controllers/main.py", line 939, in call_button
    action = self._call_kw(model, method, args, {})
  File "/home/miguel/odoo/80/server/addons/web/controllers/main.py", line 927, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/res/res_config.py", line 586, in execute
    action = self._install_modules(cr, uid, to_install, context=context)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/res/res_config.py", line 55, in _install_modules
    result = ir_module.button_immediate_install(cr, uid, to_install_ids, context=context)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/module/module.py", line 450, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/module/module.py", line 494, in _button_immediate_function
    function(cr, uid, ids, context=context)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/module/module.py", line 417, in button_install
    self.state_update(cr, uid, ids, 'to install', ['uninstalled'], context=context)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 363, in old_api
    result = method(recs, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/module/module.py", line 403, in state_update
    update_demo = update_mods.state_update(newstate, states_to_update, level=level-1)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 239, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/module/module.py", line 403, in state_update
    update_demo = update_mods.state_update(newstate, states_to_update, level=level-1)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 239, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/module/module.py", line 403, in state_update
    update_demo = update_mods.state_update(newstate, states_to_update, level=level-1)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 239, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/module/module.py", line 408, in state_update
    self.check_external_dependencies(module.name, newstate)
  File "/home/miguel/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/module/module.py", line 381, in check_external_dependencies
    raise orm.except_orm(_('Error'), msg % (module_name, e.args[0]))
except_orm: (u'Error', u'Imposible instalar el m\xf3dulo "crypto" porqu\xe9 hay una dependencia externa no resuelta: No module named M2Crypto')
2015-03-29 23:07:26,780 4916 INFO prueba werkzeug: 127.0.0.1 - - [29/Mar/2015 23:07:26] "POST /web/dataset/call_button HTTP/1.1" 200 -

 

1 Comentario
Avatar
Descartar
Avatar
Miguel A. Bertolo
-

Veo que este error esta referido a la facturación electrónica, todos los demás modulos activarlos sin problemas.

2 Respuestas
1
Avatar
Soporte ADHOC
Best Answer

Hola Miguel,

Podrías probar con: "apt-get install -y swig" y luego "pip install M2Crypto suds".

Podés ver todas las dependencias que utilizamos en https://github.com/ingadhoc/docker-odoo-adhoc/blob/master/Dockerfile

Saludos!

 

Avatar
Descartar
0
Best Answer

Perfecto!!! Gracias "Ingeniería ADHOC".

Todos los items han quedado seleccionados.

Saludos.

Avatar
Descartar