System.DllNotFoundException: libgdk-x11-2.0

Bug #619585 reported by Jonas Alves
46
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Docky
Fix Released
Medium
Rico Tzschichholz

Bug Description

After upgrading to the latest Docky version from ppa, it won't open anymore.

Ubuntu Lucid (10.04), everything uptodate
Nvidia 9500GT 1GB
mono-2.0-gac (2.4.4~svn151842-1ubuntu4)

=====================================================

jonas@jonas-desktop:~$ docky -d
[Info 22:39:49.653] Docky version: 2.1.0 bzr docky r1614 ppa
[Info 22:39:49.663] Kernel version: 2.6.32.24
[Info 22:39:49.664] CLR version: 2.0.50727.1433
[Debug 22:39:49.940] [SystemService] Using org.freedesktop.UPower for battery information
[Debug 22:39:49.976] [DesktopItemService] Loading remap file '/usr/share/docky/remaps.ini'.
[Debug 22:39:49.990] [DesktopItemService] Remapping 'Picasa3.exe' to 'picasa'.
[Debug 22:39:49.990] [DesktopItemService] Remapping 'nbexec' to 'netbeans'.
[Debug 22:39:49.990] [DesktopItemService] Remapping 'deja-dup-preferences' to 'deja-dup'.
[Debug 22:39:49.990] [DesktopItemService] Remapping 'VirtualBox' to 'virtualbox'.
[Warn 22:39:49.991] [DesktopItemService] Could not find remap file '/home/jonas/.local/share/docky/remaps.ini'!
[Debug 22:39:49.993] [DesktopItemService] Loading desktop item cache '/home/jonas/.cache/docky/docky.desktop.en_US.utf8.cache'.
[Info 22:39:50.264] [ThemeService] Setting theme: Glass
[Info 22:39:50.268] [DockServices] Dock services initialized.
[Debug 22:39:50.270] [UserArgs] BufferTime = 10
[Debug 22:39:50.271] [UserArgs] MaxSize = 2147483647
[Debug 22:39:50.271] [UserArgs] NetbookMode = False
[Debug 22:39:50.271] [UserArgs] NoPollCursor = False
[Debug 22:39:50.285] [DBusManager] DBus Registered: org.gnome.Docky
[Debug 22:39:50.288] [DBusManager] DBus Registered: net.launchpad.DockManager
[Debug 22:39:50.388] [PluginManager] Plugin manager initialized.
[Debug 22:39:50.403] [PluginManager] Processing config file for "Battery Monitor".
[Debug 22:39:50.510] [PluginManager] Processing config file for "Bookmarks".
[Debug 22:39:50.511] [PluginManager] Processing config file for "CPU Monitor".
[Debug 22:39:50.512] [PluginManager] Processing config file for "Clock".
[Debug 22:39:50.512] [PluginManager] Processing config file for "Desktop".
[Debug 22:39:50.513] [PluginManager] Processing config file for "GMail".
[Debug 22:39:50.513] [PluginManager] Processing config file for "Mounter".
[Debug 22:39:50.514] [PluginManager] Processing config file for "NPR".
[Debug 22:39:50.515] [PluginManager] Processing config file for "Network Manager".
[Debug 22:39:50.516] [PluginManager] Processing config file for "Recent Documents".
[Debug 22:39:50.518] [PluginManager] Processing config file for "Session Manager".
[Debug 22:39:50.519] [PluginManager] Processing config file for "Timer".
[Debug 22:39:50.520] [PluginManager] Processing config file for "Trash".
[Debug 22:39:50.521] [PluginManager] Processing config file for "Weather".
[Debug 22:39:50.521] [PluginManager] Processing config file for "Workspace Switcher".
[Info 22:39:50.573] [PluginManager] Loaded "Trash".
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.DllNotFoundException: libgdk-x11-2.0
  at (wrapper managed-to-native) Docky.Services.Xlib.X:gdk_x11_display_get_xdisplay (intptr)
  at Docky.Services.Xlib.X.GdkDisplayXDisplay (Gdk.Display display) [0x00000] in /build/buildd/docky-2.1.0~bzr1614/Docky.Services/Docky.Services/Xlib/Xlib.cs:109
  at Docky.Services.Xlib.X11Atoms..ctor (Gdk.Display dsp) [0x0037e] in /build/buildd/docky-2.1.0~bzr1614/Docky.Services/Docky.Services/Xlib/X11Atoms.cs:182
  at Docky.Services.Xlib.X11Atoms.get_Instance () [0x0000a] in /build/buildd/docky-2.1.0~bzr1614/Docky.Services/Docky.Services/Xlib/X11Atoms.cs:34
  at Docky.Interface.DockWindow.SetStruts () [0x0000c] in /build/buildd/docky-2.1.0~bzr1614/Docky/Docky/Interface/DockWindow.cs:2755
  at Docky.Interface.DockWindow.Reposition () [0x00126] in /build/buildd/docky-2.1.0~bzr1614/Docky/Docky/Interface/DockWindow.cs:1514
  at Docky.Interface.DockWindow.OnShown () [0x00006] in /build/buildd/docky-2.1.0~bzr1614/Docky/Docky/Interface/DockWindow.cs:1483
  at Gtk.Widget.shown_cb (IntPtr widget) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.shown_cb(IntPtr widget)
   at Gtk.Widget.gtk_widget_show_all(IntPtr )
   at Gtk.Widget.ShowAll()
   at Docky.Interface.Dock..ctor(Docky.Interface.DockPreferences prefs) in /build/buildd/docky-2.1.0~bzr1614/Docky/Docky/Interface/Dock.cs:line 56
   at Docky.DockController.CreateDocks() in /build/buildd/docky-2.1.0~bzr1614/Docky/Docky/DockController.cs:line 183
   at Docky.DockController.Initialize() in /build/buildd/docky-2.1.0~bzr1614/Docky/Docky/DockController.cs:line 93
   at Docky.Docky.Main(System.String[] args) in /build/buildd/docky-2.1.0~bzr1614/Docky/Docky/Docky.cs:line 92
jonas@jonas-desktop:~$

Robert Dyer (psybers)
Changed in docky:
assignee: nobody → Rico Tzschichholz (ricotz)
importance: Undecided → Medium
Revision history for this message
tad.mcdearmont (tad-mcdearmont) wrote :

Exactly same error message for me when run from terminal.

Revision history for this message
Mohd Azwan Ahmad (mohd-azwan) wrote :

Same for me, but with a little workaround, docky can run succesfully

cd /usr/lib
sudo ln -s libgdk-x11-2.0.so.0 libgdk-x11-2.0.so

Revision history for this message
winter666madness@gmail.com (winter666madness) wrote :

That made it work.

Revision history for this message
BorjaLagaron (mundoborjonudo-deactivatedaccount) wrote :

Why this happened? Thx, that's the solution to fix the problem.

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

fixed in bzr1615

Changed in docky:
status: New → Fix Committed
Robert Dyer (psybers)
Changed in docky:
milestone: none → 2.1.0
Changed in docky:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.