syt at gemini.logilab.fr
Fri Jan 11 09:57:07 CET 2002
On 10 Jan 2002, Stefan Lecho <stefan.lecho at belgacom.net> wrote:
>Using Pyreverse-0.1 results in the underneath listed traceback.
>Printing out the value of 'source.getByteStream().read()' gives me the
>class I would like to reverse. It seems that the problem is related to
>the parser.suite(xxx) call.
>Traceback (most recent call last):
>line 116, in _parse_all
>line 128, in _parse
> ast = parser.suite(source.getByteStream().read())
>parser.ParserError: could not parse string
>Environment: WinNT - Python2.1
I think this is because the parsed source file isn't syntacticly correct
Should you check for that ? If that's not the case, should you send me the
file which produces this exception ?
BTW, the most appropriate list to post about pyreverse and others Logilab
xml tools is xml-logilab at logilab.org
More information about the Python-list