edit /usr/lib/lsb/initdutils.py
change: import re, sys, os
to: import re, sys, os, cStringIO
change: fileob = StringIO(strob)
to: fileob = cStringIO.StringIO(strob)
work fine for me.
2016-09-07 13:40:02,116: Installing service 'vsmserver'...
2016-09-07 13:40:02,187: Output (stderr):
2016-09-07 13:40:02,187: Traceback (most recent call last):
2016-09-07 13:40:02,187: File "/usr/lib/lsb/install_initd", line
46, in
2016-09-07 13:40:02,187: headers =
This bug is not fixed. install_initd still fails in the same way on Debian
GNU/Linux 8 with all updates installed:
# /usr/lib/lsb/install_initd /etc/init.d/cups
Traceback (most recent call last):
File "/usr/lib/lsb/install_initd", line 46, in
headers =
On Tue, 2014-05-27 at 11:43 +0200, Didier 'OdyX' Raboud wrote:
Nice catch, thanks. Can you suggest an alternative patch?
If the goal is that this should work on Python 3 as well then I'm afraid
not, at least not as far as this particular bug report is concerned. The
script is full of calls to
Just to clarify, I guess the bug-specific solution would be to revert
the commit referenced above, since it does nothing to get initdutils
running on Python 3 but only breaks things on Python 2.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe.
Bad commit here:
http://anonscm.debian.org/gitweb/?p=collab-maint/lsb.git;a=commitdiff;h=f4ed7f08600d633c3daba9f494997f1c3aed
StringIO.StringIO and io.StringIO do not have identical API.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe.
Le mardi, 27 mai 2014, 11.07:15 Aaron Sowry a écrit :
Bad commit here:
http://anonscm.debian.org/gitweb/?p=collab-maint/lsb.git;a=commitdiff;
h=f4ed7f08600d633c3daba9f494997f1c3aed
StringIO.StringIO and io.StringIO do not have identical API.
Nice catch, thanks. Can you suggest an
Package: lsb-core
Version: 4.1+Debian12
Severity: normal
Dear Maintainer,
Any attempt to install init script using usr/lib/lsb/install_initd fails with
the following error message:
Traceback (most recent call last):
File /usr/lib/lsb/install_initd, line 46, in module
headers =
8 matches
Mail list logo