Control: severity -1 grave

This is release-critical. The program is unusable
currently.

On Mon, Sep 30, 2013 at 09:25:28PM -0400, Sanjoy Mahajan wrote:
> 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']
> 

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Please do not top-post if possible.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to