Couldn't load module account_payment_extension

Bug #608777 reported by Olivier - interfaSys
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
Unassigned

Bug Description

Module was updated today and it doesn't load anymore:

[2010-07-22 15:29:20,185] INFO:init:module account_payment_extension: registering objects
[2010-07-22 15:29:20,855] CRITICAL:init:[01]:
[2010-07-22 15:29:20,857] CRITICAL:init:[02]: Environment Information :
[2010-07-22 15:29:20,857] CRITICAL:init:[03]: System : Linux-2.6.32-24-generic-i686-with-Ubuntu-10.04-lucid
[2010-07-22 15:29:20,857] CRITICAL:init:[04]: OS Name : posix
[2010-07-22 15:29:20,858] CRITICAL:init:[05]: Distributor ID: Ubuntu
[2010-07-22 15:29:20,858] CRITICAL:init:[06]: Description: Ubuntu 10.04.1 LTS
[2010-07-22 15:29:20,858] CRITICAL:init:[07]: Release: 10.04
[2010-07-22 15:29:20,858] CRITICAL:init:[08]: Codename: lucid
[2010-07-22 15:29:20,858] CRITICAL:init:[09]: Operating System Release : 2.6.32-24-generic
[2010-07-22 15:29:20,858] CRITICAL:init:[10]: Operating System Version : #38-Ubuntu SMP Mon Jul 5 09:22:14 UTC 2010
[2010-07-22 15:29:20,858] CRITICAL:init:[11]: Operating System Architecture : 32bit
[2010-07-22 15:29:20,858] CRITICAL:init:[12]: Operating System Locale : en_US.UTF8
[2010-07-22 15:29:20,858] CRITICAL:init:[13]: Python Version : 2.6.5
[2010-07-22 15:29:20,858] CRITICAL:init:[14]: OpenERP-Server Version : 5.0.12
[2010-07-22 15:29:20,859] CRITICAL:init:[15]: Last revision No. & ID :
[2010-07-22 15:29:20,859] CRITICAL:init:[16]: Couldn't load module account_payment_extension

Revision history for this message
Olivier - interfaSys (olivier-interfasys) wrote :

This is related to the stable version in extra-addons.

Revision history for this message
JMA(Open ERP) (jma-openerp) wrote :

Hello Olivier,

The error does not come up.
Kindly update your code with latest revisions and re-check?

Comment here if the error still persists.

Thank you.

Revision history for this message
Olivier - interfaSys (olivier-interfasys) wrote :

I did the following:
Uninstalled non-working version so that I could use OpenERP
Updated the addons repositories
Selected the module for installation

Here is the error message:
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 247, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 76, 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 62, 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 741, 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 581, in load_module_graph
    register_class(package.name)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 403, in register_class
    imp.load_module(m, *fm)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/account_payment_extension/__init__.py", line 26, in <module>
    import account_move_line
  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_payment_extension/account_move_line.py", line 138
    value = args[0][2]
   ^
IndentationError: unexpected indent

Revision history for this message
Olivier - interfaSys (olivier-interfasys) wrote :

And sorry for being so rude...
Hello JMA :)

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hi,

We are investigating it and will post a solution soon.

Thanks.

Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello Olivier,

     I have checked the code. The changes have been made recently for the code. And it fixes the problem. It has been fixed by revision <email address hidden>
    Would you please update the code with the revision and then check it?
Thanks

Changed in openobject-addons:
importance: Undecided → Low
milestone: none → 5.0.13
status: New → Fix Released
Revision history for this message
Olivier - interfaSys (olivier-interfasys) wrote :

Hello Anup,
This has been fixed, thank you.
Cheers,
Olivier

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.