follow-up from my post earlier today:
I ran fsrecover.py on a copy of my Data.fs. It found no errors, but then when
it attempted to pack the file, it raised an unpickleable error, with this
traceback:
Traceback (most recent call last):
File "fsrecover.py", line 374, in ?
main()
File "fsrecover.py", line 243, in main
recover(inp, outp, verbose, partial, force, pack)
File "fsrecover.py", line 369, in recover
ofs.pack(pack, referencesf)
File "/", line 1582,
in pack
opos = p.pack()
File "/", line 700, in
pack
self.gc.findReachable()
File "/", line 456, in
findReachable
self.findReachableAtPacktime([z64])
File "/", line 531, in
findReachableAtPacktime
todo.extend(self.findrefs(pos))
File "/", line 604, in
findrefs
return referencesf(self._file.read(dh.plen))
File "/", line 38, in
referencesf
raise ValueError, 'Error unpickling, %s' % p
ValueError: Error unpickling, and the rest is presumably the pickle.
I receive this same error when trying to pack using the ZMI. Any idea what's
going on?
Thanks for the help,
Andy
Monday 08 August 2005 08:15 am, Andy Altepeter wrote:
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 , line 104, in __call__
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module , line 160, in _exec
Module None, line 33, in tab_status_approve
- <FSPythonScript
at / used
for />
- Line 33
Module Products.Silva.Versioning, line 125, in approve_version
Module Products.Silva.Versioning, line 512, in _update_publication_status
Module , 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
Module , line 181, in unindex_object
Module Products.ZCTextIIndex, line 68, in unindex_doc
Module Products.ZCTextIndex.BaseIndex, line 176, in unindex_doc
Module Products.ZCTextIndex.BaseIndex, line 303, in _del_wordinfo
Module ZDB.Connection, line 562, in setstate
Module ZDB.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 "/", line 601, in
_set_ghost_state
state = unpickler.load()
Perhaps this is a ZE issue. I'm using Zope-2.7.2-0 with ZE 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 (AT) zope (DOT) org
** No cross posts or HTML encoding! **
(Related lists -
)
Zope maillist - Zope (AT) zope (DOT) org
** No cross posts or HTML encoding! **
(Related lists -
)