xdot crashes on floats in the .dot file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[ Impact ]
xdot is totally unusable with graphviz >= 2.31, due to xdot format changes http://
[ Test case ]
$ cat > test.dot << EOF
digraph {
caesar [label = "caesar"];
lizard [label = "lizard"];
newton [label = "newton"];
lizard -> newton;
newton -> lizard;
caesar -> lizard;
lizard -> caesar;
}
EOF
$ xdot test.dot
If it crashes on startup, it's broken.
[ Regression Potential ]
~Nil, considering the level of brokennes.
=== Original report ===
Traceback (most recent call last):
File "/usr/bin/xdot", line 4, in <module>
xdot.main()
File "/usr/lib/
win.
File "/usr/lib/
self.
File "/usr/lib/
if self.widget.
File "/usr/lib/
self.
File "/usr/lib/
self.graph = parser.parse()
File "/usr/lib/
DotParser.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
shapes.
File "/usr/lib/
points = self.read_polygon()
File "/usr/lib/
x, y = self.read_point()
File "/usr/lib/
x = self.read_number()
File "/usr/lib/
return int(self.
ValueError: invalid literal for int() with base 10: '360.25'
This has been corrected in more recent versions of the software.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xdot 0.5-2
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu May 8 18:47:25 2014
InstallationDate: Installed on 2014-04-08 (29 days ago)
InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Daily amd64 (20140408)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xdot
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: patch |
Status changed to 'Confirmed' because the bug affects multiple users.