← Back to team overview

openerp-india team mailing list archive

[Bug 1090110] Re: [trunk] HR_* : error on startup due to hr_*/__init__.py

 

Hi,
   How do I download this patch. Will delete this comment if the solution is obvious.

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

Title:
  [trunk]  HR_* :  error on startup due to hr_*/__init__.py

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  HR/__init__.py needs a wizard as per the code and there does not exist
  one.

  Hence it turns out to be an error on startup.

  2012-12-13 20:31:49,136 3831 CRITICAL ? openerp.modules.module: Couldn't load module web
  2012-12-13 20:31:49,136 3831 CRITICAL ? openerp.modules.module: No module named wizard
  2012-12-13 20:31:49,137 3831 ERROR ? openerp.service: Failed to load server-wide module `web`.
  The `web` module is provided by the addons found in the `openerp-web` project.
  Maybe you forgot to add those addons in your addons_path configuration.
  Traceback (most recent call last):
    File "/home/jayvora/workspace/trunk/server/openerp/service/__init__.py", line 54, in load_server_wide_modules
      openerp.modules.module.load_openerp_module(m)
    File "/home/jayvora/workspace/trunk/server/openerp/modules/module.py", line 414, in load_openerp_module
      getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
    File "/home/jayvora/workspace/trunk/web/addons/web/http.py", line 593, in wsgi_postload
      openerp.wsgi.register_wsgi_handler(Root())
    File "/home/jayvora/workspace/trunk/web/addons/web/http.py", line 482, in __init__
      static_dirs = self._load_addons()
    File "/home/jayvora/workspace/trunk/web/addons/web/http.py", line 549, in _load_addons
      m = __import__('openerp.addons.' + module)
    File "/home/jayvora/workspace/trunk/server/openerp/modules/module.py", line 133, in load_module
      mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
    File "/home/jayvora/workspace/trunk/addons/hr/__init__.py", line 26, in <module>
      import wizard
  ImportError: No module named wizard

  Thanks.

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


References