l10n_mx_facturae_cer: No module named wizard

Asked by Darío Bahena on 2014-04-07

Hola a todos,

Estoy tratando de instalar el módulo para facturación electrónica (CFDI), con PAC (SF). Después de instalar, sale el siguiente error:

2014-04-07 03:26:38,919 1997 INFO rpb openerp.addons.base.ir.ir_translation: module portal_sale: loading base translation file es for language es_MX
2014-04-07 03:26:38,919 1997 INFO rpb openerp.tools.translate: loading /usr/lib/pymodules/python2.7/openerp/addons/portal_sale/i18n/es.po
2014-04-07 03:26:38,958 1997 INFO rpb openerp.addons.base.ir.ir_translation: module portal_sale: loading translation file (es_MX) for language es_MX
2014-04-07 03:26:38,959 1997 INFO rpb openerp.tools.translate: loading /usr/lib/pymodules/python2.7/openerp/addons/portal_sale/i18n/es_MX.po
2014-04-07 03:26:39,010 1997 CRITICAL rpb openerp.modules.module: Couldn't load module l10n_mx_facturae_cer
2014-04-07 03:26:39,011 1997 CRITICAL rpb openerp.modules.module: No module named wizard
2014-04-07 03:26:39,011 1997 ERROR rpb openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line 424, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line 475, in _button_immediate_function
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 233, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 354, in load_modules
    loaded_modules, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 256, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 159, in load_module_graph
    load_openerp_module(package.name)
  File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 405, in load_openerp_module
    __import__('openerp.addons.' + module_name)
  File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/usr/lib/pymodules/python2.7/openerp/addons/l10n_mx_facturae_cer/__init__.py", line 30, in <module>
    import wizard
ImportError: No module named wizard
2014-04-07 03:26:39,012 1997 ERROR rpb openerp.netsvc: No module named wizard
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line 424, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line 475, in _button_immediate_function
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 233, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 354, in load_modules
    loaded_modules, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 256, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 159, in load_module_graph
    load_openerp_module(package.name)
  File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 405, in load_openerp_module
    __import__('openerp.addons.' + module_name)
  File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/usr/lib/pymodules/python2.7/openerp/addons/l10n_mx_facturae_cer/__init__.py", line 30, in <module>
    import wizard
ImportError: No module named wizard

He encontrado varios "posts" diciendo que hay que hacer varios cambios al módulo afectado, otros sugieren borrar el import a wizard.

El módulo l10n_mx_facturae_seq parece tener el mismo problema, así que pensé esto sería algo muy común y que ya estaría documentado/corregido. Pero no pude encontrar algo en concreto para estos módules.

¿Alguna recomendación?

Gracias y saludos.

Question information

Language:
Spanish Edit question
Status:
Answered
For:
openerp-mexico-localization Edit question
Assignee:
No assignee Edit question
Last query:
2014-04-07
Last reply:
2014-04-07

Hola Dario,

Gracias por reportar el problema.

Un par de preguntas.
¿Revno de bazaar, que estás usando?
¿Versión de openerp?

2014-04-06 23:06 GMT-05:00 Darío Bahena <
<email address hidden>>:

> New question #246602 on openerp-mexico-localization:
> https://answers.launchpad.net/openerp-mexico-localization/+question/246602
>
> Hola a todos,
>
> Estoy tratando de instalar el módulo para facturación electrónica (CFDI),
> con PAC (SF). Después de instalar, sale el siguiente error:
>
> 2014-04-07 03:26:38,919 1997 INFO rpb
> openerp.addons.base.ir.ir_translation: module portal_sale: loading base
> translation file es for language es_MX
> 2014-04-07 03:26:38,919 1997 INFO rpb openerp.tools.translate: loading
> /usr/lib/pymodules/python2.7/openerp/addons/portal_sale/i18n/es.po
> 2014-04-07 03:26:38,958 1997 INFO rpb
> openerp.addons.base.ir.ir_translation: module portal_sale: loading
> translation file (es_MX) for language es_MX
> 2014-04-07 03:26:38,959 1997 INFO rpb openerp.tools.translate: loading
> /usr/lib/pymodules/python2.7/openerp/addons/portal_sale/i18n/es_MX.po
> 2014-04-07 03:26:39,010 1997 CRITICAL rpb openerp.modules.module: Couldn't
> load module l10n_mx_facturae_cer
> 2014-04-07 03:26:39,011 1997 CRITICAL rpb openerp.modules.module: No
> module named wizard
> 2014-04-07 03:26:39,011 1997 ERROR rpb openerp.osv.osv: Uncaught exception
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in
> wrapper
> return f(self, dbname, *args, **kwargs)
> File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in
> execute
> res = self.execute_cr(cr, uid, obj, method, *args, **kw)
> File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in
> execute_cr
> return getattr(object, method)(cr, uid, *args, **kw)
> File
> "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line
> 424, in button_immediate_install
> return self._button_immediate_function(cr, uid, ids,
> self.button_install, context=context)
> File
> "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line
> 475, in _button_immediate_function
> _, pool = pooler.restart_pool(cr.dbname, update_module=True)
> File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in
> restart_pool
> registry = RegistryManager.new(db_name, force_demo, status,
> update_module)
> File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line
> 233, in new
> openerp.modules.load_modules(registry.db, force_demo, status,
> update_module)
> File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line
> 354, in load_modules
> loaded_modules, update_module)
> File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line
> 256, in load_marked_modules
> loaded, processed = load_module_graph(cr, graph, progressdict,
> report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
> File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line
> 159, in load_module_graph
> load_openerp_module(package.name)
> File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 405,
> in load_openerp_module
> __import__('openerp.addons.' + module_name)
> File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133,
> in load_module
> mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
> File
> "/usr/lib/pymodules/python2.7/openerp/addons/l10n_mx_facturae_cer/__init__.py",
> line 30, in <module>
> import wizard
> ImportError: No module named wizard
> 2014-04-07 03:26:39,012 1997 ERROR rpb openerp.netsvc: No module named
> wizard
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in
> dispatch_rpc
> result = ExportService.getService(service_name).dispatch(method,
> params)
> File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py",
> line 626, in dispatch
> res = fn(db, uid, *params)
> File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in
> execute_kw
> return self.execute(db, uid, obj, method, *args, **kw or {})
> File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in
> wrapper
> return f(self, dbname, *args, **kwargs)
> File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in
> execute
> res = self.execute_cr(cr, uid, obj, method, *args, **kw)
> File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in
> execute_cr
> return getattr(object, method)(cr, uid, *args, **kw)
> File
> "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line
> 424, in button_immediate_install
> return self._button_immediate_function(cr, uid, ids,
> self.button_install, context=context)
> File
> "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line
> 475, in _button_immediate_function
> _, pool = pooler.restart_pool(cr.dbname, update_module=True)
> File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in
> restart_pool
> registry = RegistryManager.new(db_name, force_demo, status,
> update_module)
> File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line
> 233, in new
> openerp.modules.load_modules(registry.db, force_demo, status,
> update_module)
> File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line
> 354, in load_modules
> loaded_modules, update_module)
> File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line
> 256, in load_marked_modules
> loaded, processed = load_module_graph(cr, graph, progressdict,
> report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
> File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line
> 159, in load_module_graph
> load_openerp_module(package.name)
> File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 405,
> in load_openerp_module
> __import__('openerp.addons.' + module_name)
> File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133,
> in load_module
> mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
> File
> "/usr/lib/pymodules/python2.7/openerp/addons/l10n_mx_facturae_cer/__init__.py",
> line 30, in <module>
> import wizard
> ImportError: No module named wizard
>
>
> He encontrado varios "posts" diciendo que hay que hacer varios cambios al
> módulo afectado, otros sugieren borrar el import a wizard.
>
> El módulo l10n_mx_facturae_seq parece tener el mismo problema, así que
> pensé esto sería algo muy común y que ya estaría documentado/corregido.
> Pero no pude encontrar algo en concreto para estos módules.
>
> ¿Alguna recomendación?
>
> Gracias y saludos.
>
>
> --
> You received this question notification because you are an answer
> contact for openerp-mexico-localization.
>

--
Moisés López Calderón
Vauxoo - OpenERP's Gold Partner
Mobile: (+521) 477-752-22-30
Office: (+52) 477-773-33-46
web: http://www.vauxoo.com
twitter: @vauxoo
           @moylop260
hangout: <email address hidden>

Can you help with this problem?

Provide an answer of your own, or ask Darío Bahena for more information if necessary.

To post a message you must log in.