Tag Archives: F-Spot 0.5

Problems with database when rolling back from F-Spot 0.5 to F-Spot 0.4

Some people would like to try the new F-Spot 0.5 just to see the new features, and then rolling back to F-Spot 0.4, which till now looks stabler.

Actually the new F-Spot uses a different version of the database: upgrading F-Spot will upgrade the database, so rolling back to an old version of F-Spot will result in database damaging. Obviously it’s better to avoid this.

So ff you are planning to try F-Spot before switching to the new version, there are a few things you can do to save your work1 .

First method. Make a backup of your F-Spot settings

To make a backup of your F-Spot settings, you only need to make a copy of the ~/.gnome2/f-spot/ folder, which is the place in which F-Spot store its database. You can navigate to that folder by using Nautilus, or run a simple command from the console:

cp -av ~/.gnome2/f-spot/ ~/.gnome2/f-spot.backup/

After you finished trying F-Spot 0.5 and you still like the 0.4 version, you can easily rollback by running:

rm -rf ~/.gnome2/f-spot/
mv ~/.gnome2/f-spot.backup/ ~/.gnome2/f-spot/

Those two lines will restore the backup you made and will delete all the work and the updates you made while trying F-Spot 0.5.

Second method. Run F-Spot with a new empy database

You can also run F-Spot without touching at all your old database by using the following:

f-spot --basedir /tmpĀ  --photodir /tmp

This will store all the work you make during the try in the temporary directory, which will be deleted on your next reboot. F-Spot will not touch any of your old settings.

I already got database error: am I lost?

No, your aren’t. Everytime F-Spot gets an error loading the database it will try to restore it but will also make a copy of it in your home directory. So just have a look in your home: you will probably find a file called photos-20080924-0.db. The name could change a little bit: those numbers are the date in which the database was created, so in this case it’s 24th semptember 2008. After you find the file, you only need to copy it (do not move it, copy it) over the damaged database file, that is located in ~/.gnome2/f-spot/photos.db. Just remind that this will be the database used by the 0.5 version, so you must use that version to load it (i.e. you cannot use 0.4 anymore).

  1. we all know how long it takes to tag all the images []

New upstream version for F-Spot. Here it goes the 0.5.0.1

Some annoying issues in the new F-Spot 0.5 has made developers release a new version with some fix.

This version also perfectly builds on amd64 machines (the previous one had some problem on Ubuntu, don’t know why and now I just don’t care so much).

I uploaded a new version on my PPA on Launchpad. It is ready for Hardy and Intrepid. If you already installed F-Spot 0.5 from my ppa, you only need to run

sudo apt-get update
sudo apt-get upgrade

For more details on installation, please refer to my previous post.

New F-Spot 0.5.0 – Build for Ubuntu

F-Spot developers released a new version of their photo management software. Here you can read the release note. I made a package for Ubuntu Hardy and Ubuntu Intrepid. Both are available on my PPA on Launchpad. Note that there could be some issues with this build: please refer any problem you find. It is sufficient writing a comment on this blog.

Quick instructions for Hardy

If you are using Hardy, add the following repositories to your sources (you can either use Synaptic or edit your /etc/apt/sources.list):

deb http://ppa.launchpad.net/michelinux/ubuntu hardy main
deb-src http://ppa.launchpad.net/michelinux/ubuntu hardy main

On Hardy you will also need a more updated version of GTK-Sharp, which you will find in the same repository. So if you are using the standard apt way there are no problems, but if you prefer to download the single deb file remember to download the GTK-Sharp deb file as well.

Quick instructions for Intrepid

f you are using Intrepid, add the following repositories to your sources:

deb http://ppa.launchpad.net/michelinux/ubuntu intrepid main
deb-src http://ppa.launchpad.net/michelinux/ubuntu intrepid main

It is not necessary add the deb-src repository: add it only if you are planning to play with sources.

Know Issues

This package won’t compile on amd64. Still investigating. This is the build log, if you have any idea or suggestion please let me know (just leave a comment to this post). Also, if you have a 64bit machine (Intel or AMD it’s pretty much the same) youi could try to download the upstream source of F-Spot and trying to compile it on your Ubuntu box.

This has been solved with the new upstream version 0.5.0.1. Please upgrade your installation by running

sudo apt-get update
sudo apt-get upgrade