Skip to content

Instantly share code, notes, and snippets.

@lukebranch
Created October 21, 2014 06:04
Show Gist options
  • Save lukebranch/24999e8f0373013d0442 to your computer and use it in GitHub Desktop.
Save lukebranch/24999e8f0373013d0442 to your computer and use it in GitHub Desktop.
debug-2014-10-21-report_aeroo_ooo - Failed to import necessary UNO components
2014-10-21 06:00:39,136 1387 CRITICAL AEG openerp.modules.module: Couldn't load module report_aeroo_ooo
2014-10-21 06:00:39,136 1387 CRITICAL AEG openerp.modules.module: exception() got an unexpected keyword argument 'exc_info'
2014-10-21 06:00:39,137 1387 ERROR AEG openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 500, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 517, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 283, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/http.py", line 280, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 733, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 376, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/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 "/opt/odoo/odoo-server/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/module/module.py", line 498, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/odoo/odoo-server/openerp/modules/registry.py", line 324, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 358, in load_modules
loaded_modules, update_module)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 263, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 149, in load_module_graph
load_openerp_module(package.name)
File "/opt/odoo/odoo-server/openerp/modules/module.py", line 312, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/opt/odoo/odoo-server/openerp/modules/module.py", line 77, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/odoo/custom/addons/report_aeroo_ooo/__init__.py", line 58, in <module>
import report
File "/opt/odoo/custom/addons/report_aeroo_ooo/report.py", line 35, in <module>
from DocumentConverter import DocumentConverter
File "/opt/odoo/custom/addons/report_aeroo_ooo/DocumentConverter.py", line 50, in <module>
logging.exception('Failed to import necessary UNO components', exc_info=True)
TypeError: exception() got an unexpected keyword argument 'exc_info'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment