Failed to copy old database file

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Failed to copy old database file

Mark Alford

I upgraded to Fedora 10, which has digikam 0.10.0, release 0.16.rc1.fc10.

I tried to look at my pictures, which were assembled using an older
version of digikam under Fedora 9, and and got this error message:

> The schema updating process from version 4 to 5 failed, caused by an error
> that we did not expect. You can try to discard your old database and start
> with an empty one. (In this case, please move the database files
> "digikam3.db" and "digikam4.db" from the directory ".").
> More probably you will want to
> report this error to the [hidden email] mailing list. As well, please
> have a look at what digiKam prints on the console.

digikam did not print anything on the console.

The pictures and the old digikam3.db file are on my local hard drive.
I have write access to the directory where they live (an empty
digikam4.db file was produced).
I am running Gnome, not KDE, but this has never been a problem before.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Failed to copy old database file

Marcel Wiesweg
> I upgraded to Fedora 10, which has digikam 0.10.0, release 0.16.rc1.fc10.
>
> I tried to look at my pictures, which were assembled using an older
>
> version of digikam under Fedora 9, and and got this error message:
> > The schema updating process from version 4 to 5 failed, caused by an


> > error that we did not expect.


That's your problem, noone ran into this before ;-) At least not that I know of.


> > You can try to discard your old database
> > and start with an empty one. (In this case, please move the database
> > files "digikam3.db" and "digikam4.db" from the directory ".").
> > More probably you will want to
> > report this error to the [hidden email] mailing list. As well,
> > please have a look at what digiKam prints on the console.
>
> digikam did not print anything on the console.


I guess that's because debug messages are switched off. They would be useful though. Try if you can switch on 50003 with kdebugdialog. Not sure if they are removed on compile time though.


>
> The pictures and the old digikam3.db file are on my local hard drive.
> I have write access to the directory where they live (an empty
> digikam4.db file was produced).


Please check the digikamrc file digikam is accessing. There should be an Album Path entry. And it should be the same file you used with digikam 0.9 before - or did you enter the location in the dialog appearing on first run?




> I am running Gnome, not KDE, but this has never been a problem before.
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users




_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Failed to copy old database file

Mark Alford
On Thu, 19 Mar 2009, Marcel Wiesweg wrote:
> That's your problem, noone ran into this before ;-) At least not that I know
> of.

Thou art rude but I forgive thee because thou hast healed my digikam (see below)

> Please check the digikamrc file digikam is accessing. There should be an Album
> Path entry. And it should be the same file you used with digikam 0.9 before -
> or did you enter the location in the dialog appearing on first run?

This was the key to the problem. When I upgraded from Fedora 9
to 10, the ~/.kde directory didn't get copied across to my new home dir
so there was no digikamrc file in ~/.kde/share/config/
Luckily I still have a backup copy of my old Fedora 9 home directory, so I
just copied the digikamrc file across from there, and then when I started
digikam it worked fine, copying the old database to the new format.

Many thanks for your help.

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Failed to copy old database file

Marcel Wiesweg
Am Donnerstag 19 März 2009 schrieb Mark Alford:
> On Thu, 19 Mar 2009, Marcel Wiesweg wrote:
> > That's your problem, noone ran into this before ;-) At least not that I
> > know of.
>
> Thou art rude but I forgive thee because thou hast healed my digikam (see
> below)


I was referring to the "that we did not expect" part of the error message


>
> > Please check the digikamrc file digikam is accessing. There should be an
> > Album Path entry. And it should be the same file you used with digikam
> > 0.9 before - or did you enter the location in the dialog appearing on
> > first run?
>
> This was the key to the problem. When I upgraded from Fedora 9
> to 10, the ~/.kde directory didn't get copied across to my new home dir
> so there was no digikamrc file in ~/.kde/share/config/
> Luckily I still have a backup copy of my old Fedora 9 home directory, so I
> just copied the digikamrc file across from there, and then when I started
> digikam it worked fine, copying the old database to the new format.


All right. Actually, this requirement to have a digikamrc worked for 99% of users, but it's not strictly necessary. Will think about it for 0.11.


>
> Many thanks for your help.



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users