Giver does not start on 11.04 (missing dependency on libx11-dev)

Bug #772076 reported by Pablo_F on 2011-04-27
86
This bug affects 19 people
Affects Status Importance Assigned to Milestone
giver (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: giver

Ubuntu natty 20110427.
giver 0.1.8-6

$ giver
[Debug]: PhotoService static constructor called
[Debug]: New GiverService was created
[Debug]: ServiceAdded was null and not called
[Debug]: We have the port : 43943
[Debug]: About to create the Avahi client
[Debug]: Adding Avahi Service _giver._tcp
[Debug]: Avahi Service _giver._tcp is added
[Debug]: GiverService:OnEntryGroupStateChanged was called state: Registering
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.DllNotFoundException: libX11.so
  at (wrapper managed-to-native) Egg.TrayIcon:XInternAtom (intptr,string,bool)
  at Egg.TrayIcon.OnRealized () [0x00000] in <filename unknown>:0
  at Gtk.Widget.realized_cb (IntPtr widget) [0x00000] in <filename unknown>:0
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.realized_cb(IntPtr widget)
   at Gtk.Widget.gtk_widget_show_all(IntPtr )
   at Gtk.Widget.ShowAll()
   at Giver.Application.SetupTrayIcon()
   at Giver.Application.InitializeIdle()
   at GLib.Idle+IdleProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at Giver.Application.StartMainLoop()
   at Giver.Application.Main(System.String[] args)
$

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: giver 0.1.8-6
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Thu Apr 28 00:40:47 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110416)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=es_ES:en
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: giver
UpgradeStatus: No upgrade log present (probably fresh install)

Pablo_F (pablo-fbus) wrote :
tea for one (markexhome) wrote :

I have recently installed 11.04 Natty on my netbook and I have been unable to start Giver. The terminal output is identical to the previous report from Pablo F.

Andrew M (andrewmaccuaig) wrote :

I get the same output when running giver from the terminal. Running Natty 11.04 64-bit.

Hornblende (hornblende) wrote :

Same problem here on Ubuntu 11.04 with unity.
It starts on Ubuntu 10.04 LTS but not on 11.04.
I have the same terminal output too.

tea for one (markexhome) on 2011-05-14
description: updated
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting. I get the same error, so I'm marking this confirmed.

Changed in giver (Ubuntu):
status: New → Confirmed
Kristian Kißling (kkissling) wrote :

There is a workaround for this bug. Just install "libx11-6" and "libx11-dev" and giver should run.

Dave (kn8aw) wrote :

I now have giver working after installing the suggested libraries. libx11-6 was already on my system so I added libx11-dev and it pulled in a few other packages. Issuing the "giver" command in a terminal produces a working giver with no errors.

DCohen (davidsmail240-beep) wrote :

Lubuntu installation:
.../etc$ cat issue
Ubuntu 11.04 \n \l

I install giver 0.1.8-6 via Synaptic. It fails to run, as per other reports:

$ giver
[Debug]: PhotoService static constructor called
[Debug]: New GiverService was created
[Debug]: We have the port : 56308
[Debug]: About to create the Avahi client
[Debug]: Adding Avahi Service _giver._tcp
[Debug]: GiverService:OnEntryGroupStateChanged was called state: Registering
[Debug]: Avahi Service _giver._tcp is added
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.DllNotFoundException: libX11.so
  at (wrapper managed-to-native) Egg.TrayIcon:XInternAtom (intptr,string,bool)
  at Egg.TrayIcon.OnRealized () [0x00000] in <filename unknown>:0
  at Gtk.Widget.realized_cb (IntPtr widget) [0x00000] in <filename unknown>:0
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.realized_cb(IntPtr widget)
   at Gtk.Widget.gtk_widget_show_all(IntPtr )
   at Gtk.Widget.ShowAll()
   at Giver.Application.SetupTrayIcon()
   at Giver.Application.InitializeIdle()
   at GLib.Idle+IdleProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at Giver.Application.StartMainLoop()
   at Giver.Application.Main(System.String[] args)

Now install libx11-dev using Synaptic (libx11-6 already installed: it's a dependency for giver, according to Synaptic). And...

$ giver
[Debug]: PhotoService static constructor called
[Debug]: New GiverService was created
[Debug]: We have the port : 56308
[Debug]: About to create the Avahi client
[Debug]: Adding Avahi Service _giver._tcp
[Debug]: GiverService:OnEntryGroupStateChanged was called state: Registering
[Debug]: Avahi Service _giver._tcp is added
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.DllNotFoundException: libX11.so
  at (wrapper managed-to-native) Egg.TrayIcon:XInternAtom (intptr,string,bool)
  at Egg.TrayIcon.OnRealized () [0x00000] in <filename unknown>:0
  at Gtk.Widget.realized_cb (IntPtr widget) [0x00000] in <filename unknown>:0
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.realized_cb(IntPtr widget)
   at Gtk.Widget.gtk_widget_show_all(IntPtr )
   at Gtk.Widget.ShowAll()
   at Giver.Application.SetupTrayIcon()
   at Giver.Application.InitializeIdle()
   at GLib.Idle+IdleProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at Giver.Application.StartMainLoop()
   at Giver.Application.Main(System.String[] args)

So that workaround didn't do it for me. In a previous Lubuntu 10.10 installation I had on this machine (Dell Dimension 2400), giver used to run successfully.

Pablo_F (pablo-fbus) wrote :

As I was the original reporter, just a quick note to say "me too" with regards to comment #7. Thanks for the workaround.

Joshua Clark (joshuaclark94) wrote :

I'd like to also agree, Dave (kn8aw)'s solution did work. Thanks!

The workaround outlined in #7 did not work for me - I still get the same output as DCohen in #8.

(I'm using Ubuntu 11.10 by the way).

Alin Andrei (nilarimogard) wrote :

@itsjustarumour: for Ubuntu 11.10, you also need to tweak the giver run command to use mono runtime 2.0 instead of 4.0 (which is default in Ubuntu 11.10). See here: http://www.webupd8.org/2011/11/get-giver-to-work-in-ubuntu-1110-and.html

Hans Joachim Desserud (hjd) wrote :

As Alin says above, giver in Ubuntu 11.10 is also affected by another issue keeping it from starting. This is a separate issue is discussed in bug 898380, and does NOT affect Ubuntu 11.04

summary: - Giver does not start
+ Giver does not start on 11.04 (missing dependency on libx11-dev)
Jezza (balingupjer) wrote :

I had same problems which were solved by the two workarounds above -
- is it possible to fix the package for natty?
- perhaps someone can look after the giver packages in launchpad - does this mean maintain it in general?

Its such a cool little application - bizarre how hard it still is to transfer files in this day and age, which is what makes it so valuable.

papukaija (papukaija) on 2012-06-04
tags: added: unmetdeps
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers