[jaunty] can't take web screenshot: libxul.so not found

Bug #342408 reported by Mark Grandi
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Shutter
Invalid
Undecided
Unassigned
gnome-web-photo (Ubuntu)
Fix Released
Undecided
Siegfried Gevatter

Bug Description

i just installed jaunty and i tried to take a web screenshot, but it always pops a window saying 'failed to take web screenshot' and in the terminal it says:

gnome-web-photo: error while loading shared libraries: libxul.so: cannot open shared object file: No such file or directory

i have xulrunner and i tried installing libxul and libxul0d and all that and it still doesn't work.

ubuntu jaunty using the latest shutter from the ppa

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Not really a shutter problem per se, it's gnome-web-photo not working properly. Will help investigate though as to why.

What does "ldd /usr/bin/gnome-web-photo" say?

Changed in shutter:
status: New → Invalid
Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

I've already heard that. I think the dependencies of gnome-web-photo are currently broken in jaunty.
I've just installed jaunty as a virtual machine, so i can do some testing as well.

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Installing the package libxul-dev solves the library issue but gnome-web-photo does not work at all in jaunty.

Changed in gnome-web-photo:
status: New → Confirmed
Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Bug 342408] Re: [jaunty] can't take web screenshot: libxul.so not found

Well, it was upgraded from 0.3 to 0.5...

Revision history for this message
Mark Grandi (markgrandi) wrote :

this bug should be marked as effecting gnome-web-photo as well then...although i am not sure how to do that =P

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

I've just downloaded the latest version of gnome-web-photo (0.6) and compiled it.

1) download and extract the .tar.gz (http://ftp.acc.umu.se/pub/GNOME/sources/gnome-web-photo/0.6/)
2) install build-dependencies => sudo apt-get build-dep gnome-web-photo
3) change to newly created directory
4) ./configure
5) make
6) sudo make install

Everything works fine now. Is there any chance to get this into jaunty quickly?

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

I think so, if we make them a fixed package and ask them to review & add it: https://wiki.ubuntu.com/SponsorshipProcess

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Ok, so Emilo Lopez made a fix that works (apparently linking to libxul is, unsurpisingly, a mess, and it should be done at runtime and not compile time - same as firefox does it) that uses a script to start gnome-web-photo. Like firefox. and it works.

So here is the attached .diff.gz and a pre-build 64bit package

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Now to find a MOTU to get this approved...

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Insturctions say to subscribe ubuntu-universe-sponsors and they stop here. So I guess now we wait and pray.

Revision history for this message
Siegfried Gevatter (rainct) wrote :
Changed in gnome-web-photo (Ubuntu):
assignee: nobody → rainct
status: Confirmed → In Progress
Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Ah, the upstream version is in jaunty now! Great news...

https://launchpad.net/ubuntu/+source/gnome-web-photo/0.6-0ubuntu1

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Yes. Does it fix your problems?

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Yeah, it does.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Great :). I'm closing this then.

Changed in gnome-web-photo (Ubuntu):
status: In Progress → Fix Released
assignee: rainct → nobody
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Hm... well Emilio tested yesterday and it still did not work for him.

I can't test it because after todays upgrades, my vm refuses to start X, has a huge resolution with the fonts being all over the screen and generally being in a very broken state.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Uhm, right... I've just tried on a freshly installed system and indeed it still fails.

Changed in gnome-web-photo (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Oh sorry, you are right.

I've tested it on the machine where I compiled the new upstream version manually (i did a sudo make uninstall, of course).
It does not work on a freshly installed system.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

I think the script proposed by Emilio be used, because it is the same thing
that Firefox itself does. It doesn't link against libxul at compile and uses
a script instead to set its location. And it works

Revision history for this message
Daniel Holbach (dholbach) wrote :

Can somebody update the patch if it is still necessary for 0.6-0ubuntu1?

Unsubscribing ubuntu-universe-sponsors until then.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

The original diff.gz already does that though... can it be used please?

Changed in gnome-web-photo (Ubuntu):
assignee: nobody → rainct
status: Confirmed → In Progress
Changed in gnome-web-photo (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-web-photo - 0.6-0ubuntu2

---------------
gnome-web-photo (0.6-0ubuntu2) jaunty; urgency=low

  * debian/gnome-web-photo.install, debian/scripts:
     - Create a launcher script so that allow it to load xulrunner.
       Thanks to Emilio López <email address hidden>. (LP: #342408).
  * debian/rules:
     - Rename the gnome-web-photo binary as "gnome-web-photo.real".
  * debian/control:
     - Add xulrunner-1.9 to the Depends.
     - Remove the Homepage - it just points to an FTP site.

 -- Siegfried-Angel Gevatter Pujals <email address hidden> Tue, 24 Mar 2009 18:54:35 +0100

Changed in gnome-web-photo:
status: Fix Committed → Fix Released
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Great, thank you very much RainCT and Emilio!

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.