in-line :- On 10/30/13, Christopher Schramm <deb...@shakaweb.org> wrote: > Hi,
Hi, > I wasn't able to reproduce the killswitch exception. > > Please go to > "/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py", > line 50 and remove or comment out the lines with try, except and raise > to see the actual exception. The try sentence starts from line 49. # try: # self.Manager = _KillSwitch.Manager() # except: # raise Exception("Failed to initialize killswitch manager") Is this how you wanted me to do it ? > You should get the same output in the console when starting > blueman-applet manually (after killing it if it's already running). This is the blueman-applet running :- $ ps aux | grep blueman shirish 2109 0.0 0.1 682440 3808 ? Sl 09:59 0:00 /usr/bin/python /usr/bin/blueman-applet shirish 16888 0.0 0.0 10356 928 pts/0 S+ 18:41 0:00 grep --color=auto blueman This is me killing it. $ sudo kill -9 2109 This is me starting blueman-applet manually :- $ blueman-applet Loading configuration plugins blueman-applet version 1.23 starting Stale PID, overwriting 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 58, in on_load self.signals.Handle(self.Manager, "switch-added", self.on_switch_added) AttributeError: 'KillSwitch' object has no attribute 'Manager' _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) Failed to load KillSwitch 'KillSwitch' object has no attribute 'Manager' _________ __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 `0x197f460' 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'> _________ 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 _________ pa_context_event (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306) 3 _________ 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) 4 _________ <lambda> (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:318) 1 Deleting plugin instance <blueman.plugins.applet.KillSwitch.KillSwitch object at 0x1dde7d0> Hopefully this gave you some more info. Please lemme know if I need to do anything more from my end. I'm letting the comments stay in that file till you guide me further. > Cheers -- 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