Python 3 compatibility
Bug #1172175 reported by
Amir
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
disper |
In Progress
|
Undecided
|
Unassigned | ||
disper (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
The executable can not be used when the default python interpreter is python3.2:
$ disper --version
File "/usr/bin/disper", line 34
except Exception,e:
SyntaxError: invalid syntax
Suggested solution: update dependency metadata to require python2.7 (or some other python 2.x metapackage), and patch the executable script from:
#!/usr/bin/env python
to:
#!/usr/
(or /usr/bin/python2)
Long term solution: contact upstream developer and add support for all supported Python versions.
Thanks,
Amir
To post a comment you must log in.
Thanks for reporting this. It might take a while until all is done, but I've started the porting.