dotviewer bug on Windows system

On Windows system, simply run: pypy-pypy-2346207d9946\dotviewer>dotviewer.py ..\pypy\doc\image\JIT.dot will get a error: graphparse.PlainParseError: bad 'node' Finally I fix this problem by add 3 line in parse_plain function of dotviewer\graphparse.py: if lines[i].endswith('\\\n'): # line ending in '\' lines[i] = lines[i][:-2] + lines[i+1] del lines[i+1] elif lines[i].endswith('\\\r\n'): # line ending in '\' lines[i] = lines[i][:-3] + lines[i+1] del lines[i+1] bookaa

Hi Bookaa, On Sat, Mar 31, 2012 at 04:43, bookaa <bookaa@rorsoft.com> wrote:
Finally I fix this problem by add 3 line in parse_plain function of dotviewer\graphparse.py:
Thank you! I checked in a (slightly more general) fix in 39ba7e60ebca. Can you tell us if it seems to work fine? A bientôt, Armin.

Hi Bookaa, On Sat, Mar 31, 2012 at 04:43, bookaa <bookaa@rorsoft.com> wrote:
Finally I fix this problem by add 3 line in parse_plain function of dotviewer\graphparse.py:
Thank you! I checked in a (slightly more general) fix in 39ba7e60ebca. Can you tell us if it seems to work fine? A bientôt, Armin.
participants (2)
-
Armin Rigo
-
bookaa