at bottom :-

On 11/1/13, Christopher Schramm <deb...@shakaweb.org> wrote:
>>   File
>> "/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py",
>> line 50
>>     self.Manager = _KillSwitch.Manager()
>>     ^
>> IndentationError: unexpected indent
>
> -.- Python...
>
> You need to remove one tab in front of that statement so that it accepts
> the syntax.

Oops, sorry didn't understand that.

Did that so now it shows that excerpt like this :-

#                       try:
                        self.Manager = _KillSwitch.Manager()
#                       except:
#                               raise Exception("Failed to initialize 
killswitch manager")

 Hence ran the blueman-applet again. It shows the following :-

$ blueman-applet
Loading configuration plugins
blueman-applet version 1.23 starting
Using gconf config backend
_________
Load (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:68)
['ShowConnected', 'KillSwitch', 'AppIndicator', 'Networking',
'ExitItem', 'SerialManager', 'RecentConns', 'PPPSupport',
'DBusService', 'PulseAudio', 'NMDUNSupport', 'StandardItems',
'Headset', 'NetUsage', 'Menu', 'PowerManager', 'DiscvManager',
'NMPANSupport', 'AuthAgent', 'StatusIcon', 'TransferService',
'DhcpClient']
Using gconf config backend
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.Headset.Headset'>
Using gconf config backend
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.Networking.Networking'>
Using gconf config backend
_________
load_nap_settings
(/usr/lib/python2.7/dist-packages/blueman/plugins/applet/Networking.py:47)
Loading NAP settings
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.StatusIcon.StatusIcon'>
Using gconf config backend
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.DBusService.DBusService'>
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.NMDUNSupport.NMDUNSupport'>
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.Menu.Menu'>
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.ShowConnected.ShowConnected'>
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
Not loading PPPSupport because it's conflict has higher priority
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.PulseAudio.PulseAudio'>
Using gconf config backend
_________
pa_context_event
(/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306)
1
_________
on_load 
(/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PulseAudio.py:160)
PulseAudio version: [4, 0, 0]
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.PowerManager.PowerManager'>
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.KillSwitch.KillSwitch'>
Using gconf config backend
_________
on_load 
(/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:40)
Using the old killswitch system, reason: [Errno 2] No such file or
directory: '/dev/rfkill'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/blueman/plugins/BasePlugin.py",
line 65, in _load
    self.on_load(parent)
  File "/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py",
line 50, in on_load
    self.Manager = _KillSwitch.Manager()
NameError: global name '_KillSwitch' is not defined
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
Failed to load KillSwitch
global name '_KillSwitch' is not defined
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.AuthAgent.AuthAgent'>
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.DhcpClient.DhcpClient'>
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.SerialManager.SerialManager'>
Using gconf config backend
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.AppIndicator.AppIndicator'>
/usr/lib/python2.7/dist-packages/blueman/plugins/applet/AppIndicator.py:44:
Warning: /tmp/buildd/glib2.0-2.36.4/./gobject/gsignal.c:2475: signal
`child-added' is invalid for instance `0x1999460' of type `GtkMenu'
  self.indicator.set_menu(applet.Plugins.Menu.get_menu())
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
Not loading NMPANSupport because it's conflict has higher priority
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.TransferService.TransferService'>
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.DiscvManager.DiscvManager'>
Using gconf config backend
_________
update_menuitems
(/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:132)
warning: Adapter is None
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.RecentConns.RecentConns'>
Using gconf config backend
_________
__load_plugin 
(/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142)
loading <class 'blueman.plugins.applet.StandardItems.StandardItems'>
Deleting plugin instance <blueman.plugins.applet.KillSwitch.KillSwitch
object at 0x1df87d0>
_________
pa_context_event
(/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306)
2
_________
on_obex_owner_changed
(/usr/lib/python2.7/dist-packages/blueman/plugins/applet/TransferService.py:70)
obex owner changed:
_________
on_dbus_name_owner_change (/usr/bin/blueman-applet:102)
org.bluez owner changed to
_________
update_menuitems
(/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:132)
warning: Adapter is None
_________
UpdatePowerState
(/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:176)
off False
foff False
on True
current state True
new state True
_________
pa_context_event
(/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306)
3
_________
pa_context_event
(/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306)
4
_________
<lambda> (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:318)
1
q

The only thing which has crashed here seems to be this :-

on_load 
(/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:40)
Using the old killswitch system, reason: [Errno 2] No such file or
directory: '/dev/rfkill'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/blueman/plugins/BasePlugin.py",
line 65, in _load
    self.on_load(parent)
  File "/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py",
line 50, in on_load
    self.Manager = _KillSwitch.Manager()
NameError: global name '_KillSwitch' is not defined

Hopefully you have found what is wrong yet or if not would guide me.
-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to