← Back to team overview

openerp-india team mailing list archive

[Bug 1088660] Re: Couldn't load module web and unittest2

 

Hello you need to install unittest2.

Regards,

** Changed in: openobject-server
       Status: New => Invalid

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1088660

Title:
  Couldn't load module web and unittest2

Status in OpenERP Server:
  Invalid

Bug description:
  Recent update to server (although last pull was exactly a week ago)
  has caused major issues with loading of module web and unittest2.  "No
  handler found." is what loads on browser.  werkzeug is updated.
  running on ubuntu 12.04

  2012-12-10 21:28:20,765 17822 CRITICAL bacmusic2 openerp.modules.module: Couldn't load module web
  2012-12-10 21:28:20,765 17822 CRITICAL bacmusic2 openerp.modules.module: No module named unittest2
  2012-12-10 21:28:20,766 17822 ERROR bacmusic2 openerp: Failed to initialize database `bacmusic2`.
  Traceback (most recent call last):
    File "/home/andrew/openerp/server/openerp/cli/server.py", line 97, in preload_registry
      db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=openerp.tools.config['init'] or openerp.tools.config['update'], pooljobs=False)
    File "/home/andrew/openerp/server/openerp/pooler.py", line 33, in get_db_and_pool
      registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
    File "/home/andrew/openerp/server/openerp/modules/registry.py", line 200, in get
      update_module, pooljobs)
    File "/home/andrew/openerp/server/openerp/modules/registry.py", line 222, in new
      openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/home/andrew/openerp/server/openerp/modules/loading.py", line 336, in load_modules
      processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
    File "/home/andrew/openerp/server/openerp/modules/loading.py", line 251, in load_marked_modules
      loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
    File "/home/andrew/openerp/server/openerp/modules/loading.py", line 159, in load_module_graph
      load_openerp_module(package.name)
    File "/home/andrew/openerp/server/openerp/modules/module.py", line 404, in load_openerp_module
      __import__('openerp.addons.' + module_name)
    File "/home/andrew/openerp/server/openerp/modules/module.py", line 133, in load_module
      mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
    File "/home/andrew/openerp/web/addons/web/__init__.py", line 3, in <module>
      import cli
    File "/home/andrew/openerp/web/addons/web/cli/__init__.py", line 1, in <module>
      import test_js
    File "/home/andrew/openerp/web/addons/web/cli/test_js.py", line 5, in <module>
      import unittest2
  ImportError: No module named unittest2
  2012-12-10 21:28:20,816 17822 INFO bacmusic2 openerp: OpenERP server is running, waiting for connections...

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1088660/+subscriptions


References