Comment 0 for bug 683122

Revision history for this message
Duane Hinnen (duanedesign) wrote :

Currently CLI Companion works only with python 2.6 and above. This means it does not work with Debian Lenny. It looks like it would be not much work to make CLI Companion run on python 2.5.

05:59 #ubuntu-beginners-team: < geekosopher> duanedesign: clicompanion needs python-support > 0.90 ,
                                             lenny has 0.8.4
06:17 #ubuntu-beginners-team: < geekosopher> duanedesign: got python-support 1.0.3 from backports
                                             but getting this error http://paste.ubuntu.com/538271/ (see below)
06:18 #ubuntu-beginners-team: < geekosopher> duanedesign: so does that mean it won't work for lenny?

pastebin of error

Processing triggers for python-support ...
/usr/lib/pymodules/python2.5/clicompanionlib/controller.py:157: Warning: 'with' will become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/clicompanionlib/controller.py ...
  File "/usr/lib/pymodules/python2.5/clicompanionlib/controller.py", line 157
    with open(CHEATSHEET, "a") as cheatfile:
            ^
SyntaxError: invalid syntax

/usr/lib/pymodules/python2.5/clicompanionlib/utils.py:38: Warning: 'with' will become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/clicompanionlib/utils.py ...
  File "/usr/lib/pymodules/python2.5/clicompanionlib/utils.py", line 38
    with open('/etc/passwd') as f:
            ^
SyntaxError: invalid syntax

/usr/lib/pymodules/python2.5/clicompanionlib/view.py:62: Warning: 'with' will become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/clicompanionlib/view.py ...
  File "/usr/lib/pymodules/python2.5/clicompanionlib/view.py", line 62
    with open(CHEATSHEET, "r") as cheatfile:
            ^
SyntaxError: invalid syntax