You are not logged in.

#1 2005-10-27 15:26:51

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

f-spot

I just installed f-spot, and second time I try to run it, it fails with following errors:

 #  f-spot
Unable to find active server: Name 'org.gnome.FSpot' does not exist.

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
in <0x00157> PhotoStore:Query (System.String query)
in <0x00432> PhotoStore:Query (.Tag[] tags, .DateRange range)
in <0x00025> FSpot.PhotoQuery:.ctor (.PhotoStore store)
in <0x00611> MainWindow:.ctor (.Db db)
in <0x00026> FSpot.Core:get_MainWindow ()
in <0x0000e> FSpot.Core:Organize ()
in <0x003b8> Driver:Main (System.String[] args)

Uninstalling ja reinstalling doesn't help. How can I fix this?

.murkus

Offline

#2 2005-10-27 18:19:53

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: f-spot

murkus wrote:

I just installed f-spot, and second time I try to run it, it fails with following errors:

 #  f-spot
Unable to find active server: Name 'org.gnome.FSpot' does not exist.

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
in <0x00157> PhotoStore:Query (System.String query)
in <0x00432> PhotoStore:Query (.Tag[] tags, .DateRange range)
in <0x00025> FSpot.PhotoQuery:.ctor (.PhotoStore store)
in <0x00611> MainWindow:.ctor (.Db db)
in <0x00026> FSpot.Core:get_MainWindow ()
in <0x0000e> FSpot.Core:Organize ()
in <0x003b8> Driver:Main (System.String[] args)

Uninstalling ja reinstalling doesn't help. How can I fix this?

.murkus

I assume you'r using the f-spot from the community package. I have thought about upgrading it, however the current version has a critical bug: it can delete the wrong file on disk :shock: http://bugzilla.gnome.org/show_bug.cgi?id=301150
This and the author's warning

*** WARNING ***

        This is not ready for end-user consumption yet.

        In particular, the format of the database is still changing
        and the code doesn't handle upgrading existing tables when the
        schema changes.

        If things stop working after a CVS update, chances are that
        the database format has changed.  In that case you will have
        to nuke your database (rm ~/.gnome2/f-spot/photos.db) and
        start over, importing all your pictures again.

about f-spot not ready for end-user consumption have kept me from updating the package in the repo.  If you still want to try it, I would recommend keeping a backup of your pictures.

Here my current PKGBUILD:

pkgname=f-spot
pkgver=0.1.3
pkgrel=1
pkgdesc="A personal photo management program for Gnome."
url="http://www.gnome.org/projects/f-spot/"
#depends=('libjpeg' 'mono' 'sqlite2' 'gtk-sharp' 'libgphoto2' 'bash')
depends=('libjpeg')
makedepends=('mono' 'sqlite2' 'gtk-sharp' 'libgphoto2' 'dbus-sharp')
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.1/$pkgname-$pkgver.tar.bz2)
md5sums=('3c08f01ca24ae2847f11bf47db878c29')

build() {
  export MONO_SHARED_DIR=$startdir/src/.wabi
  mkdir -p $MONO_SHARED_DIR
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/gnome
  make || return 1
  make DESTDIR=$startdir/pkg install
  rm -fr $MONO_SHARED_DIR
  find $startdir/pkg -name '*.la' -exec rm {} ;
}

[/code]

Offline

#3 2005-10-28 05:43:43

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: f-spot

Snowman wrote:

I assume you'r using the f-spot from the community package. I have thought about upgrading it, however the current version has a critical bug: it can delete the wrong file on disk :shock: http://bugzilla.gnome.org/show_bug.cgi?id=301150


  If you still want to try it, I would recommend keeping a backup of your pictures.

[voice=Keanu] Whoa! [/voice] Thanks Snowman for the warning, I hadn't realized it was in so early stage of development. My GF would kill me if I nuked her 3-4gigs of pics.. :shock:

.murkus

Offline

Board footer

Powered by FluxBB