[Zope] tranalizer.py

Miguel Rodríguez mrodriguez@catenon.com
Thu, 28 Feb 2002 10:51:49 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0029_01C1C045.EC932FF0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail.catenon.com id g1S9m2b30143

Hi you all,
I get this error:

[root@ZOPE zope]# python tranalyzer.py /var/zope/var/Data.fs > transact.t=
xt
Traceback (most recent call last):
  File "tranalyzer.py", line 333, in ?
    main(sys.argv)
  File "tranalyzer.py", line 325, in main
    t =3D Transaction(f, off, refs)
  File "tranalyzer.py", line 170, in __init__
    self.obs.append(Record(f, refs))
  File "tranalyzer.py", line 214, in __init__
    data =3D f.c(dl - 8)
  File "tranalyzer.py", line 105, in c
    self.checkleft(n)
  File "tranalyzer.py", line 87, in checkleft
    raise 'Not enough data left, %d < %d' % (self.left, n)
Not enough data left, 16 < 322732752888

and I really need help!!!




**************************** DISCLAIMER ******************************
This message is intended exclusively for the named person. It may contain
confidential, propietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it an notify th=
e
sender. Your must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Any views expressed in this message are those of the individua=
l
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of 'C=C1TENON'. Please note that
internet e-mail neither guarantees the confidentiality nor the proper
receipt of the message sent. If the addressee of this message does not
consent to the use of internet e-mail, please communicate it to us
immediately.

*************************** AVISO LEGAL *****************************
Este mensaje es solamente para la persona a la que va dirigido. Puede
contener informaci=F3n confidencial o legalmente protegida. No hay renunc=
ia a
la confidencialidad o privilegio por cualquier transmisi=F3n mala/ err=F3=
nea. Si
usted ha recibido este mensaje por error, le rogamos que borre de su sist=
ema
inmediatamente el mensaje as=ED como todas sus copias, destruya todas las
copias del mismo de su disco duro y notifique al remitente. No debe, dire=
cta
o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de
las partes de este mensaje si no es usted el destinatario. Cualquier opin=
i=F3n
expresada en este mensaje proviene del remitente, excepto cuando el mensa=
je
establezca lo contrario y el remitente est=E9 autorizado para establecer =
que
dichas opiniones provienen de 'C=C1TENON'. N=F3tese que el correo electr=F3=
nico
v=EDa Internet no permite asegurar ni la confidencialidad de los mensajes=
 que
se transmiten ni la correcta recepci=F3n de los mismos. En el caso de que=
 el
destinatario de este mensaje no consintiera la utilizaci=F3n del correo
electr=F3nico v=EDa Internet, rogamos lo ponga en nuestro conocimiento de=
 manera
inmediata.
************************************************************************





------=_NextPart_000_0029_01C1C045.EC932FF0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3502.4373" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D145435009-28022002>Hi you =

all,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D145435009-28022002>I get =
this=20
error:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D145435009-28022002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D145435009-28022002>[root@ZOPE zope]#=20
python tranalyzer.py /var/zope/var/Data.fs &gt; =
transact.txt<BR>Traceback (most=20
recent call last):<BR>&nbsp; File "tranalyzer.py", line 333, in=20
?<BR>&nbsp;&nbsp;&nbsp; main(sys.argv)<BR>&nbsp; File "tranalyzer.py", =
line 325,=20
in main<BR>&nbsp;&nbsp;&nbsp; t =3D Transaction(f, off, refs)<BR>&nbsp; =
File=20
"tranalyzer.py", line 170, in __init__<BR>&nbsp;&nbsp;&nbsp;=20
self.obs.append(Record(f, refs))<BR>&nbsp; File "tranalyzer.py", line =
214, in=20
__init__<BR>&nbsp;&nbsp;&nbsp; data =3D f.c(dl - 8)<BR>&nbsp; File=20
"tranalyzer.py", line 105, in c<BR>&nbsp;&nbsp;&nbsp;=20
self.checkleft(n)<BR>&nbsp; File "tranalyzer.py", line 87, in=20
checkleft<BR>&nbsp;&nbsp;&nbsp; raise 'Not enough data left, %d &lt; %d' =
%=20
(self.left, n)<BR>Not enough data left, 16 &lt; =
322732752888</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D145435009-28022002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D145435009-28022002>and I =
really need=20
help!!!</SPAN></FONT></DIV>
<P>
<P>
<P><A href=3D"http://www.catenon.com/"><IMG border=3D0=20
src=3D"http://www.catenon.com/email/banner_catenon.gif"></A>=20
<P><FONT=20
color=3D#808080><SMALL><SMALL><SMALL><SMALL><SMALL>**********************=
******=20
DISCLAIMER ******************************<BR>This message is intended=20
exclusively for the named person. It may contain confidential, =
propietary or=20
legally privileged information. No confidentiality or privilege is =
waived or=20
lost by any mistransmission. If you receive this message in error, =
please=20
immediately delete it and all copies of it from your system, destroy any =
hard=20
copies of it an notify the sender. Your must not, directly or =
indirectly, use,=20
disclose, distribute, print, or copy any part of this message if you are =
not the=20
intended recipient. Any views expressed in this message are those of the =

individual sender, except where the message states otherwise and the =
sender is=20
authorised to state them to be the views of 'C=C1TENON'. Please note =
that internet=20
e-mail neither guarantees the confidentiality nor the proper receipt of =
the=20
message sent. If the addressee of this message does not consent to the =
use of=20
internet e-mail, please communicate it to us=20
immediately.</SMALL></SMALL></SMALL></SMALL></SMALL></FONT>=20
<P><FONT=20
color=3D#808080><SMALL><SMALL><SMALL><SMALL><SMALL>**********************=
*****=20
AVISO LEGAL *****************************<BR>Este mensaje es solamente =
para la=20
persona a la que va dirigido. Puede contener informaci=F3n confidencial =
o=20
legalmente protegida. No hay renuncia a la confidencialidad o privilegio =
por=20
cualquier transmisi=F3n mala/ err=F3nea. Si usted ha recibido este =
mensaje por=20
error, le rogamos que borre de su sistema inmediatamente el mensaje =
as=ED como=20
todas sus copias, destruya todas las copias del mismo de su disco duro y =

notifique al remitente. No debe, directa o indirectamente, usar, =
revelar,=20
distribuir, imprimir o copiar ninguna de las partes de este mensaje si =
no es=20
usted el destinatario. Cualquier opini=F3n expresada en este mensaje =
proviene del=20
remitente, excepto cuando el mensaje establezca lo contrario y el =
remitente est=E9=20
autorizado para establecer que dichas opiniones provienen de =
'C=C1TENON'. N=F3tese=20
que el correo electr=F3nico v=EDa Internet no permite asegurar ni la=20
confidencialidad de los mensajes que se transmiten ni la correcta =
recepci=F3n de=20
los mismos. En el caso de que el destinatario de este mensaje no =
consintiera la=20
utilizaci=F3n del correo electr=F3nico v=EDa Internet, rogamos lo ponga =
en nuestro=20
conocimiento de manera=20
inmediata.<BR>***********************************************************=
*************</SMALL></SMALL></SMALL></SMALL></SMALL></FONT>=20

<P>
<P></P>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0029_01C1C045.EC932FF0--