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

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

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

Bugzilla from jjm@keelhaul.me.uk
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: [hidden email]
        ReportedBy: [hidden email]


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.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=193522


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Database
            Version|unspecified                 |0.11.0-svn




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-05-21 17:23:29 ---
Marcel,

I can confirm this dysfunction. Just tried with my collection here.

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

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

Marcel Wiesweg
In reply to this post by Bugzilla from jjm@keelhaul.me.uk
https://bugs.kde.org/show_bug.cgi?id=193522





--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-05-21 18:35:31 ---
Probably related to bug #183972. This check needs to be removed.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

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

Marcel Wiesweg
In reply to this post by Bugzilla from jjm@keelhaul.me.uk
https://bugs.kde.org/show_bug.cgi?id=193522





--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-07-25 16:53:07 ---
There some possible scenarios for which the update process does not work, but
all of these are non-standard scenarios.
With digikam 0.9 the database must be in the same location of the pictures, and
the location of the pictures was not stored in the database. For this simple
reason we rely on the only parameter that tells us this location, which is the
config value written by digikam 0.9.
Your scenario is non-standard because 1) you have no digikamrc although you
used digikam before 2) your database is not located in the same directory as
your pictures. The digikam3.db in your given db directory may be completely
unrelated to the pictures directory you gave. But I am thinking about a
workaround.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

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

Marcel Wiesweg
In reply to this post by Bugzilla from jjm@keelhaul.me.uk
https://bugs.kde.org/show_bug.cgi?id=193522


Marcel Wiesweg <[hidden email]> changed:

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




--- Comment #4 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-07-25 19:19:12 ---
SVN commit 1002330 by mwiesweg:

Add workaround for the corner case described in this bug report

BUG: 193522

 M  +3 -1      NEWS  
 M  +45 -0     digikam/albummanager.cpp  
 M  +3 -0      digikam/albummanager.h  
 M  +2 -0      digikam/main.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1002330

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
In reply to this post by Bugzilla from jjm@keelhaul.me.uk
https://bugs.kde.org/show_bug.cgi?id=193522


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.11.0-svn                  |1.0.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 193522] first run (with existing v3 database) fails, "No album library path..."

bugzilla_noreply
In reply to this post by Bugzilla from jjm@keelhaul.me.uk
https://bugs.kde.org/show_bug.cgi?id=193522

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|Database                    |Database-Setup

--
You are receiving this mail because:
You are the assignee for the bug.