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
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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.
Comment by Angel Velasquez (angvp) - Friday, 29 January 2010, 17:54 GMT
Today arrived a mail on [arch-general], I am copying here, thanks to Andrea Fagiani:

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.

Loading...