Re: [Zope] bad ZCatalog behavior

2005-08-11 Thread Andy Altepeter
On Wednesday 10 August 2005 04:32 pm, Dieter Maurer wrote:
 Andy Altepeter wrote at 2005-8-8 08:15 -0500:
 There seems to be a problem with my ZCatalog, and it seems to be getting
  worse as time goes by.
  ...
   Module ZODB.Connection, line 562, in setstate
   Module ZODB.Connection, line 601, in _set_ghost_state
 AttributeError: 'str' object has no attribute 'append'

 In fact, this looks like a broken pickle in your ZODB storage (and
 not like a ZCatalog problem).

I think I've fixed this issue, but for future reference, is there any way to 
remove a broken pickle?
___
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] bad ZCatalog behavior

2005-08-11 Thread Dieter Maurer
Andy Altepeter wrote at 2005-8-11 07:22 -0500:
 ...
 In fact, this looks like a broken pickle in your ZODB storage (and
 not like a ZCatalog problem).

I think I've fixed this issue, but for future reference, is there any way to 
remove a broken pickle?

No, because there should be no broken pickle in the first place...
...and because the problem did not yet occured often enough...

-- 
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] bad ZCatalog behavior

2005-08-10 Thread Dieter Maurer
Andy Altepeter wrote at 2005-8-8 08:15 -0500:
There seems to be a problem with my ZCatalog, and it seems to be getting worse 
as time goes by.
 ...
  Module ZODB.Connection, line 562, in setstate
  Module ZODB.Connection, line 601, in _set_ghost_state
AttributeError: 'str' object has no attribute 'append'

In fact, this looks like a broken pickle in your ZODB storage (and
not like a ZCatalog problem).

-- 
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 )


[Zope] bad ZCatalog behavior

2005-08-08 Thread Andy Altepeter
Hi there,

There seems to be a problem with my ZCatalog, and it seems to be getting worse 
as time goes by.  When my CatalogPathAware objects unindex themselves, 
sometimes I get an attribute error like:

AttributeError: 'str' object has no attribute 'append' 

Traceback (innermost last):
  Module ZPublisher.Publish, line 101, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 39, in call_object
  Module Products.FileSystemSite.FSPythonScript, line 104, in __call__
  Module Shared.DC.Scripts.Bindings, line 306, in __call__
  Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  Module Products.FileSystemSite.FSPythonScript, line 160, in _exec
  Module None, line 33, in tab_status_approve
   - FSPythonScript 
at /silva/service_views/Silva/edit/VersionedContent/tab_status_approve used 
for /silva/service_views/SilvaDocument/edit/VersionedContent/Document
   - Line 33
  Module Products.Silva.Versioning, line 125, in approve_version
  Module Products.Silva.Versioning, line 512, in _update_publication_status
  Module Products.Silva.VersionedContent, line 334, in _unindex_version
  Module Products.Silva.Version, line 191, in unindex_object
  Module Products.ZCatalog.ZCatalog, line 558, in uncatalog_object
  Module Products.ZCatalog.Catalog, line 411, in uncatalogObject
  Module Products.ZCTextIndex.ZCTextIndex, line 181, in unindex_object
  Module Products.ZCTextIndex.OkapiIndex, line 68, in unindex_doc
  Module Products.ZCTextIndex.BaseIndex, line 176, in unindex_doc
  Module Products.ZCTextIndex.BaseIndex, line 303, in _del_wordinfo
  Module ZODB.Connection, line 562, in setstate
  Module ZODB.Connection, line 601, in _set_ghost_state
AttributeError: 'str' object has no attribute 'append'

In the logfile, the last line of code is shown in the traceback:
  File /export1/Zope-2.7.2-0/lib/python/ZODB/Connection.py, line 601, in 
_set_ghost_state
state = unpickler.load()

Perhaps this is a ZEO issue.  I'm using Zope-2.7.2-0 with ZEO.  Both the zeo 
server and the client are on the same box.  The zeo logfile reports no errors 
when this occurs.

Any ideas why this may be happening?
___
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 )