tophat has #!/usr/bin/env python
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tophat (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
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]
ProcVersionSign
Uname: Linux 4.2.0-27-generic x86_64
NonfreeKernelMo
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)
This bug is unreproducible on Ubuntu 16.04.3. Do you still have this issue with a fresh install?