[test case]
$ cat test-xdot
digraph {
caesar [label = "caesar"];
lizard [label = "lizard"];
newton [label = "newton"];
lizard -> newton;
newton -> lizard;
caesar -> lizard;
lizard -> caesar;
}
$ xdot test-xdot
Traceback (most recent call last):
File "/usr/bin/xdot", line 4, in <module>
xdot.main()
File "/usr/lib/python2.7/dist-packages/xdot.py", line 1947, in main
win.open_file(args[0])
File "/usr/lib/python2.7/dist-packages/xdot.py", line 1881, in open_file
self.set_dotcode(fp.read(), filename)
File "/usr/lib/python2.7/dist-packages/xdot.py", line 1863, in set_dotcode
if self.widget.set_dotcode(dotcode, filename):
File "/usr/lib/python2.7/dist-packages/xdot.py", line 1477, in set_dotcode
self.set_xdotcode(xdotcode)
File "/usr/lib/python2.7/dist-packages/xdot.py", line 1497, in set_xdotcode
self.graph = parser.parse()
File "/usr/lib/python2.7/dist-packages/xdot.py", line 1167, in parse
DotParser.parse(self)
File "/usr/lib/python2.7/dist-packages/xdot.py", line 977, in parse
self.parse_graph()
File "/usr/lib/python2.7/dist-packages/xdot.py", line 986, in parse_graph
self.parse_stmt()
File "/usr/lib/python2.7/dist-packages/xdot.py", line 1032, in parse_stmt
self.handle_node(id, attrs)
File "/usr/lib/python2.7/dist-packages/xdot.py", line 1142, in handle_node
shapes.extend(parser.parse())
File "/usr/lib/python2.7/dist-packages/xdot.py", line 612, in parse
w = s.read_number()
File "/usr/lib/python2.7/dist-packages/xdot.py", line 494, in read_number
return int(self.read_code())
ValueError: invalid literal for int() with base 10: '32.25'
[recheck by proposed package]
* enabled trusty-proposed & installed package.
$ LANG=C apt-cache policy xdot
xdot:
Installed: 0.5-2ubuntu0.1
Candidate: 0.5-2ubuntu0.1
Version table:
*** 0.5-2ubuntu0.1 0
400 http://ubuntu-ashisuto.ubuntulinux.jp/ubuntu/
trusty-proposed/universe i386 Packages
100 /var/lib/dpkg/status
0.5-2 0
500 http://ubuntu-ashisuto.ubuntulinux.jp/ubuntu/ trusty/universe i386
Packages
$ xdot test-xdot
* The graph was displayed. see the screenshot(text-xdot.png).
The bug was corrected.
** Attachment added: "test-xdot.png"
https://bugs.launchpad.net/ubuntu/+source/xdot/+bug/1317688/+attachment/4122917/+files/test-xdot.png
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1317688
Title:
xdot crashes on floats in the .dot file
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdot/+bug/1317688/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs