kblueplugd fails to start due to syntax error

Bug #147013 reported by Mikael Gerdin
8
Affects Status Importance Assigned to Milestone
kdebluetooth (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

kblueplugd fails to start due to some python-code lines appearing before the #!/usr/bin/python-line
I don't know if the lines:
"import commands

x = commands.getstatusoutput('ps ax|grep rotatelogs')[1]
"
are even supposed to be used in that file, at least I can't see any reference to the variable x anywhere.
(This causes some really strange side-effects, like running "import" and creating files called "commands" at interesting places)

Revision history for this message
Mikael Gerdin (mgerdin) wrote :

patch to remove the first three lines of /usr/bin/kblueplugd

Revision history for this message
Mikael Gerdin (mgerdin) wrote :

and by writing three I mean five, apparently my brain is suffering from multiple off-by-one errors

Revision history for this message
Mikael Gerdin (mgerdin) wrote :

this has been fixed in 1.0~beta8-0ubuntu5

Changed in kdebluetooth:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.