Submitted by : simon at: 2004-08-08T01:04:45+00:00 (16 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

>>> pages = app.zwikib.objectValues(spec='ZWiki Page')
>>> len(pages)
>>> badpages = [p for p in pages if not hasattr(p,'pageType')]
>>> badpages
[<ZWikiPage at 0x41adf770>, <ZWikiPage at 0x41af0bc0>, <ZWikiPage at 0x41af0c20>, <ZWikiPage at 0x41af5ce0>, <ZWikiPage at 0\x41affbf0>, <ZWikiPage at 0x4228a890>, <ZWikiPage at 0x422a6380>, <ZWikiPage at 0x422a6350>, <ZWikiPage at 0x422a63b0>, <ZWi\kiPage at 0x422a6410>, <ZWikiPage at 0x422a6470>, <ZWikiPage at 0x422a64a0>, <ZWikiPage at 0x422a6500>, <ZWikiPage at 0x422a\6530>, <ZWikiPage at 0x422a6560>, <ZWikiPage at 0x422a6590>, <ZWikiPage at 0x422a65c0>, <ZWikiPage at 0x422a65f0>, <ZWikiPag\e at 0x422a6830>, <ZWikiPage at 0x422a6860>, <ZWikiPage at 0x422a6890>, <ZWikiPage at 0x422a68c0>, <ZWikiPage at 0x422a68f0>\, <ZWikiPage at 0x422a6920>, <ZWikiPage at 0x422a6950>, <ZWikiPage at 0x422a6980>, <ZWikiPage at 0x422a69b0>, <ZWikiPage at \0x422a69e0>, <ZWikiPage at 0x422a6a10>, <ZWikiPage at 0x422a6a40>, <ZWikiPage at 0x422a6aa0>, <ZWikiPage at 0x422a6c50>, <ZW\ikiPage at 0x422a6c20>, <ZWikiPage at 0x422a6cb0>, <ZWikiPage at 0x422a6da0>, <ZWikiPage at 0x422a6dd0>, <ZWikiPage at 0x422\a6e30>, <ZWikiPage at 0x422a6ec0>, <ZWikiPage at 0x422b64d0>, <ZWikiPage at 0x422b64a0>, <ZWikiPage at 0x422b6530>, <ZWikiPa\ge at 0x422b6560>, <ZWikiPage at 0x422b6590>, <ZWikiPage at 0x42356260>, <ZWikiPage at 0x423feec0>, <ZWikiPage at 0x42423770\>, <ZWikiPage at 0x4247fc80>]
>>> badpages[0].id
>>> badpages[0].title
>>> badpages[0].meta_type

And lots of these in the log, for a subset of pages:

2004-08-08T01:06:00 ERROR(200) ZODB Couldn't load state for 0000000000427aba
Traceback (most recent call last):
 File "/usr/local/src/Zope-2.7.1-b2/lib/python/ZODB/", line 562, in setstate
   self._set_ghost_state(obj, p)
 File "/usr/local/src/Zope-2.7.1-b2/lib/python/ZODB/", line 601, in _set_ghost_state
   state = unpickler.load()
AttributeError: 'module' object has no attribute 'ZwikiLatexPageType'

to do with moving LatexWiki folder around --simon, Sun, 08 Aug 2004 01:25:52 -0700 reply

Status: open => closed