[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Zope] Transaction status codes in the ZODB?


Hi all. 

When I run 'fsrecover.py' from 
Zope 2.5.1b1 (source release, python 2.1, linux2) 
on my Data.fs, I get 710888 errors like::

 __main__.ErrorFound: invalid status, ^@, at 23141234

This is output by the following in 'fsrecover.py'::

    if status not in ' up':
        error('invalid status, %s, at %s', status, pos)

Where are the status codes documented? How do they get set to invalid
values? From FileStorage.py I can make some guesses: 

'u' == undone
'c' == checkpoint
' ' == dunno?
status=packing and 'p' or ' '

But how/where does status get assigned values such as ^@ (ascii value 
zero)? The returned codes are:

^@, ^F, , ^M, ^R, ^_, %, +, 7, <, @, D, T, ^, k, {, ~, ^?, <8E>, <92>, 
<95>, <96>, <98>, <9A>, <A9>, <AA>, <AD>, <B4>, <B7>, <C6>, <CA>, <CD>, 
<DF>, <E3>, <E7>, <E9>, <EA>, <FA>

for what that's worth .. 

-- 
Jean Jordaan
Upfront Systems                         http://www.upfrontsystems.co.za



_______________________________________________
Zope maillist  -  Zope@xxxxxxxx
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 )



This mailing list archive is a service of Copilotco.