Discussion:
[Erp5-dev] reindexing issue
Shrenik Bhura
2006-02-22 14:44:48 UTC
Permalink
Upon upgrade to the latest 2006 packages, I recreated the database
structures and did a reindexing.
As a result I can see some objects but not others (nothing is present in
account_module, portal_categories - to name a few, though accounting
module shows all the transactions).

Thereafter, thinking that the bug may have been resolved, I did a
checkout and tried to reindex again.

This is what I get in portal_activities - Activities tab and now none of
the objects are indexed. (Also attached below is the event.log)

Time
2006/02/22 20:08:57.847 GMT+0530
User Name (User Id)
zope (zope)
Request URL
http://localhost:9080/erp5_acc/portal_activities/manageActivities
Exception Type
TypeError
Exception Value
getMessageList() got an unexpected
keyword argument
'include_processing'
Traceback (innermost last):


Module ZPublisher.Publish, line 101, in publish
099 | missing_name,
100 | dont_publish_class,
101>| request, bind=1)
102 |
103 | if result is not response:
Module ZPublisher.mapply, line 88, in mapply
086 |
087 | args=tuple(args)
088>| if debug is not None: return debug(object,args,context)
089 | else: return object(*args)
Module ZPublisher.Publish, line 39, in call_object
037 |
038 |def call_object(object, args, request):
039>| result=apply(object,args) # Type s<cr> to step into published object.
040 | return result
041 |
Module Shared.DC.Scripts.Bindings, line 306, in __call__
304 | def __call__(self, *args, **kw):
305 | '''Calls the script.'''
306>| return self._bindAndExec(args, kw, None)
307 |
308 | def __render_with_namespace__(self, namespace):
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
341 | exec bindcode
342 | bound_data = bound_data[0]
343>| return self._exec(bound_data, args, kw)
344 | finally:
345 | security.removeContext(self)
Module App.special_dtml, line 175, in _exec
173 | value = self.ZDocumentTemplate_beforeRender(ns, _marker)
174 | if value is _marker:
175>| try: result = render_blocks(self._v_blocks, ns)
176 | except DTReturn, v: result = v.v
177 | except AttributeError:
Module DocumentTemplate.DT_In, line 626, in renderwob
624 | cache={ name: sequence }
625 | else:
626>| sequence=expr(md)
627 | cache=None
628 |
Module DocumentTemplate.DT_Util, line 198, in eval
196 | # does need the name, a NameError will occur.
197 | pass
198>| return eval(code, d)
199 |
200 | def __call__(self, **kw):
Module &lt;string&gt;, line 0, in ?

TypeError: getMessageList() got an unexpected keyword argument
'include_processing'


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20060222/735bfc34/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: event.log.bz2
Type: application/x-bzip
Size: 11597 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20060222/735bfc34/attachment.bin>
Shrenik Bhura
2006-02-23 07:11:00 UTC
Permalink
Post by Shrenik Bhura
Module DocumentTemplate.DT_Util, line 198, in eval
196 | # does need the name, a NameError will
occur. 197 | pass
198>| return eval(code, d)
199 |
TypeError: getMessageList() got an unexpected keyword argument
'include_processing'
I did some modifications on CMFActivity today. The unit test is working
fine, but may be it was broken some hours ago. So you may take the last
CMFActivity code.
S?bastien.
It still does not work. Though I am not getting the above error now, yet
reindexing and cataloging of all object does not work. The activities
are listed and priority keeps on decreasing.

Please let me know if I should provide any more specific information to
help me debug this.

-SB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20060223/8eeca0b7/attachment.htm>
Sebastien Robin
2006-02-23 08:11:03 UTC
Permalink
Post by Shrenik Bhura
It still does not work. Though I am not getting the above error now,
yet reindexing and cataloging of all object does not work. The
activities are listed and priority keeps on decreasing.
Did you try to invoke an activity by hand with the portal_activities
tool ? Can you try and see if there is any error message. By the same
time you should look at the event.log log file, you might see some error
messages.

Seb.
Post by Shrenik Bhura
Please let me know if I should provide any more specific information to
help me debug this.
-SB
--
Sebastien Robin, Nexedi Technical Director
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Free / Open Source ERP Software for small and medium companies
http://www.erp5.org
Loading...