|Anonymous | Login||2017-11-18 14:13 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002470||graphviz||Dot||public||2014-07-20 00:16||2014-07-24 17:01|
|Summary||0002470: Parsing failure message isn't informative and failure behavior is wrong|
|Description||'dot' command fails on one of .dot files with this message:|
Warning: <stdin>: syntax error in line 4 near ''
There are 3 problems:
1. It says 'Warning', but it actually stops at this point, produces no output and exits. So it should be an error instead.
2. No column in provided, and line 4 in the input is very long. So line should be provided.
3. 'dot' command exits with an error code 0, which normally indicates success. It should be something like -1.
|Additional Information||We use flex for scanning, which doesn't provide much context, especially for scanning errors. The code now gives a bit more information and some context.|
|Tags||No tags attached.|
|Attached Files||testcase.dot.bz2 (Attachment missing)|
Versions 2.36.0 and 2.34.0 both have the same problem.
The line where it fails is a very long description of enclosed blocks. It may be that this description is too long.
|Can you attach a file causing this behavior, or point me to one? Thanks.|
Attaching the testcase.
$ dot < testcase.dot
Warning: <stdin>: syntax error in line 5 near ''
|For the record, points 1 and 3 have been fixed as of 2.38.|
|2014-07-20 00:16||yurivict||New Issue|
|2014-07-20 01:49||yurivict||Note Added: 0000774|
|2014-07-24 11:51||erg||Note Added: 0000775|
|2014-07-24 13:10||yurivict||Note Added: 0000777|
|2014-07-24 13:12||yurivict||File Added: testcase.dot.bz2|
|2014-07-24 15:00||erg||Note Added: 0000778|
|2014-07-24 17:01||erg||Assigned To||=> erg|
|2014-07-24 17:01||erg||Status||new => resolved|
|2014-07-24 17:01||erg||Resolution||open => fixed|
|2014-07-24 17:01||erg||Additional Information Updated||View Revisions|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|