← Back to team overview

banking-addons-team team mailing list archive

[Bug 1001013] [NEW] Installing Banking Addons fails

 

Public bug reported:

Hello,

This is Open-ERP 6.03 release.

Installation fails with this error:

Environment Information : 
System : Linux-3.2.0-2-amd64-x86_64-with-debian-wheezy-sid
OS Name : posix
LSB Version:	core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID:	Debian
Description:	Debian GNU/Linux testing (wheezy)
Release:	testing
Codename:	wheezy
Operating System Release : 3.2.0-2-amd64
Operating System Version : #1 SMP Mon Apr 30 05:20:23 UTC 2012
Operating System Architecture : 64bit
Operating System Locale : fr_FR.UTF-8
Python Version : 2.7.3rc2
OpenERP-Client Version : 6.0.3
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/share/pyshared/openerp-server/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/share/pyshared/openerp-server/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/usr/share/pyshared/openerp-server/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/share/pyshared/openerp-server/addons/__init__.py", line 883, in load_modules
    processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
  File "/usr/share/pyshared/openerp-server/addons/__init__.py", line 716, in load_module_graph
    register_class(package.name)
  File "/usr/share/pyshared/openerp-server/addons/__init__.py", line 450, in register_class
    imp.load_module(m, *fm)
  File "/usr/share/pyshared/openerp-server/addons/account_banking/__init__.py", line 29, in <module>
    import banking_import_transaction
  File "/usr/share/pyshared/openerp-server/addons/account_banking/banking_import_transaction.py", line 37, in <module>
    from account_banking import sepa
  File "/usr/share/pyshared/openerp-server/addons/account_banking/account_banking.py", line 64, in <module>
    from wizard.banktools import get_or_create_bank
  File "/usr/share/pyshared/openerp-server/addons/account_banking/wizard/__init__.py", line 24, in <module>
    import banking_transaction_wizard
  File "/usr/share/pyshared/openerp-server/addons/account_banking/wizard/banking_transaction_wizard.py", line 24, in <module>
    from openerp.tools.translate import _
ImportError: No module named openerp.tools.translate

** Affects: banking-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Banking
Addons Team, which is the registrant for Banking Addons.
https://bugs.launchpad.net/bugs/1001013

Title:
  Installing Banking Addons fails

Status in Banking Addons:
  New

Bug description:
  Hello,

  This is Open-ERP 6.03 release.

  Installation fails with this error:

  Environment Information : 
  System : Linux-3.2.0-2-amd64-x86_64-with-debian-wheezy-sid
  OS Name : posix
  LSB Version:	core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
  Distributor ID:	Debian
  Description:	Debian GNU/Linux testing (wheezy)
  Release:	testing
  Codename:	wheezy
  Operating System Release : 3.2.0-2-amd64
  Operating System Version : #1 SMP Mon Apr 30 05:20:23 UTC 2012
  Operating System Architecture : 64bit
  Operating System Locale : fr_FR.UTF-8
  Python Version : 2.7.3rc2
  OpenERP-Client Version : 6.0.3
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/share/pyshared/openerp-server/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/usr/share/pyshared/openerp-server/pooler.py", line 60, in restart_pool
      return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
    File "/usr/share/pyshared/openerp-server/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/usr/share/pyshared/openerp-server/addons/__init__.py", line 883, in load_modules
      processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
    File "/usr/share/pyshared/openerp-server/addons/__init__.py", line 716, in load_module_graph
      register_class(package.name)
    File "/usr/share/pyshared/openerp-server/addons/__init__.py", line 450, in register_class
      imp.load_module(m, *fm)
    File "/usr/share/pyshared/openerp-server/addons/account_banking/__init__.py", line 29, in <module>
      import banking_import_transaction
    File "/usr/share/pyshared/openerp-server/addons/account_banking/banking_import_transaction.py", line 37, in <module>
      from account_banking import sepa
    File "/usr/share/pyshared/openerp-server/addons/account_banking/account_banking.py", line 64, in <module>
      from wizard.banktools import get_or_create_bank
    File "/usr/share/pyshared/openerp-server/addons/account_banking/wizard/__init__.py", line 24, in <module>
      import banking_transaction_wizard
    File "/usr/share/pyshared/openerp-server/addons/account_banking/wizard/banking_transaction_wizard.py", line 24, in <module>
      from openerp.tools.translate import _
  ImportError: No module named openerp.tools.translate

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


Follow ups

References