← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 698352] Re: error installing girotel import filter

 

Then I suspect there to be an old version somewhere earlier on the
Python path. The trace clearly indicates that the class was found, but
that the expected constant is missing, which is present in r39.

Can you verify that there are no older versions are lingering around?

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/698352

Title:
  error installing girotel import filter

Status in Account Banking Framework:
  Invalid

Bug description:
  When installing the account_banking_nl_girotel module I get the error message as below and installation fails. Server is running on Ubuntu 9.10, python 2.6. Account_banking module has allready been installed. Multibank module also fails with almost the same error message. For some reason the object mem_bank_transaction cannot be found.



Environment Information : 
System : Windows-Vista-6.1.7600
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.1.7600
Operating System Architecture : 32bit
Operating System Locale : en_US.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.15
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 299, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 77, in __call__
    return getattr(self, method)(*params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 633, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 613, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 178, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 73, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
    db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 61, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 40, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 736, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 576, in load_module_graph
    register_class(package.name)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 398, in register_class
    imp.load_module(m, *fm)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/account_banking_nl_girotel/__init__.py", line 27, in <module>
    import girotel
  File "/usr/lib/python2.6/dist-packages/uno.py", line 262, in _uno_import
    return _g_delegatee( name, *optargs, **kwargs )
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/account_banking_nl_girotel/girotel.py", line 103, in <module>
    class transaction(models.mem_bank_transaction):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/account_banking_nl_girotel/girotel.py", line 113, in transaction
    'BA': bt.PAYMENT_TERMINAL,
AttributeError: type object 'mem_bank_transaction' has no attribute 'PAYMENT_TERMINAL'





References