Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
f-spot [Le 28/04/2007, 17:00] Eikasia |
— (Version actuelle) | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | {{tag>edgy}} | ||
- | ---- | ||
- | |||
- | |||
- | |||
- | |||
- | ====== 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: | ||
- | |||
- | <code>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)</code> | ||
- | |||
- | 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 :<code>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</code> | ||
- | |||
- | En cas de souci: | ||
- | <code>cp $HOME/.gnome2/f-spot/photos.db-BACKUP $HOME/.gnome2/f-spot/photos.db</code> | ||
- | vous ramène au point de départ. | ||
- | (cf bug https://launchpad.net/distros/ubuntu/+source/f-spot/+bug/69910) |