[Bug 1129642] [NEW] lsb package incompatible with Python 2.7
Josh Berkus
josh at agliodbs.com
Tue Feb 19 00:57:39 UTC 2013
Public bug reported:
The LSB utils use the old-style (Python 2.2) "raise" statement
throughout the Python code for tools like initdutils. With Python 2.7,
this causes them to error out. Example:
=========
Stopping LogMeIn Hamachi VPN tunneling engine logmein-hamachi *
Traceback (most recent call last):
File "/usr/lib/lsb/remove_initd", line 3, in <module>
import sys, re, os, initdutils
File "/usr/lib/lsb/initdutils.py", line 18
raise ValueError, 'need a file or string'
^
SyntaxError: invalid syntax
Unpacking replacement logmein-hamachi ...
Setting up logmein-hamachi (2.1.0.86-1) ...
Traceback (most recent call last):
File "/usr/lib/lsb/install_initd", line 3, in <module>
import sys, re, os, initdutils
File "/usr/lib/lsb/initdutils.py", line 18
raise ValueError, 'need a file or string'
^
SyntaxError: invalid syntax
Starting LogMeIn Hamachi VPN tunneling engine logmein-hamachi *
Processing triggers for ureadahead ...
==========
Please take two steps from here:
1. kick the bug upstream.
2. add a packaging requirement for lsb-core depending on Python 2.5
until they fix their code.
** Affects: lsb (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lsb in Ubuntu.
https://bugs.launchpad.net/bugs/1129642
Title:
lsb package incompatible with Python 2.7
Status in “lsb” package in Ubuntu:
New
Bug description:
The LSB utils use the old-style (Python 2.2) "raise" statement
throughout the Python code for tools like initdutils. With Python
2.7, this causes them to error out. Example:
=========
Stopping LogMeIn Hamachi VPN tunneling engine logmein-hamachi *
Traceback (most recent call last):
File "/usr/lib/lsb/remove_initd", line 3, in <module>
import sys, re, os, initdutils
File "/usr/lib/lsb/initdutils.py", line 18
raise ValueError, 'need a file or string'
^
SyntaxError: invalid syntax
Unpacking replacement logmein-hamachi ...
Setting up logmein-hamachi (2.1.0.86-1) ...
Traceback (most recent call last):
File "/usr/lib/lsb/install_initd", line 3, in <module>
import sys, re, os, initdutils
File "/usr/lib/lsb/initdutils.py", line 18
raise ValueError, 'need a file or string'
^
SyntaxError: invalid syntax
Starting LogMeIn Hamachi VPN tunneling engine logmein-hamachi *
Processing triggers for ureadahead ...
==========
Please take two steps from here:
1. kick the bug upstream.
2. add a packaging requirement for lsb-core depending on Python 2.5
until they fix their code.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1129642/+subscriptions
More information about the foundations-bugs
mailing list