Public bug reported:

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 625, in parse
    points = self.read_polygon()
  File "/usr/lib/python2.7/dist-packages/xdot.py", line 517, in read_polygon
    x, y = self.read_point()
  File "/usr/lib/python2.7/dist-packages/xdot.py", line 500, in read_point
    x = self.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: '360.25'

This has been corrected in more recent versions of the software.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xdot 0.5-2
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: nvidia
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)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xdot
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: xdot (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
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

Reply via email to