Your message dated Thu, 06 Feb 2014 16:18:27 +0000
with message-id <e1wbrel-0001ek...@franck.debian.org>
and subject line Bug#725066: fixed in dot2tex 2.8.7+repack-1.1
has caused the Debian Bug report #725066,
regarding dot2tex: failed import of _noncomma with pyparsing 2.0.1 (patch 
included)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
725066: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725066
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: dot2tex
Source-Version: 2.8.7+repack-1.1

We believe that the bug you reported is fixed in the latest version of
dot2tex, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 725...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcris...@debian.org> (supplier of updated dot2tex package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 06 Feb 2014 16:52:31 +0100
Source: dot2tex
Binary: dot2tex
Architecture: source all
Version: 2.8.7+repack-1.1
Distribution: sid
Urgency: high
Maintainer: Peter Collingbourne <pe...@pcc.me.uk>
Changed-By: Julien Cristau <jcris...@debian.org>
Description: 
 dot2tex    - Graphviz to LaTeX converter
Closes: 725066
Changes: 
 dot2tex (2.8.7+repack-1.1) unstable; urgency=high
 .
   * Non-maintainer upload.
   * Fix ImportError in dotparsing.py (closes: #725066)
Checksums-Sha1: 
 2a9c2f60b99f6236ab2dbedd22b687510abe1d71 2050 dot2tex_2.8.7+repack-1.1.dsc
 a19ff424f383ac537ea427957c845a94e71ee62d 6227 dot2tex_2.8.7+repack-1.1.diff.gz
 56755c3013cd3e2e7251c5061ea85e3d1d240291 324856 
dot2tex_2.8.7+repack-1.1_all.deb
Checksums-Sha256: 
 a952a9b232f296a28a7b8e29f5bbdc1849f4b6c40d281d4641a556565c419c4b 2050 
dot2tex_2.8.7+repack-1.1.dsc
 4df57e6d034c8150a7438e2d17d31847b53c78ab41919438821d283e1a26595f 6227 
dot2tex_2.8.7+repack-1.1.diff.gz
 6e17d3888ae0c6172fcf49eb93a21a7e646bf6ab202817035e28a802cfb5897d 324856 
dot2tex_2.8.7+repack-1.1_all.deb
Files: 
 121227f22e5c8d1e2f4537b76ed977af 2050 graphics optional 
dot2tex_2.8.7+repack-1.1.dsc
 c22af9ba7c86caa0e9c7f8255d347c9e 6227 graphics optional 
dot2tex_2.8.7+repack-1.1.diff.gz
 e8ee533b3c585338e34d6d2f381985e4 324856 graphics optional 
dot2tex_2.8.7+repack-1.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS87CLAAoJEDEBgAUJBeQM+HsQALWHBg9JTl9HYaDKWcRVybqG
bVXbW4LsspUHNhyRdX8sEGIZM1pFfzLfWvTT1KconZI1RPi/wMy6c1Ys7ZDzyRmm
vUp6uzXMenqUg8fKndDOSvACb5BGb3iYKLNauZYPqp76usBjE3eADSECG5hRSXfo
2h8csfmZk8E5M5pD62QuaPUsLEDaG76gLdywQrN3+QN4048pePzdDikyK8W542mS
4hyj5IuQojcwj09wohzUCMR7rP7HQzlv4WXgP5eyRikhMMTEGsSNNTkPqsPfJ916
oAksrtFyhMcMmn2io6aaRVvElTxStLKCawO7kw23TlZCTeVFF5dd2oX9vkju8KlO
lA0NLUbh8FWUYTckUhW2KfyUdypOpCZtHkYn+thZkYsVtou+jynN3JBbz4FCrTjd
eQhRWcZ39Hb5SnEOh974npzbb7XJk4u/kqdom8RVV+nJvLetLrlwtsT82NN0HtVx
IG+HaDK/V8Th+J6jR/UoONi7jB3HG/3NceGJpjJscX2bhwOcn4nY8398UcFHCdDF
LscJjiqr0I730lgldw5iJIAG4yOXwIPi8Y8vrZzZOGOhHXKd3ewCa8BIrmmg3KNi
+yPxZVv36ubLCVX0GlyaM99F3OTUn45HWt+E9RiR1DKA1H534/cd6FJwJ29RkGYc
kVLf7dRzpa1mLffMEP6X
=KR7N
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to