8000 dot2tex exits with status 0 (success) on error · Issue #82 · xyz2tex/dot2tex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
dot2tex exits with status 0 (success) on error #82
Open
@CyberShadow

Description

@CyberShadow
$ touch a
$ dot2tex a
ERROR    Parse error:

^
Expected {'graph' | 'digraph'}  (at char 0), (line:1, col:1)
ERROR    Failed to parse the input data. Is it a valid dot file?
Try to input xdot data directly. Example:
    dot -Txdot file.dot | dot2tex > file.tex

If this does not work, check that you have an updated version of PyParsing and
Graphviz. Users have reported problems with old versions. You can also run
dot2tex in debug mode using the --debug option:
    dot2tex --debug file.dot
A file dot2tex.log will be written to the current directory with detailed
information useful for debugging.
$ echo $?
0

This causes problems when running the software in a Makefile - bad/incomplete output is considered valid by build systems, and ends up cached and fed as input to other tools, which then result in confusing errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No la 338B bels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0