[Bug 1035136] Re: install_initd crashed with SyntaxError in __main__: invalid syntax
Colin Watson
cjwatson at canonical.com
Mon Jul 1 11:38:41 UTC 2013
Hardly irrelevant. Those scripts also have 2to3 run over them, so
that's OK.
There is a remaining incompatibility in initdutils.py, for which I've
just uploaded a fix. After that, /usr/lib/lsb/install_initd seems to
work fine in a saucy chroot.
lsb (4.1+Debian11ubuntu3) saucy; urgency=low
* Use open() rather than file() in initdutils.py, for Python 3
compatibility (see LP #1035136).
* Test fileob and strob against None in RFC822Parser.__init__ rather than
testing their truth value, to avoid a misleading error in the case of a
file with no LSB headers.
-- Colin Watson <cjwatson at ubuntu.com> Mon, 01 Jul 2013 12:36:13 +0100
--
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/1035136
Title:
install_initd crashed with SyntaxError in __main__: invalid syntax
Status in “lsb” package in Ubuntu:
Fix Committed
Status in “lsb” source package in Quantal:
Triaged
Status in “lsb” source package in Raring:
Triaged
Bug description:
Received a crash after installing an app
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: lsb-core 4.0-0ubuntu22
ProcVersionSignature: Ubuntu 3.5.0-8.8-generic 3.5.0
Uname: Linux 3.5.0-8-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
Date: Thu Aug 9 19:26:12 2012
ExecutablePath: /usr/lib/lsb/install_initd
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
InterpreterPath: /usr/bin/python3.2mu
ProcCmdline: /usr/bin/python3 /usr/lib/lsb/install_initd /etc/init.d/logmein-hamachi
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
PythonArgs: ['/usr/lib/lsb/install_initd', '/etc/init.d/logmein-hamachi']
SourcePackage: lsb
Title: install_initd crashed with SyntaxError in __main__: invalid syntax
UpgradeStatus: Upgraded to quantal on 2012-06-26 (44 days ago)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1035136/+subscriptions
More information about the foundations-bugs
mailing list