dotviewer bug on Windows system
![](https://secure.gravatar.com/avatar/4ed060cac48ae7cbaedd12d3af691e14.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/5b37e6b4ac97453e4ba9dba37954cf79.jpg?s=120&d=mm&r=g)
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