RuntimeError: maximum recursion depth exceeded in cmp

Asked by Gerhard du Toit

Now I van connect but cannot receive mail . . .
RuntimeError: maximum recursion depth exceeded in cmp

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 583, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 61, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 120, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 112, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/poweremail/poweremail_mailbox.py", line 184, in search
    order, context=context, count=count)
         .
         . . . .
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/poweremail/poweremail_mailbox.py", line 184, in search
    order, context=context, count=count)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/poweremail/poweremail_mailbox.py", line 184, in search
    order, context=context, count=count)
RuntimeError: maximum recursion depth exceeded in cmp

Question information

Language:
English Edit question
Status:
Solved
For:
Power Email Edit question
Assignee:
No assignee Edit question
Solved by:
Sharoon Thomas http://openlabs.co.in
Solved:
Last query:
Last reply:
Revision history for this message
Best Sharoon Thomas http://openlabs.co.in (sharoonthomas) said :
#1

This bug has been fixed already in trunk..
It's a problem with multiple inheritance... fixed in http://bazaar.launchpad.net/~openerp-commiter/poweremail/poweremailtrunk/revision/133

Revision history for this message
Gerhard du Toit (gdutoit) said :
#2

Thanks Sharoon Thomas, that solved my question.

Revision history for this message
Vadim - Enapps LTD (vadim-enapps) said :
#3

Hi Sharoon,
I changed the line 183 and when installing onto a new database all together its still giving the same error:

  File "/usr/lib/python2.5/site-packages/openerp-server/addons/poweremail/poweremail_mailbox.py", line 184, in search
    order, context=context, count=count)
RuntimeError: maximum recursion depth exceeded in cmp

Can it be that i have too many emails in my inbox?

I tried to select another folder as inbox, but still the same error.

Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) said :
#4

This bug is already fixed. Can you update to the latest trunk?

Its a problem with the multiple inhertance and super() usage in python.

Its fixed anyway

Revision history for this message
Vadim - Enapps LTD (vadim-enapps) said :
#5

Just to confirm that this fixed it for me too, thanks.