kokizzu / giver

Automatically exported from code.google.com/p/giver
MIT License
0 stars 0 forks source link

GIVER just does not start #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I've installed GIVER through UBUNTU SOFTWARE CENTER on a desktop AMD64 running 
UBUNTU 11.04 (2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 
athlon i386 GNU/Linux). Installation does not come up with any error and icon 
appears in Applications. I've tried to start from command line and from icon 
and nothing happens. The output from command lines is:

"anibal@anibal-PCLX:~$ giver
[Debug]: PhotoService static constructor called
[Debug]: New GiverService was created
[Debug]: We have the port : 32811
[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)"

I've installed Giver on my netbook with UBUNTU 10.04 and it works fine.

¿Do I have to install any other package to make Giver work?

Thanks for your support

Original issue reported on code.google.com by cgarau...@gmail.com on 17 May 2011 at 9:24

GoogleCodeExporter commented 9 years ago
I run Lubuntu 11.04 on one computer, and get the above error, on another 
computer running straight Ubunutu 11.04 The program works fine, but obviously I 
need both to work for Giver to be of any use.
Any help on this issue would be appreciated.
(the unworking computer is Compaq Presario R3000 AMD)

Original comment by israeld...@gmail.com on 14 Jun 2011 at 1:06

GoogleCodeExporter commented 9 years ago
I have an ubuntu 11.04 installation on a desktop and a notebook, and on both 
when I run giver, nothing happens, the icon does not come up, and it is as if I 
never ran the program. On both machines giver worked fine under ubuntu 10.10. I 
run ubuntu 11.04 (natty narwhal) in ubuntu classic no effects mode (but giver 
does not work nomatter what mode I run the system at).

Original comment by stefs...@gmail.com on 13 Jul 2011 at 3:36

GoogleCodeExporter commented 9 years ago
Try starting Giver from the command line.  The error given should help anybody 
who wants to fix this understand what your problem is.

Original comment by sanforda...@gmail.com on 13 Jul 2011 at 4:26

GoogleCodeExporter commented 9 years ago
Did you read the first post? There is the terminal output!

Original comment by escalarc...@gmail.com on 13 Jul 2011 at 4:36

GoogleCodeExporter commented 9 years ago
Okay, the commandline output I get (on a desktop AMD Athlon XP 1700+ with 512 
MB RAM, running Ubuntu 11.04 Natty Narwhal) is:

[Debug]: PhotoService static constructor called
[Debug]: New GiverService was created
[Debug]: We have the port : 43822
[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)

Original comment by stefs...@gmail.com on 13 Jul 2011 at 5:20

GoogleCodeExporter commented 9 years ago
My best guess is the fault lies with Ubuntu 11.04, because it works on ubuntu 
10.10, and I tested it with Mint Linux and it works there too, but Ubuntu 
11.04, no go. :-/

Original comment by stefs...@gmail.com on 13 Jul 2011 at 5:22

GoogleCodeExporter commented 9 years ago
Re comment #4: there are multiple reasons an app might crash on startup; I 
wanted to make sure that the user in comment #2 had the same problem as the 
original submitter.

Which he does, so no need to file a new bug.

Original comment by sanforda...@gmail.com on 13 Jul 2011 at 5:23

GoogleCodeExporter commented 9 years ago
Re: comment #2  I reaffirm that it comes up just fine on my Ubuntu 11.04, but 
not in my Lubuntu 11.04 on a different computer.  So it may be a combination of 
the 11.04 and hardware together.I am running the classic mode as well on my 
laptop and it starts, and the applet docks nicely.

Original comment by israeld...@gmail.com on 14 Jul 2011 at 12:42

GoogleCodeExporter commented 9 years ago
that is kind of strange, because on my systems (laptop and desktop) with 
different hardware, the same thing happens = nothing. I upgraded both my 
machines from ubuntu 10.10. Did you upgrade the machines from an earlier ubuntu 
version, or did you do a complete reinstall?

Original comment by stefs...@gmail.com on 14 Jul 2011 at 9:28

GoogleCodeExporter commented 9 years ago
Regarding comment #8, also I may add, that logic dictates it should not be an 
issue with ubuntu 11.04 and certain hardware, because both my systems worked 
100% ok with giver on ubuntu 10.10 and not on 11.04. My thoughts are though, 
that if you have a working giver and ubuntu 11.04, it could be something about 
the way of installation (upgrade or clean reinstall) or something software 
related.

Original comment by stefs...@gmail.com on 14 Jul 2011 at 9:34

GoogleCodeExporter commented 9 years ago
YIPPIE!! I managed to find a solution/workaround:

Ubuntu 11.04 (and variants) needs the proper package installed: libx11-dev

To install the package, go into synaptic package manager, search for libx11-dev 
and install the package, then logout/login to Ubuntu again, and Giver 
starts/works nicely now!

I crossreferenced some bugreports on the web regarding the exception on 
"libx11.so", and managed to find the following page: 
https://bugs.launchpad.net/glippy/+bug/749039

Here the solution/workaround is described in the bottommost posts. :)

Cheers!

Original comment by stefs...@gmail.com on 14 Jul 2011 at 10:32

GoogleCodeExporter commented 9 years ago
ah ha... that must be the thing.  well... smart thinking!!!  I will check out 
my lubuntu to see if I need that installed.  thanks!!

Original comment by israeld...@gmail.com on 16 Jul 2011 at 12:54

GoogleCodeExporter commented 9 years ago
I just found out that there was actually a bugreport filed on Ubuntus own bug 
reporting service about this, where the above workaround also is described in 
comment #6, on this URL:

https://bugs.launchpad.net/ubuntu/+source/giver/+bug/772076

Original comment by stefs...@gmail.com on 16 Jul 2011 at 10:07