[Bug 159467] New: Misleading error message with path change in digikamrc file.

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

[Bug 159467] New: Misleading error message with path change in digikamrc file.

Sherwood Botsford-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159467         
           Summary: Misleading error message with path change in digikamrc
                    file.
           Product: digikam
           Version: unspecified
          Platform: Debian stable
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: sgbotsford gmail com


Version:           0.8.2 built with KDE 3.5.5 (using KDE 4.0.2)
Installed from:    Debian stable Packages
OS:                Linux

Not exactly a crash:  Just won't start...

This may be related to #144253, the message is the same.

If the path in the digikamrc points to an empty directory, you get the "can't change old database to new database format"
message, and the application quits.

Changing the path by hand to point to a real directory solves the issue.

****

History:  The first time I tried digikam I had an ntfs file system mounted at /i (The same drive as it appears
on booting winsooze.)  In my search for the optimum photo app I uninstalled digikam.  This morning I reinstalled
it and started getting this message.

At this point I don't know if it was due to the directory being empty or something moving from /i to /photos when
I reformated the volume.

Messages from the startup window were of the form:
digikam: WARNING: [bool AlbumDB::execSql(const QString&, QStringList*, bool)] sq lite_compile error: unable to open database file on query: SELECT name FROM sqli te_master WHERE type='table' ORDER BY name;
digikam: WARNING: [bool AlbumDB::execSql(const QString&, QStringList*, bool)] sq lite_compile error: unable to open database file on query: SELECT value FROM Set tings WHERE keyword='Locale';
digikam: WARNING: [bool AlbumDB::execSql(const QString&, QStringList*, bool)] sq lite_compile error: unable to open database file on query: REPLACE into Settings  VALUES ('Locale','UTF-8');
digikam: WARNING: [bool AlbumDB::execSql(const QString&, QStringList*, bool)] sq lite_compile error: unable to open database file on query: SELECT name FROM sqli te_master WHERE type='table' ORDER BY name;
digikam: WARNING: Failed to open new Album Database
OggS-SEEK: at 704 want 47096 got 23104 (diff-requested 46392)
OggS-SEEK: at 47040 want 1032 got 0 (diff-requested -46008)
OggS-SEEK: at 704 want 47096 got 23104 (diff-requested 46392)
OggS-SEEK: at 47040 want 1032 got 0 (diff-requested -46008)
sgb brightforest:~/ kde/share/apps/digikam$ khelpcenter: WARNING: Main template file name is empty.
OggS-SEEK: at 0 want 60408 got 51136 (diff-requested 60408)
OggS-SEEK: at 60352 want 520 got 0 (diff-requested -59832)


Desired behaviour:

"Digikam cannot find the database that should be at /i/{whatever}
Have you moved your photo collection?"
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159467] Misleading error message with path change in digikamrc file.

Gilles Caulier-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159467         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |setup
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159467] Misleading error message with path change in digikamrc file.

Arnd Baecker
In reply to this post by Sherwood Botsford-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159467         
arnd.baecker web de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From arnd.baecker web de  2008-03-17 20:52 -------
SVN commit 786717 by abaecker:

When upgradeDB_Sqlite2ToSqlite3 fails, this could also mean that the directory
with the Album Path is write-protected or does not exist
(eg moved by the user). A more verbose error message is given now.

BUG: 159467
BUG: 144253



 M  +4 -1      albummanager.cpp  
 M  +1 -0      upgradedb_sqlite2tosqlite3.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=786717
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159467] Misleading error message with path change in digikamrc file.

Arnd Baecker
In reply to this post by Sherwood Botsford-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159467         




------- Additional Comments From arnd.baecker web de  2008-03-17 20:54 -------
Sherwood, thanks for the report, fixed in current svn by a more detailed error description as suggested.

Best, Arnd
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel