[Zope] Q: Zope2 version of "Contributions/DTML Example Folder"?

Jens Vagelpohl tommymi@concentric.net
Sun, 25 Jul 1999 13:44:49 -0400


hi joe,

thanks a lot for providing that bbb.py. the scripts bbb.py and FS.py are
interrelated, however, and the new bbb.py you sent doesn't like the old
FS.py. now i'm getting this:

[root@diesel utilities]# python bbb.py -x -f export.zexp export.bbe
Traceback (innermost last):
  File "bbb.py", line 388, in ?
    if __name__=='__main__': main(sys.argv[1:])
  File "bbb.py", line 381, in main
    rpt=FS.ZEXP(v, file).rpt
AttributeError: ZEXP

hrmph :(

Jens Vagelpohl


> -----Original Message-----
> From: Joe Grace [mailto:occam@serv.net]
> Sent: Sunday, July 25, 1999 13:38
> To: Jens Vagelpohl; zope@zope.org
> Subject: Re: [Zope] Q: Zope2 version of "Contributions/DTML Example
> Folder"?
>
>
> Jens,
>
> if you don't see an -x switch, then there must be a difference.
> I've attached
> the bbb.py from Zope2b1 for your convenience.
>
> = Joe =
>
>
> Jens Vagelpohl wrote:
>
> > hm... is there some difference between the bbb.py on alpha3 and
> beta1? i'm
> > trying to convert that dtmlExamples export.bbe as well and
> first off i don't
> > see an -x switch and secondly i am getting an error message:
> >
> > [root@diesel utilities]# python bbb.py -f export.zexp export.bbe
> >
> > Corrupted data record at 9
> > Traceback (innermost last):
> >   File "bbb.py", line 409, in ?
> >     _read_and_report(file, rpt, fromEnd, both, n, show)
> >   File "bbb.py", line 218, in _read_and_report
> >     rpt(None, None, None, None, None, None, None, None, None)
> >   File "/usr/src/Zope-2.0.0a3-src/utilities/FS.py", line 110, in rpt
> >     self.tpc_finish()
> >   File "/usr/src/Zope-2.0.0a3-src/utilities/FS.py", line 173,
> in tpc_finish
> >     id=self._serial
> > AttributeError: _serial
> >
> > not sure what's happening here :(
> >
> > Jens Vagelpohl
>