[Bug 1035136] Re: install_initd crashed with SyntaxError in __main__: invalid syntax
Ma Xiaojun
damage3025 at gmail.com
Sun Jun 30 14:26:51 UTC 2013
Actually all the files under /usr/lib/lsb are in Python2...
"#! /usr/bin/python3" is just wrong.
@mitya57
The synatx difference is far beyond the difference of "except" I guess. You may run 2to3 to see the changeset required.
BTW, "assert True" non-sense at the beginning of initdutils.py will be
rejected by Python 3.
--
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:
Confirmed
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