Red Hat Bugzilla – Bug 485204
dot2tex fails with AttributeError on all input
Last modified: 2009-02-16 11:15:47 EST
Description of problem:
Every dot file given to dot2tex causes it to fail with the following stack trace:
Traceback (most recent call last):
File "/usr/bin/dot2tex", line 2, in <module>
from dot2tex.dot2tex import main
File "/usr/lib/python2.5/site-packages/dot2tex/dot2tex.py", line 127, in <module>
AttributeError: type object 'Graph' has no attribute 'attributes'
Release number of selected component (if applicable):
Steps to Reproduce:
1. dot2tex graph.dot
dot2tex fails with a stack trace.
The converted dot file should be printed to stdout.
According to this, http://groups.google.com/group/dot2tex-users/browse_thread/thread/24cea755fa1debe8, dot2tex isn't compatible with the version of pydot which ships with Fedora 10. However, I've tested the current version of dot2tex, 2.8.4, and that works fine. I believe the solution to this bug is to package the current version of dot2tex, not 2.7.0.
Thanks for your report. The upgrade to 2.8.4 has been sitting waiting to be pushed/tested for months. I just pushed it. If you can't wait you can download the package.
Looks good. Problem solved. Thanks a lot.