ImportError: cannot import name _noncomma
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dot2tex (Debian) |
Fix Released
|
Unknown
|
|||
dot2tex (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using the LaTeX package dot2texi I got the error message:
Opening dot2tex stream hierarchicalMod
File "/usr/bin/dot2tex", line 2, in <module>
from dot2tex.dot2tex import main
File "/usr/lib/
import dot2tex as d2t
File "/usr/lib/
import dotparsing
File "/usr/lib/
from pyparsing import (Literal, CaselessLiteral, Word, Upcase, OneOrMore, ZeroOrMore,
ImportError: cannot import name _noncomma
The expected figure is missing in the resulting document.
Removing an unused import in /usr/lib/
--- /usr/lib/
+++ /usr/lib/
@@ -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,
dot_keywords = ['graph', 'subgraph', 'digraph', 'node', 'edge', 'strict']
I'm using:
$ lsb_release -rd
Description: Ubuntu 13.10
Release: 13.10
$ apt-cache policy dot2tex
dot2tex:
Installed: 2.8.7+repack-1
Candidate: 2.8.7+repack-1
Version table:
*** 2.8.7+repack-1 0
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: dot2tex 2.8.7+repack-1 [modified: usr/share/
ProcVersionSign
Uname: Linux 3.11.0-13-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Thu Nov 28 09:43:58 2013
MarkForUpload: True
PackageArchitec
SourcePackage: dot2tex
UpgradeStatus: Upgraded to saucy on 2013-11-02 (26 days ago)
Changed in dot2tex (Debian): | |
status: | Unknown → New |
Changed in dot2tex (Debian): | |
status: | New → Fix Released |
Thanks for taking your time to report this issue and help making Ubuntu better.
I can confirm that dot2tex crash with the same error message on Ubuntu Trusty. I also found that this bug has been reported upstream to Debian, so I attached a bug watch)