Public bug reported:

Hello,

this is xubuntu 14.04 64 bits.

xdot fails to start start completely.

This is my simple test file:

$ cat xdot-test
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'

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xdot 0.5-2
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Sat May 24 12:29:25 2014
InstallationDate: Installed on 2014-02-06 (106 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140205)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=de_DE
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.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/1322831

Title:
  xdot fails to start - error is: ValueError: invalid literal for int()
  with base 10: '32.25'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdot/+bug/1322831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to