Package: dot2tex Version: 2.8.7+repack-1 Severity: normal dot2tex fails (I think since pyparsing got upgraded to 2.0.1) with "ImportError: cannot import name _noncomma":
$ dot2tex -f tikz -c --autosize --docpreamble "\input /home/sanjoy/sfse/fig/dot_template " fig/circular-acceleration-group.dot > fig/circular-acceleration-group.dottex Traceback (most recent call last): File "/usr/bin/dot2tex", line 2, in <module> from dot2tex.dot2tex import main File "/usr/lib/pymodules/python2.7/dot2tex/__init__.py", line 36, in <module> import dot2tex as d2t File "/usr/lib/pymodules/python2.7/dot2tex/dot2tex.py", line 47, in <module> import dotparsing File "/usr/lib/pymodules/python2.7/dot2tex/dotparsing.py", line 26, in <module> from pyparsing import (Literal, CaselessLiteral, Word, Upcase, OneOrMore, ZeroOrMore, ImportError: cannot import name _noncomma See <https://github.com/nlhepler/pydot-py3/issues/1> for more on this issue. I fixed it with the diff below: --- dotparsing.py 2009-10-05 07:57:02.000000000 -0400 +++ dotparsing.py 2013-09-30 21:20:44.000000000 -0400 @@ -26,7 +26,7 @@ from pyparsing import (Literal, CaselessLiteral, Word, Upcase, OneOrMore, ZeroOrMore, Forward, NotAny, delimitedList, oneOf, Group, Optional, Combine, alphas, nums, restOfLine, cStyleComment, nums, alphanums, printables, empty, quotedString, - ParseException, ParseResults, CharsNotIn, _noncomma, dblQuotedString, QuotedString, ParserElement, + ParseException, ParseResults, CharsNotIn, dblQuotedString, QuotedString, ParserElement, Suppress,Regex,removeQuotes) dot_keywords = ['graph', 'subgraph', 'digraph', 'node', 'edge', 'strict'] -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.10-2-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dot2tex depends on: ii graphviz 2.26.3-15+b1 ii python 2.7.5-5 ii python-pyparsing 2.0.1+dfsg1-1 ii python-support 1.0.15 Versions of packages dot2tex recommends: ii pgf 2.10-1 ii preview-latex-style 11.87-1 ii texlive-latex-base 2013.20130918-1 ii texlive-pstricks 2013.20130918-1 dot2tex suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org