Cette page n'a pas encore d'étiquettes.
Apportez votre aide…

Ceci est une ancienne révision du document !



F-Spot

Si vous avez installé edgy et si vous utilisez votre partition home de dapper, il se peut que vous rencontriez le problème suivant:

localhost$ f-spot
Starting new FSpot server

Unhandled Exception: Mono.Data.SqliteClient.SqliteSyntaxException: file is encrypted or is not a database
in <0x00106> Mono.Data.SqliteClient.SqliteCommand:GetNextStatement (IntPtr pzStart, System.IntPtr pzTail, System.IntPtr pStmt)
in <0x000d0> Mono.Data.SqliteClient.SqliteCommand:ExecuteReader (CommandBehavior behavior, Boolean want_results, System.Int32 rows_affected)
in <0x0001c> Mono.Data.SqliteClient.SqliteCommand:ExecuteNonQuery ()
in <0x0004c> MetaStore:CreateTable ()
in <0x000a9> MetaStore:.ctor (Mono.Data.SqliteClient.SqliteConnection connection, Boolean is_new)
in <0x000c7> Db:Init (System.String path, Boolean create_if_missing)
in <0x0008d> FSpot.Core:.ctor ()
in <0x00337> FSpot.Driver:Main (System.String[] args)

Pas de panique. La base de données est seulement dans une mauvaise version.

Pour la migrer, ouvrer un terminal et taper les commandes suivantes :

cp $HOME/.gnome2/f-spot/photos.db $HOME/.gnome2/f-spot/photos.db-BACKUP
sqlite $HOME/.gnome2/f-spot/photos.db .dump | sqlite3 out.db
mv out.db $HOME/.gnome2/f-spot/photos.db

En cas de souci:

cp $HOME/.gnome2/f-spot/photos.db-BACKUP $HOME/.gnome2/f-spot/photos.db

vous ramène au point de départ. (cf bug https://launchpad.net/distros/ubuntu/+source/f-spot/+bug/69910)

  • f-spot.1177772446.txt.gz
  • Dernière modification: Le 18/04/2011, 14:45
  • (modification externe)