Python 3 compatibility

Bug #1172175 reported by Amir
6
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/bin/python2.7
(or /usr/bin/python2)

Long term solution: contact upstream developer and add support for all supported Python versions.

Thanks,
Amir

Revision history for this message
wvengen (wvengen) wrote :

Thanks for reporting this. It might take a while until all is done, but I've started the porting.

Changed in disper:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.