[Digikam-devel] [Bug 193522] New: first run (with existing v3 database) fails, "No album library path..."

Jonathan Marten jjm at keelhaul.me.uk
Thu May 21 15:48:04 BST 2009


https://bugs.kde.org/show_bug.cgi?id=193522

           Summary: first run (with existing v3 database) fails, "No album
                    library path..."
           Product: digikam
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: jjm at keelhaul.me.uk


Version:           0.11.0-svn (rev.: 968562) (using Devel)
OS:                Linux
Installed from:    Compiled sources

Started the KDE4 version of digikam for the very first time, with no existing
config file or database.  On the second page of the first run wizard, entered
"/share/photos" for the image store location and accepted the default
"/home/jjm/Pictures" for the database location.  /share/photos is an NFS
directory containing nothing but my images, /home/jjm/Pictures contains the
existing 'digikam3.db' database.

Accepted the defaults on all of the other wizard pages.  After clicking
"Finish", the error message was displayed:

---------------------------------------------------
No album library path has been found in the configuration file. Giving up the
schema updating process. Please try with an empty database, or repair your
configuration.
---------------------------------------------------

Running digikam for the second time produced the same error message.  The
contents of ~/.kde4/share/config/digikamrc at this stage are:

---------------------------------------------------
[Album Settings]
Database File Path=/home/jjm/Pictures
Item Right Click Action=0
Preview Load Full Image Size=false
Show Album ToolTips=false
Show ToolTips=false

[General Settings]
Version=0.11.0-svn

[ImageViewer Settings]
UseRawImportTool=false

[LightTable Settings]
Load Full Image size=false

[Metadata Settings]
Save Date Time=false
Save EXIF Comments=false
Save Rating=false
Save Tags=false
---------------------------------------------------

stderr output while running digikam (for the first run with no existing config
file) is:

---------------------------------------------------
digikam(16906) Digikam::CollectionPage::CollectionPage: "/home/jjm/Pictures"
digikam(16906)/digikam (core) Digikam::CollectionPage::checkRootAlbum: Root
album is :  "/home/jjm/Pictures"
digikam(16906)/digikam (core) Digikam::CollectionPage::checkDatabase: DB folder
is :  "/home/jjm/Pictures"
digikam(16906)/digikam (core) main: Database Path:  "/home/jjm/Pictures"
digikam(16906)/digikam (core) Digikam::SchemaUpdater::update: SchemaUpdater
update
digikam(16906)/digikam (core) Digikam::SchemaUpdater::startUpdates: No database
file available
digikam(16906)/digikam (core) Digikam::SchemaUpdater::makeUpdates: makeUpdates 
4  to  5
digikam(16906)/digikam (core) Digikam::SchemaUpdater::updateV4toV5:
updateV4toV5
digikam(16906)/digikam (core) Digikam::SchemaUpdater::updateV4toV5: Moved
tables
digikam(16906)/digikam (core) Digikam::SchemaUpdater::updateV4toV5: Dropped
triggers
digikam(16906)/digikam (core): Album library path from config file is empty.
Aborting update.
---------------------------------------------------

Editing the digikamrc config file manually to add the entry

---------------------------------------------------
Album Path=/share/photos
---------------------------------------------------

to the [Album Settings] section correctly performs the database upgrade and
starts the digikam application.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list