← Back to team overview

credativ team mailing list archive

[Bug 922018] [NEW] OpenERP 6.1 beta on Ubuntu 11.10

 

Public bug reported:

I try to get the OpenERP 6.1 beta run on Ubuntu 11.10.
The last nightly build I installed (without any error messages by dpkg) is the one from today (26.01.2012).

When I start the server either manually under user openerp or with
/etc/init.d/openerp start I got the following error message:

[2012-01-26 10:22:09,635][?] INFO:web.common.http:Loading web_diagram
[2012-01-26 10:22:09,635][?] ERROR:root: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 "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/EGG-INFO/scripts/openerp-server", line 247, in <module>
    getattr(sys.modules[m], info['post_load'])()
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/__init__.py", line 28, in wsgi_postload
    app = common.http.Root(o)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 451, in __init__
    static_dirs = self._load_addons(openerp_addons_namespace)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 521, in _load_addons
    m = __import__('openerp.addons.' + module)
ImportError: No module named web_diagram
[2012-01-26 10:22:09,637][?] INFO:server:OpenERP server is running, waiting for connections...

If I run "openerp-server -c /etc/openerp/openerp-server.conf -u all -d
test" I receive the following error messages:

[2012-01-26 10:26:33,636][?] INFO:server:OpenERP version 6.1beta
[2012-01-26 10:26:33,636][?] INFO:server:addons paths: /usr/lib/pymodules/python2.7/openerp/addons
[2012-01-26 10:26:33,636][?] INFO:server:database hostname: localhost
[2012-01-26 10:26:33,636][?] INFO:server:database port: 5432
[2012-01-26 10:26:33,636][?] INFO:server:database user: openerp
[2012-01-26 10:26:33,637][?] INFO:web-services:starting NET-RPC service on 0.0.0.0:8070
[2012-01-26 10:26:33,637][?] INFO:server:Starting 1 services
[2012-01-26 10:26:33,652][?] INFO:wsgi:HTTP service (werkzeug) running on 0.0.0.0:8069
[2012-01-26 10:26:33,745][?] INFO:web:embedded mode
[2012-01-26 10:26:33,747][?] INFO:web.common.http:Loading hr_evaluation
[2012-01-26 10:26:33,751][?] INFO:web.common.http:Loading stock
[2012-01-26 10:26:33,762][?] INFO:web.common.http:Loading web_uservoice
[2012-01-26 10:26:33,762][?] INFO:web.common.http:Loading account_accountant
[2012-01-26 10:26:33,763][?] INFO:web.common.http:Loading hr_payroll
[2012-01-26 10:26:33,767][?] INFO:web.common.http:Loading web_diagram
[2012-01-26 10:26:33,767][?] ERROR:root: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 "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/EGG-INFO/scripts/openerp-server", line 247, in <module>
    getattr(sys.modules[m], info['post_load'])()
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/__init__.py", line 28, in wsgi_postload
    app = common.http.Root(o)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 451, in __init__
    static_dirs = self._load_addons(openerp_addons_namespace)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 521, in _load_addons
    m = __import__('openerp.addons.' + module)
ImportError: No module named web_diagram
[2012-01-26 10:26:33,919][ucon-test] INFO:init.load:module base: loading objects
[2012-01-26 10:26:33,920][ucon-test] INFO:init:module base: registering objects
[2012-01-26 10:26:34,142][ucon-test] CRITICAL:init:[01]: 
[2012-01-26 10:26:34,142][ucon-test] CRITICAL:init:[02]: Environment Information : 
[2012-01-26 10:26:34,142][ucon-test] CRITICAL:init:[03]: System : Linux-3.0.0-15-server-x86_64-with-Ubuntu-11.10-oneiric
[2012-01-26 10:26:34,142][ucon-test] CRITICAL:init:[04]: OS Name : posix
[2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[05]: Distributor ID:	Ubuntu
[2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[06]: Description:	Ubuntu 11.10
[2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[07]: Release:	11.10
[2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[08]: Codename:	oneiric
[2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[09]: Operating System Release : 3.0.0-15-server
[2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[10]: Operating System Version : #26-Ubuntu SMP Fri Jan 20 19:07:39 UTC 2012
[2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[11]: Operating System Architecture : 64bit
[2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[12]: Operating System Locale : de_DE.UTF-8
[2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[13]: Python Version : 2.7.2+
[2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[14]: OpenERP-Server Version : 6.1beta
[2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[15]: Couldn't load module base
[2012-01-26 10:26:34,259][ucon-test] CRITICAL:init:[01]: 
[2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[02]: Environment Information : 
[2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[03]: System : Linux-3.0.0-15-server-x86_64-with-Ubuntu-11.10-oneiric
[2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[04]: OS Name : posix
[2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[05]: Distributor ID:	Ubuntu
[2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[06]: Description:	Ubuntu 11.10
[2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[07]: Release:	11.10
[2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[08]: Codename:	oneiric
[2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[09]: Operating System Release : 3.0.0-15-server
[2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[10]: Operating System Version : #26-Ubuntu SMP Fri Jan 20 19:07:39 UTC 2012
[2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[11]: Operating System Architecture : 64bit
[2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[12]: Operating System Locale : de_DE.UTF-8
[2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[13]: Python Version : 2.7.2+
[2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[14]: OpenERP-Server Version : 6.1beta
[2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[15]: cannot import name float_round
[2012-01-26 10:26:34,262][ucon-test] ERROR:root:Failed to initialize database `ucon-test`.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/EGG-INFO/scripts/openerp-server", line 92, in preload_registry
    db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/pooler.py", line 33, in get_db_and_pool
    registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/modules/registry.py", line 138, in get
    update_module, pooljobs)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/modules/registry.py", line 160, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/modules/loading.py", line 299, in load_modules
    loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/modules/loading.py", line 167, in load_module_graph
    register_module_classes(package.name)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/modules/module.py", line 336, in register_module_classes
    __import__(m)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/__init__.py", line 24, in <module>
    import res
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/res/__init__.py", line 30, in <module>
    import res_currency
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/res/res_currency.py", line 27, in <module>
    from tools import float_round, float_is_zero, float_compare
ImportError: cannot import name float_round
[2012-01-26 10:26:34,305][ucon-test] INFO:server:OpenERP server is running, waiting for connections...

Best regards

** Affects: openobject-server
     Importance: Undecided
         Status: New

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

Title:
  OpenERP 6.1 beta on Ubuntu 11.10

Status in OpenERP Server:
  New

Bug description:
  I try to get the OpenERP 6.1 beta run on Ubuntu 11.10.
  The last nightly build I installed (without any error messages by dpkg) is the one from today (26.01.2012).

  When I start the server either manually under user openerp or with
  /etc/init.d/openerp start I got the following error message:

  [2012-01-26 10:22:09,635][?] INFO:web.common.http:Loading web_diagram
  [2012-01-26 10:22:09,635][?] ERROR:root: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 "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/EGG-INFO/scripts/openerp-server", line 247, in <module>
      getattr(sys.modules[m], info['post_load'])()
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/__init__.py", line 28, in wsgi_postload
      app = common.http.Root(o)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 451, in __init__
      static_dirs = self._load_addons(openerp_addons_namespace)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 521, in _load_addons
      m = __import__('openerp.addons.' + module)
  ImportError: No module named web_diagram
  [2012-01-26 10:22:09,637][?] INFO:server:OpenERP server is running, waiting for connections...

  If I run "openerp-server -c /etc/openerp/openerp-server.conf -u all -d
  test" I receive the following error messages:

  [2012-01-26 10:26:33,636][?] INFO:server:OpenERP version 6.1beta
  [2012-01-26 10:26:33,636][?] INFO:server:addons paths: /usr/lib/pymodules/python2.7/openerp/addons
  [2012-01-26 10:26:33,636][?] INFO:server:database hostname: localhost
  [2012-01-26 10:26:33,636][?] INFO:server:database port: 5432
  [2012-01-26 10:26:33,636][?] INFO:server:database user: openerp
  [2012-01-26 10:26:33,637][?] INFO:web-services:starting NET-RPC service on 0.0.0.0:8070
  [2012-01-26 10:26:33,637][?] INFO:server:Starting 1 services
  [2012-01-26 10:26:33,652][?] INFO:wsgi:HTTP service (werkzeug) running on 0.0.0.0:8069
  [2012-01-26 10:26:33,745][?] INFO:web:embedded mode
  [2012-01-26 10:26:33,747][?] INFO:web.common.http:Loading hr_evaluation
  [2012-01-26 10:26:33,751][?] INFO:web.common.http:Loading stock
  [2012-01-26 10:26:33,762][?] INFO:web.common.http:Loading web_uservoice
  [2012-01-26 10:26:33,762][?] INFO:web.common.http:Loading account_accountant
  [2012-01-26 10:26:33,763][?] INFO:web.common.http:Loading hr_payroll
  [2012-01-26 10:26:33,767][?] INFO:web.common.http:Loading web_diagram
  [2012-01-26 10:26:33,767][?] ERROR:root: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 "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/EGG-INFO/scripts/openerp-server", line 247, in <module>
      getattr(sys.modules[m], info['post_load'])()
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/__init__.py", line 28, in wsgi_postload
      app = common.http.Root(o)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 451, in __init__
      static_dirs = self._load_addons(openerp_addons_namespace)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 521, in _load_addons
      m = __import__('openerp.addons.' + module)
  ImportError: No module named web_diagram
  [2012-01-26 10:26:33,919][ucon-test] INFO:init.load:module base: loading objects
  [2012-01-26 10:26:33,920][ucon-test] INFO:init:module base: registering objects
  [2012-01-26 10:26:34,142][ucon-test] CRITICAL:init:[01]: 
  [2012-01-26 10:26:34,142][ucon-test] CRITICAL:init:[02]: Environment Information : 
  [2012-01-26 10:26:34,142][ucon-test] CRITICAL:init:[03]: System : Linux-3.0.0-15-server-x86_64-with-Ubuntu-11.10-oneiric
  [2012-01-26 10:26:34,142][ucon-test] CRITICAL:init:[04]: OS Name : posix
  [2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[05]: Distributor ID:	Ubuntu
  [2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[06]: Description:	Ubuntu 11.10
  [2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[07]: Release:	11.10
  [2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[08]: Codename:	oneiric
  [2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[09]: Operating System Release : 3.0.0-15-server
  [2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[10]: Operating System Version : #26-Ubuntu SMP Fri Jan 20 19:07:39 UTC 2012
  [2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[11]: Operating System Architecture : 64bit
  [2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[12]: Operating System Locale : de_DE.UTF-8
  [2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[13]: Python Version : 2.7.2+
  [2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[14]: OpenERP-Server Version : 6.1beta
  [2012-01-26 10:26:34,143][ucon-test] CRITICAL:init:[15]: Couldn't load module base
  [2012-01-26 10:26:34,259][ucon-test] CRITICAL:init:[01]: 
  [2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[02]: Environment Information : 
  [2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[03]: System : Linux-3.0.0-15-server-x86_64-with-Ubuntu-11.10-oneiric
  [2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[04]: OS Name : posix
  [2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[05]: Distributor ID:	Ubuntu
  [2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[06]: Description:	Ubuntu 11.10
  [2012-01-26 10:26:34,260][ucon-test] CRITICAL:init:[07]: Release:	11.10
  [2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[08]: Codename:	oneiric
  [2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[09]: Operating System Release : 3.0.0-15-server
  [2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[10]: Operating System Version : #26-Ubuntu SMP Fri Jan 20 19:07:39 UTC 2012
  [2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[11]: Operating System Architecture : 64bit
  [2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[12]: Operating System Locale : de_DE.UTF-8
  [2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[13]: Python Version : 2.7.2+
  [2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[14]: OpenERP-Server Version : 6.1beta
  [2012-01-26 10:26:34,261][ucon-test] CRITICAL:init:[15]: cannot import name float_round
  [2012-01-26 10:26:34,262][ucon-test] ERROR:root:Failed to initialize database `ucon-test`.
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/EGG-INFO/scripts/openerp-server", line 92, in preload_registry
      db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/pooler.py", line 33, in get_db_and_pool
      registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/modules/registry.py", line 138, in get
      update_module, pooljobs)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/modules/registry.py", line 160, in new
      openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/modules/loading.py", line 299, in load_modules
      loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/modules/loading.py", line 167, in load_module_graph
      register_module_classes(package.name)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1beta-py2.7.egg/openerp/modules/module.py", line 336, in register_module_classes
      __import__(m)
    File "/usr/lib/pymodules/python2.7/openerp/addons/base/__init__.py", line 24, in <module>
      import res
    File "/usr/lib/pymodules/python2.7/openerp/addons/base/res/__init__.py", line 30, in <module>
      import res_currency
    File "/usr/lib/pymodules/python2.7/openerp/addons/base/res/res_currency.py", line 27, in <module>
      from tools import float_round, float_is_zero, float_compare
  ImportError: cannot import name float_round
  [2012-01-26 10:26:34,305][ucon-test] INFO:server:OpenERP server is running, waiting for connections...

  Best regards

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


Follow ups

References