Public bug reported:

Running tophat installed from the Ubuntu repositories results in this
error:

╰─➤  tophat                                                                     
                               1 ↵
  File "/usr/bin/tophat", line 1003
    except getopt.error, msg:
                       ^
SyntaxError: invalid syntax


The tophat script at /usr/bin/tophat has shebang line /usr/bin/env python, it 
appears it should be /usr/bin/env python2

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: tophat 2.1.0+dfsg-1build1 [modified: usr/bin/tophat]
ProcVersionSignature: Ubuntu 4.2.0-27.32-generic 4.2.8-ckt1
Uname: Linux 4.2.0-27-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Feb 19 14:42:44 2016
InstallationDate: Installed on 2014-11-20 (456 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: tophat
UpgradeStatus: Upgraded to wily on 2015-11-04 (106 days ago)

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


** Tags: amd64 apport-bug wily

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1547650

Title:
  tophat has #!/usr/bin/env python

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

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

Reply via email to