at bottom :- On 11/1/13, Christopher Schramm <deb...@shakaweb.org> wrote: >> # try: >> # self.Manager = _KillSwitch.Manager() >> # except: >> # raise Exception("Failed to initialize >> killswitch manager") >> >> Is this how you wanted me to do it ? > > Keep the self.Manager = ... line. This is the call were the actual > exception happens. Unfortunately it is caught by the try-except block > and then the "Failed to initialize" exception is raised, hiding the > actual exception.
did as you told/shared. # try: self.Manager = _KillSwitch.Manager() # except: # raise Exception("Failed to initialize killswitch manager") Tried it again and now the actual exception is shown :- 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'] Traceback (most recent call last): File "/usr/bin/blueman-applet", line 125, in <module> BluemanApplet() File "/usr/bin/blueman-applet", line 68, in __init__ self.Plugins.Load() File "/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py", line 98, in Load __import__(self.module_path.__name__ + ".%s" % plugin, None, None, []) File "/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py", line 50 self.Manager = _KillSwitch.Manager() ^ IndentationError: unexpected indent Hopefully this is/was better info. than before. -- 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