FS#17900 - [ndesk-dbus] Unhandled Exception
Attached to Project:
Arch Linux
Opened by Robert Hollencamp (rhollencamp) - Tuesday, 19 January 2010, 06:52 GMT
Last edited by Jan de Groot (JGC) - Saturday, 30 January 2010, 19:08 GMT
Opened by Robert Hollencamp (rhollencamp) - Tuesday, 19 January 2010, 06:52 GMT
Last edited by Jan de Groot (JGC) - Saturday, 30 January 2010, 19:08 GMT
|
Details
Description:
https://bugs.launchpad.net/ndesk-dbus/+bug/377672 When trying to suspend using GNOME DO, I would get an error. I followed one bug report to the aforementioned one, which solves the problem for me. Attached is the patch that makes the fix suggested in the bug. Additional info: * extra/ndesk-dbus 0.6.0-1 Steps to reproduce: Install GNOME Do & GNOME Do Plugins Enable Session plugin Try to suspend using GNOME Do |
This task depends upon
Closed by Jan de Groot (JGC)
Saturday, 30 January 2010, 19:08 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.6.0-2.
Saturday, 30 January 2010, 19:08 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.6.0-2.
Bug #377672 <https://bugs.launchpad.net/ndesk-dbus/+bug/377672>
I stumbled upon this while trying to suspend my laptop using Gnome-DO's Gnome-session plugin. It may also cause problems with other C# apps.
There's a quick fix for this in the first post of the launchpad's bug report :
--- ndesk-dbus-0.6.0.orig/src/TypeImplementer.cs 2007-10-11 20:01:11.000000000 +0000
+++ ndesk-dbus-0.6.0/src/TypeImplementer.cs 2010-01-29 18:11:32.000000000 +0000
@@ -34,7 +34,7 @@ namespace NDesk.DBus
InitHack ();
- TypeBuilder typeB = modB.DefineType (declType.Name + "Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject));
+ TypeBuilder typeB = modB.DefineType (declType.FullName + "Proxy", TypeAttributes.Class | TypeAttributes.Public, typeof (BusObject));
Implement (typeB, declType);
Might want to add this quick fix to the package in extra.