[SOLVED] Shotwell not running

Sometime in April or May, I either did a manual update or there was a PPA update, I can’t remember.
Anyway, Shotwell will not run any more, when I plug in my camera, the notification at the top of the window says that I can open Shotwell to import the pictures but when I click on it, nothing happens.

I have tried forcing versions but nothing happens, I have NOT tried a full uninstall as I get a warning that Unity will be removed too and I DON’T want that.

Anyone got any ideas on what I could do to fix this problem?

Shotwell will not run any more, when I plug in my camera
This might not be down to Shotwell.

Try running it from the terminal,( to see any error messages) with and without camera plugged in.

Shotwell uses gPhoto, http://www.gphoto.org/ a common Linux library to access digital cameras.

Maybe you could try (as a test workaround): simply remove the memory card from the camera
and connect it to your computer through a card reader.

I do remember connecting my camera and nothing happened, in the way that it couldnt ‘see’ the camera. So I installed another one, digiKam and it detected the camera.

Just tried running shotwell from terminal and got this;

peter@Petes-ubuntu-pc:~$ shotwell
shotwell: error while loading shared libraries: libgexiv2.so.0: cannot open shared object file: No such file or directory
peter@Petes-ubuntu-pc:~$

So I need to get that installed again but have no idea how, is that it?

It looks like Shotwell is looking for an outdated library.
Please post the result of:

dpkg --list | grep -E "(libgexiv2-0|shotwell)"

then

ls -l /usr/lib/libgexiv2.so*

If anything then it is Shotwell needs to be re-installed.
Perhaps you can force the re-install.

sudo -s
apt-get update && apt-get install --reinstall shotwell

peter@Petes-ubuntu-pc:~$ dpkg --list | grep -E “(libgexiv2-0|shotwell)”
ii libgexiv2-0 0.4.1-1oneiric2 GObject-based wrapper around the Exiv2 library
ii shotwell 0.11.6-0ubuntu0.1 digital photo organizer
peter@Petes-ubuntu-pc:~$

then
ls -l /usr/lib/libgexiv2.so*

peter@Petes-ubuntu-pc:~$ ls -l /usr/lib/libgexiv2.so*
lrwxrwxrwx 1 root root 18 2012-03-31 02:54 /usr/lib/libgexiv2.so.1 → libgexiv2.so.1.0.0
-rw-r–r-- 1 root root 126088 2012-03-31 02:54 /usr/lib/libgexiv2.so.1.0.0
peter@Petes-ubuntu-pc:~$

If anything then it is Shotwell needs to be re-installed. Perhaps you can force the re-install.
sudo -s
apt-get update && apt-get install --re-install shotwell

As thought Shotwell is looking for libgexiv2-0 but you got a newer version libgexiv2.so.1.0.0
Did you try the force reinstall?
If that failed then (for now) you could link the versions:

sudo ln -s /usr/lib/libgexiv2.so.1 /usr/lib/libgexiv2.so.0

I was waiting to see what you replied with.Tried the above commands and got this;

W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D0AFF96872D340A3
E: Command line option --re-install is not understood
root@Petes-ubuntu-pc:~#

Command line option --re-install is not understood
There was a typo in reinstall. Try runnung the commands separately:
sudo apt-get update

then

sudo apt-get install --reinstall shotwell

Tried that and it’s still not working, tried ‘Terminal’ and by ‘Application/Graphics/Shotwell’ and still no joy?

I take it from that that you have successfully updated and re-installed Shotwell.
What puzzles me is that it appears that libgexiv2.so.0 is the most up-to date version for Ubuntu 11.10
How come that you have libgexiv2.so.1? Have you installed it via ppa?

Have you tried the linking of the versions?

sudo ln -s /usr/lib/libgexiv2.so.1 /usr/lib/libgexiv2.so.0

Nope, it’s still not working. You mentioned linking them earlier but I honestly cant remember if I did, I I did but to play it safe, I’ll do it again.

I think I did a force install via Synaptec Package Manager

Just did the above command and… It worked ;D

Go have yourself a beer … or two on me 8)
Where did the problem with the files need linking, what exactly was going on???