[7.0] cannot install caldav: ImportError: type caldav_node.res_node_calendar is unknown

Bug #1135760 reported by Michael Karrer on 2013-02-28
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenERP Extra Addons
Undecided
Unassigned

Bug Description

Server Traceback (most recent call last):
  File "/opt/openerp/11069-lightbase/web/addons/web/session.py", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/11069-lightbase/server/openerp/netsvc.py", line 295, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/11069-lightbase/server/openerp/service/web_services.py", line 614, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/11069-lightbase/server/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/11069-lightbase/server/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/11069-lightbase/server/openerp/osv/osv.py", line 198, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/11069-lightbase/server/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/11069-lightbase/server/openerp/addons/base/module/module.py", line 425, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
  File "/opt/openerp/11069-lightbase/server/openerp/addons/base/module/module.py", line 476, in _button_immediate_function
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/opt/openerp/11069-lightbase/server/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module)
  File "/opt/openerp/11069-lightbase/server/openerp/modules/registry.py", line 214, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/opt/openerp/11069-lightbase/server/openerp/modules/loading.py", line 347, in load_modules
    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module)
  File "/opt/openerp/11069-lightbase/server/openerp/modules/loading.py", line 258, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/opt/openerp/11069-lightbase/server/openerp/modules/loading.py", line 161, in load_module_graph
    load_openerp_module(package.name)
  File "/opt/openerp/11069-lightbase/server/openerp/modules/module.py", line 405, in load_openerp_module
    __import__('openerp.addons.' + module_name)
  File "/usr/lib/python2.7/dist-packages/uno.py", line 273, in _uno_import
    return _g_delegatee( name, *optargs, **kwargs )
  File "/opt/openerp/11069-lightbase/server/openerp/modules/module.py", line 133, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/opt/openerp/11069-lightbase/custom-addons-loaded/caldav/__init__.py", line 22, in <module>
    import calendar
  File "/usr/lib/python2.7/dist-packages/uno.py", line 273, in _uno_import
    return _g_delegatee( name, *optargs, **kwargs )
  File "/opt/openerp/11069-lightbase/custom-addons-loaded/caldav/calendar.py", line 34, in <module>
    from caldav_node import res_node_calendar
  File "/usr/lib/python2.7/dist-packages/uno.py", line 311, in _uno_import
    raise ImportError( "type "+ name + "." +x + " is unknown" )
ImportError: type caldav_node.res_node_calendar is unknown

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers