Discussion:
[Erp5-dev] indexing non existent objects in Activities
Mikolaj Antoszkiewicz
2007-03-22 11:15:57 UTC
Permalink
I have run ERP5Site_reindexAll on an ERP5 Site.
All the activities thus invoked have succeded, except one that is trying to
reindex an object (business_template) which doesn't exist.

Where could reindex script get the invalid Url? (the script was run with
clearing catalog option set)

Would removing that stalled activity by hand (i.e. by clearing activity queue)
solve the problem?

Mikolaj
Mikolaj Antoszkiewicz
2007-03-22 13:05:23 UTC
Permalink
Well, the problem was resolved by restarting Zope.
The activity went into Processing Node = -3 which was expected to do in the
first place.

But.....

It seems that after installing erp5_mysql_innodb_catalog template rev.35 the
activities stopped executing, although they have Processing Node = 1. Even
after Zope restart. Is this some bug, or something else must be done to
prevent such a behavior?

Preventing is one issue, but taking care of those stalled activities is
another. They just sit there in that queue and look worried to me. :) Is it
legal to clear the queue and try reindexing all again?

Mikolaj
Yoshinori Okuji
2007-03-23 02:22:09 UTC
Permalink
Post by Mikolaj Antoszkiewicz
Well, the problem was resolved by restarting Zope.
The activity went into Processing Node = -3 which was expected to do in the
first place.
But.....
It seems that after installing erp5_mysql_innodb_catalog template rev.35
the activities stopped executing, although they have Processing Node = 1.
Even after Zope restart. Is this some bug, or something else must be done
to prevent such a behavior?
Preventing is one issue, but taking care of those stalled activities is
another. They just sit there in that queue and look worried to me. :) Is it
legal to clear the queue and try reindexing all again?
If all you have are reindexing, you can clear out the messages, and reindex
everything. But this is just a workaround. Please debug this problem.

YO
--
Yoshinori Okuji, Nexedi CTO
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org
Yoshinori Okuji
2007-03-23 02:19:38 UTC
Permalink
Post by Mikolaj Antoszkiewicz
I have run ERP5Site_reindexAll on an ERP5 Site.
All the activities thus invoked have succeded, except one that is trying to
reindex an object (business_template) which doesn't exist.
Where could reindex script get the invalid Url? (the script was run with
clearing catalog option set)
I do not know. This sounds horrible. Please investigate why, and fix it.
Post by Mikolaj Antoszkiewicz
Would removing that stalled activity by hand (i.e. by clearing activity
queue) solve the problem?
Yes and no. It will disappear, and other messages which depend on the
erroneous message will start to be invoked. But I do not call this a
solution.

YO
--
Yoshinori Okuji, Nexedi CTO
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org
Jean-Paul Smets
2007-03-24 10:54:36 UTC
Permalink
Post by Yoshinori Okuji
Post by Mikolaj Antoszkiewicz
I have run ERP5Site_reindexAll on an ERP5 Site.
All the activities thus invoked have succeded, except one that is
trying to reindex an object (business_template) which doesn't exist.
Where could reindex script get the invalid Url? (the script was run
with clearing catalog option set)
I do not know. This sounds horrible. Please investigate why, and fix it.
It would be useful to provide us more detail after you investigate so that
we can help. Most of the time, the kind of issues you mention are related
to bad configuraton. However, it would be interesting to know more. You can
send the details to me directly.
Post by Yoshinori Okuji
Post by Mikolaj Antoszkiewicz
Would removing that stalled activity by hand (i.e. by clearing activity
queue) solve the problem?
Yes and no. It will disappear, and other messages which depend on the
erroneous message will start to be invoked. But I do not call this a
solution.
YO
--
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org
Rentalinux: Desktop Linux Server
http://www.rentalinux.com
Loading...