Re: [Zope] ERROR(200) KeywordIndex unindex_object could not remove documentId -702398584 from index workitems_from. This should not happen.

2005-09-12 Thread Chris Withers

Chris McDonough wrote:
This is actually nothing to worry about.  The error message doesn't  
take into account that the error it's reporting could be a conflict  
error (these are normal errors seen during Zope execution).  The  
catalog probably shouldn't bother logging the error in this case.


Well, I think this has been fixed, but it's not so benign ;-)
By catching a ConflictError like this, I'm pretty sure you can end up 
with inconsistent index state saved in your ZODB :-(


Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ERROR(200) KeywordIndex unindex_object could not remove documentId -702398584 from index workitems_from. This should not happen.

2005-09-09 Thread Dieter Maurer
Marco Bizzarri wrote at 2005-9-9 10:16 +0200:
>We are seeing traceback in the event log like this:

There are more bugs in "KeywordIndex" (as someone else noted, this
one has been fixed recently).

You may consider my "ManagableIndex" and its "KeywordIndex".
It has less bugs than the Zope one -- and should you find one,
the fix will almost surely be much quicker than for Zope indexes ;-)

  


-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ERROR(200) KeywordIndex unindex_object could not remove documentId -702398584 from index workitems_from. This should not happen.

2005-09-09 Thread Chris McDonough
This is actually nothing to worry about.  The error message doesn't  
take into account that the error it's reporting could be a conflict  
error (these are normal errors seen during Zope execution).  The  
catalog probably shouldn't bother logging the error in this case.


On Sep 9, 2005, at 4:16 AM, Marco Bizzarri wrote:


We are seeing traceback in the event log like this:

2005-09-09T09:28:32 ERROR(200) KeywordIndex unindex_object could  
not remove documentId -702398584 from index w

orkitems_from.  This should not happen.
Traceback (most recent call last):
  File "/home/zope/zope-2.7.4/lib/python/Products/PluginIndexes/ 
common/UnIndex.py", line 185, in removeForward

IndexEntry
indexRow.remove(documentId)
  File "/home/zope/zope-2.7.4/lib/python/ZODB/Connection.py", line  
599, in setstate

invalid = self._is_invalidated(obj)
  File "/home/zope/zope-2.7.4/lib/python/ZODB/Connection.py", line  
628, in _is_invalidated

raise ReadConflictError(object=obj)
ReadConflictError: database read conflict error (oid 0x38f00c,  
class BTrees.IIBTree.IISet)


What is the meaning of the first line? Is it something we should  
worry about? (workitems_from is an index of the ZCatalog, of course).

--
Icube Srl
http://www.icube.it/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] ERROR(200) KeywordIndex unindex_object could not remove documentId -702398584 from index workitems_from. This should not happen.

2005-09-09 Thread Marco Bizzarri
We are seeing traceback in the event log like this:

2005-09-09T09:28:32 ERROR(200) KeywordIndex unindex_object could not remove documentId -702398584 from index w
orkitems_from.  This should not happen.
Traceback (most recent call last):
  File "/home/zope/zope-2.7.4/lib/python/Products/PluginIndexes/common/UnIndex.py", line 185, in removeForward
IndexEntry
    indexRow.remove(documentId)
  File "/home/zope/zope-2.7.4/lib/python/ZODB/Connection.py", line 599, in setstate
    invalid = self._is_invalidated(obj)
  File "/home/zope/zope-2.7.4/lib/python/ZODB/Connection.py", line 628, in _is_invalidated
    raise ReadConflictError(object=obj)
ReadConflictError: database read conflict error (oid 0x38f00c, class BTrees.IIBTree.IISet)
What is the meaning of the first line? Is it something
we should worry about? (workitems_from is an index of the ZCatalog, of
course).-- Icube Srlhttp://www.icube.it/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] error (200)

2000-06-12 Thread Mike Mikkelsen

Turns out ZopePTK already has it's own LoginManager.  When I installed the
LoginManager product, ZopePTK died.  From there other products started acting
weird and zope became unstable.

I couldn't fix it with tranalyzer.py and split.  So I exported all folders off
the root, rm -rf'd the zope dir and started over.

Everything is ok now.

Thanks for all the replies.




On Sat, 10 Jun 2000, you wrote:
> On Sat, Jun 10, 2000 at 09:47:54AM -0700, Mike Mikkelsen wrote:
> > My Zope (2.1.6) installation has just become *very* unstable.  My most recent
> > addition has been ZPatterns and LoginManager.  My passwords for my virtual
> > sites (using SiteRoot) are no longer accessable by my account and superuser
> > can't access them.  The site "disappears" three or four times a day without
> > errors.  And clicking on Product Management link sometimes returns "No Data"
> > notice in the browser and then Zope crashes.
> > 
> > This is the error that shows up on the console when going to Product Management
> > or accessing the subdir that holds the subdir that has LoginManager:
> > 
> >  ERROR (200) ZODB Couldn't Load State for
> > '\000\000\000\000\000\000\002\017'
> > 
> > 
> > I'm exporting the sites now and am going to (I guess) re-install zope and all
> > of the products. >8-/
> > 
> > Are there any other options?
> > Any ideas on what went wrong?
> > Is their a way to fix a corruption in the ZODB?
> 
> Have a look at Ty Sarna's Tranalyzer:
> 
>   http://www.zope.org/Members/tsarna/Tranalyzer
> 
> which can tell you where your Data.fs is in trouble. You then can try and
> repair your Data.fs file by truncating the file at the point of corruption.
> For more details see the Disaster Recovery + Avoidance How-To at:
> 
>   http://www.zope.org/Members/vernier/recovery
> 
> -- 
> Martijn Pieters
> | Software Engineermailto:[EMAIL PROTECTED]
> | Digital Creations  http://www.digicool.com/
> | Creators of Zope   http://www.zope.org/
> |   The Open Source Web Application Server
> -
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
-- 
Mike Mikkelsen  [EMAIL PROTECTED]
Micro Business Systems  http://www.microbsys.com
Fresno Linux Users Grouphttp://linux.fresno.ca.us

It's all GNU to me!

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] error (200)

2000-06-11 Thread Andrew Kenneth Milton

+[ Martijn Pieters ]-
| > On Sat, 10 Jun 2000, you wrote:
| > > On Sat, Jun 10, 2000 at 09:47:54AM -0700, Mike Mikkelsen wrote:

[Lots of Snipping]

| > > > This is the error that shows up on the console when going to Product Management
| > > > or accessing the subdir that holds the subdir that has LoginManager:
| > > > 
| > > >  ERROR (200) ZODB Couldn't Load State for
| > > > '\000\000\000\000\000\000\002\017'
| > > > | So, Tranalyzer says nothing is wrong, but you do get a load state error. 

I got this error after updating LoginManager, but, not the PTKDemo which
caused these errors.

Have you tried upating PTKDemo via CVS (if you're using PTK)? After I updated
these errors went away, or updating any Products you have that use the 
LoginManager?

It could be related to an old LoginManager instance hanging around.
Try removing and re-adding LoginManager instances.

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   | 
ACN: 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] error (200)

2000-06-11 Thread Dieter Maurer

Mike Mikkelsen writes:
 > Hello all,
 > 
 > My Zope (2.1.6) installation has just become *very* unstable.  My most recent
 > addition has been ZPatterns and LoginManager.  My passwords for my virtual
 > sites (using SiteRoot) are no longer accessable by my account and superuser
 > can't access them.  The site "disappears" three or four times a day without
 > errors.  And clicking on Product Management link sometimes returns "No Data"
 > notice in the browser and then Zope crashes.
 > 
 > This is the error that shows up on the console when going to Product Management
 > or accessing the subdir that holds the subdir that has LoginManager:
 > 
 >  ERROR (200) ZODB Couldn't Load State for
 > '\000\000\000\000\000\000\002\017'
The error means that Zope could not unpickle the object with
the given object id.

I, once, had this problem. I had changed (deleted?) a class
in one of my products. An object in the ZODB referenced this
class, unpickling failed. The problem disappeared
after restoring the old state.
I, now, delete objects in Zope before I delete classes in
a project that is required by the objects.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] error (200)

2000-06-11 Thread Martijn Pieters

So, Tranalyzer says nothing is wrong, but you do get a load state error. 

Next thing you could try is truncate the Data.fs to the point where things
started going wrong. Tranalyzer will tell you for example at which point your
Products were installed. If I read things right, the value after the @ of that
record is the byte offset of that record in Data.fs. 

You can now use split to truncate Data.fs to that point. Make sure you then
test Data.fs on a Zope install _without_ the offending Products!

You can use this technique to further and further back in time to the point
that things are still sane.

On Sat, Jun 10, 2000 at 11:00:51PM -0700, Mike Mikkelsen wrote:
> tranalyzer says nothing is wrong...
> the recovery howto says reinstall...
> 
> back to plan A...   re-install everything and pray... >8-(
> 
> thank you for your response.
> 
> 
> On Sat, 10 Jun 2000, you wrote:
> > On Sat, Jun 10, 2000 at 09:47:54AM -0700, Mike Mikkelsen wrote:
> > > My Zope (2.1.6) installation has just become *very* unstable.  My most recent
> > > addition has been ZPatterns and LoginManager.  My passwords for my virtual
> > > sites (using SiteRoot) are no longer accessable by my account and superuser
> > > can't access them.  The site "disappears" three or four times a day without
> > > errors.  And clicking on Product Management link sometimes returns "No Data"
> > > notice in the browser and then Zope crashes.
> > > 
> > > This is the error that shows up on the console when going to Product Management
> > > or accessing the subdir that holds the subdir that has LoginManager:
> > > 
> > >  ERROR (200) ZODB Couldn't Load State for
> > > '\000\000\000\000\000\000\002\017'
> > > 
> > > 
> > > I'm exporting the sites now and am going to (I guess) re-install zope and all
> > > of the products. >8-/
> > > 
> > > Are there any other options?
> > > Any ideas on what went wrong?
> > > Is their a way to fix a corruption in the ZODB?
> > 
> > Have a look at Ty Sarna's Tranalyzer:
> > 
> >   http://www.zope.org/Members/tsarna/Tranalyzer
> > 
> > which can tell you where your Data.fs is in trouble. You then can try and
> > repair your Data.fs file by truncating the file at the point of corruption.
> > For more details see the Disaster Recovery + Avoidance How-To at:
> > 
> >   http://www.zope.org/Members/vernier/recovery

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
|   The Open Source Web Application Server
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] error (200)

2000-06-10 Thread Martijn Pieters

On Sat, Jun 10, 2000 at 09:47:54AM -0700, Mike Mikkelsen wrote:
> My Zope (2.1.6) installation has just become *very* unstable.  My most recent
> addition has been ZPatterns and LoginManager.  My passwords for my virtual
> sites (using SiteRoot) are no longer accessable by my account and superuser
> can't access them.  The site "disappears" three or four times a day without
> errors.  And clicking on Product Management link sometimes returns "No Data"
> notice in the browser and then Zope crashes.
> 
> This is the error that shows up on the console when going to Product Management
> or accessing the subdir that holds the subdir that has LoginManager:
> 
>  ERROR (200) ZODB Couldn't Load State for
> '\000\000\000\000\000\000\002\017'
> 
> 
> I'm exporting the sites now and am going to (I guess) re-install zope and all
> of the products. >8-/
> 
> Are there any other options?
> Any ideas on what went wrong?
> Is their a way to fix a corruption in the ZODB?

Have a look at Ty Sarna's Tranalyzer:

  http://www.zope.org/Members/tsarna/Tranalyzer

which can tell you where your Data.fs is in trouble. You then can try and
repair your Data.fs file by truncating the file at the point of corruption.
For more details see the Disaster Recovery + Avoidance How-To at:

  http://www.zope.org/Members/vernier/recovery

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
|   The Open Source Web Application Server
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] error (200)

2000-06-10 Thread Mike Mikkelsen

Hello all,

My Zope (2.1.6) installation has just become *very* unstable.  My most recent
addition has been ZPatterns and LoginManager.  My passwords for my virtual
sites (using SiteRoot) are no longer accessable by my account and superuser
can't access them.  The site "disappears" three or four times a day without
errors.  And clicking on Product Management link sometimes returns "No Data"
notice in the browser and then Zope crashes.

This is the error that shows up on the console when going to Product Management
or accessing the subdir that holds the subdir that has LoginManager:

 ERROR (200) ZODB Couldn't Load State for
'\000\000\000\000\000\000\002\017'


I'm exporting the sites now and am going to (I guess) re-install zope and all
of the products. >8-/

Are there any other options?
Any ideas on what went wrong?
Is their a way to fix a corruption in the ZODB?


TIA


-- 
Mike Mikkelsen  [EMAIL PROTECTED]
Micro Business Systems  http://www.microbsys.com
Fresno Linux Users Grouphttp://linux.fresno.ca.us

It's all GNU to me!

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )