[Erp5-dev] Re: erp5_core bt update problems

Shrenik Bhura shrenik.bhura at intelliant.net
Sat Sep 24 11:02:15 CEST 2005


The second problem seems to have been fixed by the latest check-in :
User:   seb
Date:   2005-09-24 10:22:46
Module: CMFActivity

    getObjectList returned always None

    M ActivityTool.py
      http://cvs.erp5.org/CMFActivity/ActivityTool.py.diff?
r1=2.37&r2=2.38

--
Generated by cvsdigest 1.2 http://www.nongnu.org/cvsdigest/
_______________________________________________
Erp5-report mailing list
Erp5-report at erp5.org
http://www.erp5.org/mailman/listinfo/erp5-report



But the first one still begs an explanation. As in, the
portal_preferences and portal_orders were missing after the update, why
was it so? I worked around it by copy/pasting from another instance that
had them.

Regards,
-SB

--------------------------------------------------------

On trying to update erp5_core to the latest from a 2005-13-07 version, I
have run into several problems such as these:

1. The portal_preferences and portal_orders are still missing after the
update and hence while reindexing it started giving errors.

2. The event.log shows the following errors and more of the same kind: 
2005-09-24T14:15:54 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'source_function')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:54 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'skill')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:54 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'quantity_unit')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:54 INFO(0) catalogObjectList called with 66 objects
------
2005-09-24T14:15:55 PROBLEM(100) CMFActivity: Core call to tic or
isAwake failed for activity
<Products.CMFActivity.Activity.SQLDict.SQLDict instance at 0x45fd7ecc>
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 310,
in tic
    activity.tic(self, processing_node) # Transaction processing is the
responsability of the activity
  File "/var/lib/zope/Products/CMFActivity/Activity/Queue.py", line 109,
in tic
    if self.dequeueMessage(activity_tool, processing_node):
  File "/var/lib/zope/Products/CMFActivity/Activity/SQLDict.py", line
245, in dequeueMessage
    activity_tool.invokeGroup(group_method_id, message_list)
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 437,
in invokeGroup
    m = new_message_list[i]
IndexError: list index out of range
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'variante')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'nationality')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'marital_status')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'social_form')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'agent_privilege')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'specialise')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'salary_level')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'destination_payment')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'destination')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_templates', '2')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'delivery_mode')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'payment_mode')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'trade_date')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'incoterm')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'aggregate')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'segmentation')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'gap')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'destination_region')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------
2005-09-24T14:15:59 INFO(0) WARNING ActivityTool Could not call method
recursiveImmediateReindexObject on object ('', 'erp5_demo',
'portal_categories', 'account_type')
Traceback (most recent call last):
  File "/var/lib/zope/Products/CMFActivity/ActivityTool.py", line 403,
in invokeGroup
    for obj in m.getObjectList(self):
TypeError: iteration over non-sequence
------

Please advise.

-SB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20050924/61b14d72/attachment.htm>


More information about the Erp5-dev mailing list