Re: extragear/graphics/digikam

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

Re: extragear/graphics/digikam

Julien Narboux
Holger,

Thanks for this contribution.

Here is a first feedback:

After restarting Digikam I got :

Error failed to connect to Digikam database.

I clicked cancel, I was warned that Digikam can not work without a
database.
I went to settings, SQLITE was selected. but there were no path. I
selected the path of my old database.
No it seems to work (some picture are displayed). But it seems to be
slow, as if the thumbnails were regenerated.


Julien

Holger Foerster a écrit :

> SVN commit 1109189 by foerster:
>
> Merged branch Digikam-DatabaseExt into trunk.
>
> Happy easter holidays :)
>
>  M  +25 -5     CMakeLists.txt  
>  M  +1 -0      data/CMakeLists.txt  
>  A             data/database (directory)  
>  AM            data/database/CMakeLists.txt  
>  A             data/database/dbconfig.xml.cmake  
>  A             data/database/mysql-global.conf  
>  A             databaseserver (directory)  
>  AM            databaseserver/CMakeLists.txt  
>  AM            databaseserver/databaseserver.cpp   [License: GPL (v2+)]
>  AM            databaseserver/databaseserver.h   [License: GPL (v2+)]
>  AM            databaseserver/main.cpp   [License: GPL (v2+)]
>  AM            databaseserver/org.kde.digikam.DatabaseServer.xml  
>  AM            databaseserver/pollthread.cpp   [License: GPL (v2+)]
>  AM            databaseserver/pollthread.h   [License: GPL (v2+)]
>  M  +1 -1      digikam/CMakeLists.txt  
>  M  +230 -95   digikam/albummanager.cpp  
>  M  +3 -3      digikam/albummanager.h  
>  M  +179 -7    digikam/albumsettings.cpp  
>  M  +28 -0     digikam/albumsettings.h  
>  AM            digikam/databaseerrorhandler.cpp   [License: GPL (v2+)]
>  AM            digikam/databaseerrorhandler.h   [License: GPL (v2+)]
>  M  +44 -8     digikam/digikamapp.cpp  
>  M  +4 -0      digikam/digikamapp.h  
>  M  +2 -1      digikam/digikamui.rc  
>  M  +17 -17    digikam/main.cpp  
>  M  +2 -0      kioslave/digikamalbums.cpp  
>  M  +2 -1      kioslave/digikamdates.cpp  
>  M  +2 -1      kioslave/digikamsearch.cpp  
>  M  +2 -1      kioslave/digikamtags.cpp  
>  M  +71 -64    libs/database/albumdb.cpp  
>  M  +2 -1      libs/database/albumdb.h  
>  M  +44 -25    libs/database/databaseaccess.cpp  
>  M  +3 -0      libs/database/databaseaccess.h  
>  M  +2 -2      libs/database/databasebackend.cpp  
>  M  +1 -1      libs/database/databasebackend.h  
>  AM            libs/database/databaseconfigelement.cpp   [License: GPL (v2+)]
>  AM            libs/database/databaseconfigelement.h   [License: GPL (v2+)]
>  AM            libs/database/databasecopymanager.cpp   [License: GPL (v2+)]
>  AM            libs/database/databasecopymanager.h   [License: GPL (v2+)]
>  M  +622 -133  libs/database/databasecorebackend.cpp  
>  M  +141 -20   libs/database/databasecorebackend.h  
>  M  +30 -2     libs/database/databasecorebackend_p.h  
>  M  +233 -0    libs/database/databaseparameters.cpp  
>  M  +21 -0     libs/database/databaseparameters.h  
>  AM            libs/database/databaseserverstarter.cpp   [License: GPL (v2+)]
>  AM            libs/database/databaseserverstarter.h   [License: GPL (v2+)]
>  M  +3 -2      libs/database/haar/haariface.cpp  
>  M  +9 -18     libs/database/imagelister.cpp  
>  M  +133 -421  libs/database/schemaupdater.cpp  
>  M  +17 -3     libs/database/schemaupdater.h  
>  AM            libs/database/sqlquery.cpp   [License: GPL (v2+)]
>  AM            libs/database/sqlquery.h   [License: GPL (v2+)]
>  M  +26 -14    libs/database/thumbnaildatabaseaccess.cpp  
>  M  +3 -1      libs/database/thumbnaildatabaseaccess.h  
>  M  +28 -23    libs/database/thumbnaildb.cpp  
>  M  +8 -7      libs/database/thumbnaildb.h  
>  M  +25 -9     libs/database/thumbnailschemaupdater.cpp  
>  M  +62 -62    libs/database/upgradedb_sqlite2tosqlite3.cpp  
>  M  +1 -1      libs/database/upgradedb_sqlite2tosqlite3.h  
>  AM            libs/dialogs/migrationdlg.cpp   [License: GPL (v2+)]
>  AM            libs/dialogs/migrationdlg.h   [License: GPL (v2+)]
>  M  +86 -19    libs/threadimageio/thumbnailcreator.cpp  
>  M  +9 -3      libs/threadimageio/thumbnailloadthread.cpp  
>  M  +4 -1      libs/threadimageio/thumbnailloadthread.h  
>  AM            libs/widgets/common/databasewidget.cpp   [License: GPL (v2+)]
>  AM            libs/widgets/common/databasewidget.h   [License: GPL (v2+)]
>  M  +3 -0      tests/CMakeLists.txt  
>  M  +4 -2      tests/albummodeltest.cpp  
>  AM            utilities/setup/databaseconnectionwidget.h   [License: GPL (v2+)]
>  M  +16 -1     utilities/setup/setup.cpp  
>  M  +1 -0      utilities/setup/setup.h  
>  M  +20 -121   utilities/setup/setupcollections.cpp  
>  M  +0 -4      utilities/setup/setupcollections.h  
>  AM            utilities/setup/setupdatabase.cpp   [License: GPL (v2+)]
>  AM            utilities/setup/setupdatabase.h   [License: GPL (v2+)]
>
>
> http://websvn.kde.org/?view=rev&revision=1109189
>  

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

Re: extragear/graphics/digikam

Johannes Wienke-3
Hi Holger,

unfortunately this commit breaks compiling the albummodeltest. Because
AlbumManager now depends on DigikamApp, we would have to compile the
_whole_ digikam code for the test again. Is there any way to encapsulate
the the functionality of DigikamApp that you are using in AlbumManager
behind an interface that can be replaced with a stub in the tests. This
is really an odd dependency. The database and album management code
should not depend on any gui stuff to my mind and there is already a lot
of these dependencies simply to compile the model tests. Dependency hell...

Anyway, great work with the branch.

Johannes

Am 30.03.2010 20:33 schrieb Holger Foerster:

> SVN commit 1109189 by foerster:
>
> Merged branch Digikam-DatabaseExt into trunk.
>
> Happy easter holidays :)
>
>  M  +25 -5     CMakeLists.txt  
>  M  +1 -0      data/CMakeLists.txt  
>  A             data/database (directory)  
>  AM            data/database/CMakeLists.txt  
>  A             data/database/dbconfig.xml.cmake  
>  A             data/database/mysql-global.conf  
>  A             databaseserver (directory)  
>  AM            databaseserver/CMakeLists.txt  
>  AM            databaseserver/databaseserver.cpp   [License: GPL (v2+)]
>  AM            databaseserver/databaseserver.h   [License: GPL (v2+)]
>  AM            databaseserver/main.cpp   [License: GPL (v2+)]
>  AM            databaseserver/org.kde.digikam.DatabaseServer.xml  
>  AM            databaseserver/pollthread.cpp   [License: GPL (v2+)]
>  AM            databaseserver/pollthread.h   [License: GPL (v2+)]
>  M  +1 -1      digikam/CMakeLists.txt  
>  M  +230 -95   digikam/albummanager.cpp  
>  M  +3 -3      digikam/albummanager.h  
>  M  +179 -7    digikam/albumsettings.cpp  
>  M  +28 -0     digikam/albumsettings.h  
>  AM            digikam/databaseerrorhandler.cpp   [License: GPL (v2+)]
>  AM            digikam/databaseerrorhandler.h   [License: GPL (v2+)]
>  M  +44 -8     digikam/digikamapp.cpp  
>  M  +4 -0      digikam/digikamapp.h  
>  M  +2 -1      digikam/digikamui.rc  
>  M  +17 -17    digikam/main.cpp  
>  M  +2 -0      kioslave/digikamalbums.cpp  
>  M  +2 -1      kioslave/digikamdates.cpp  
>  M  +2 -1      kioslave/digikamsearch.cpp  
>  M  +2 -1      kioslave/digikamtags.cpp  
>  M  +71 -64    libs/database/albumdb.cpp  
>  M  +2 -1      libs/database/albumdb.h  
>  M  +44 -25    libs/database/databaseaccess.cpp  
>  M  +3 -0      libs/database/databaseaccess.h  
>  M  +2 -2      libs/database/databasebackend.cpp  
>  M  +1 -1      libs/database/databasebackend.h  
>  AM            libs/database/databaseconfigelement.cpp   [License: GPL (v2+)]
>  AM            libs/database/databaseconfigelement.h   [License: GPL (v2+)]
>  AM            libs/database/databasecopymanager.cpp   [License: GPL (v2+)]
>  AM            libs/database/databasecopymanager.h   [License: GPL (v2+)]
>  M  +622 -133  libs/database/databasecorebackend.cpp  
>  M  +141 -20   libs/database/databasecorebackend.h  
>  M  +30 -2     libs/database/databasecorebackend_p.h  
>  M  +233 -0    libs/database/databaseparameters.cpp  
>  M  +21 -0     libs/database/databaseparameters.h  
>  AM            libs/database/databaseserverstarter.cpp   [License: GPL (v2+)]
>  AM            libs/database/databaseserverstarter.h   [License: GPL (v2+)]
>  M  +3 -2      libs/database/haar/haariface.cpp  
>  M  +9 -18     libs/database/imagelister.cpp  
>  M  +133 -421  libs/database/schemaupdater.cpp  
>  M  +17 -3     libs/database/schemaupdater.h  
>  AM            libs/database/sqlquery.cpp   [License: GPL (v2+)]
>  AM            libs/database/sqlquery.h   [License: GPL (v2+)]
>  M  +26 -14    libs/database/thumbnaildatabaseaccess.cpp  
>  M  +3 -1      libs/database/thumbnaildatabaseaccess.h  
>  M  +28 -23    libs/database/thumbnaildb.cpp  
>  M  +8 -7      libs/database/thumbnaildb.h  
>  M  +25 -9     libs/database/thumbnailschemaupdater.cpp  
>  M  +62 -62    libs/database/upgradedb_sqlite2tosqlite3.cpp  
>  M  +1 -1      libs/database/upgradedb_sqlite2tosqlite3.h  
>  AM            libs/dialogs/migrationdlg.cpp   [License: GPL (v2+)]
>  AM            libs/dialogs/migrationdlg.h   [License: GPL (v2+)]
>  M  +86 -19    libs/threadimageio/thumbnailcreator.cpp  
>  M  +9 -3      libs/threadimageio/thumbnailloadthread.cpp  
>  M  +4 -1      libs/threadimageio/thumbnailloadthread.h  
>  AM            libs/widgets/common/databasewidget.cpp   [License: GPL (v2+)]
>  AM            libs/widgets/common/databasewidget.h   [License: GPL (v2+)]
>  M  +3 -0      tests/CMakeLists.txt  
>  M  +4 -2      tests/albummodeltest.cpp  
>  AM            utilities/setup/databaseconnectionwidget.h   [License: GPL (v2+)]
>  M  +16 -1     utilities/setup/setup.cpp  
>  M  +1 -0      utilities/setup/setup.h  
>  M  +20 -121   utilities/setup/setupcollections.cpp  
>  M  +0 -4      utilities/setup/setupcollections.h  
>  AM            utilities/setup/setupdatabase.cpp   [License: GPL (v2+)]
>  AM            utilities/setup/setupdatabase.h   [License: GPL (v2+)]
>
>
> http://websvn.kde.org/?view=rev&revision=1109189


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Gilles Caulier-4
I started to test this new code in trunk with a lots of remarks send
by private mails.

Holger, I recommend to always use mailing list there for better
visibility with other contributors...

I will continue in this thread all my report now.

Best

Gilles

2010/3/30 Johannes Wienke <[hidden email]>:

> Hi Holger,
>
> unfortunately this commit breaks compiling the albummodeltest. Because
> AlbumManager now depends on DigikamApp, we would have to compile the
> _whole_ digikam code for the test again. Is there any way to encapsulate
> the the functionality of DigikamApp that you are using in AlbumManager
> behind an interface that can be replaced with a stub in the tests. This
> is really an odd dependency. The database and album management code
> should not depend on any gui stuff to my mind and there is already a lot
> of these dependencies simply to compile the model tests. Dependency hell...
>
> Anyway, great work with the branch.
>
> Johannes
>
> Am 30.03.2010 20:33 schrieb Holger Foerster:
>> SVN commit 1109189 by foerster:
>>
>> Merged branch Digikam-DatabaseExt into trunk.
>>
>> Happy easter holidays :)
>>
>>  M  +25 -5     CMakeLists.txt
>>  M  +1 -0      data/CMakeLists.txt
>>  A             data/database (directory)
>>  AM            data/database/CMakeLists.txt
>>  A             data/database/dbconfig.xml.cmake
>>  A             data/database/mysql-global.conf
>>  A             databaseserver (directory)
>>  AM            databaseserver/CMakeLists.txt
>>  AM            databaseserver/databaseserver.cpp   [License: GPL (v2+)]
>>  AM            databaseserver/databaseserver.h   [License: GPL (v2+)]
>>  AM            databaseserver/main.cpp   [License: GPL (v2+)]
>>  AM            databaseserver/org.kde.digikam.DatabaseServer.xml
>>  AM            databaseserver/pollthread.cpp   [License: GPL (v2+)]
>>  AM            databaseserver/pollthread.h   [License: GPL (v2+)]
>>  M  +1 -1      digikam/CMakeLists.txt
>>  M  +230 -95   digikam/albummanager.cpp
>>  M  +3 -3      digikam/albummanager.h
>>  M  +179 -7    digikam/albumsettings.cpp
>>  M  +28 -0     digikam/albumsettings.h
>>  AM            digikam/databaseerrorhandler.cpp   [License: GPL (v2+)]
>>  AM            digikam/databaseerrorhandler.h   [License: GPL (v2+)]
>>  M  +44 -8     digikam/digikamapp.cpp
>>  M  +4 -0      digikam/digikamapp.h
>>  M  +2 -1      digikam/digikamui.rc
>>  M  +17 -17    digikam/main.cpp
>>  M  +2 -0      kioslave/digikamalbums.cpp
>>  M  +2 -1      kioslave/digikamdates.cpp
>>  M  +2 -1      kioslave/digikamsearch.cpp
>>  M  +2 -1      kioslave/digikamtags.cpp
>>  M  +71 -64    libs/database/albumdb.cpp
>>  M  +2 -1      libs/database/albumdb.h
>>  M  +44 -25    libs/database/databaseaccess.cpp
>>  M  +3 -0      libs/database/databaseaccess.h
>>  M  +2 -2      libs/database/databasebackend.cpp
>>  M  +1 -1      libs/database/databasebackend.h
>>  AM            libs/database/databaseconfigelement.cpp   [License: GPL (v2+)]
>>  AM            libs/database/databaseconfigelement.h   [License: GPL (v2+)]
>>  AM            libs/database/databasecopymanager.cpp   [License: GPL (v2+)]
>>  AM            libs/database/databasecopymanager.h   [License: GPL (v2+)]
>>  M  +622 -133  libs/database/databasecorebackend.cpp
>>  M  +141 -20   libs/database/databasecorebackend.h
>>  M  +30 -2     libs/database/databasecorebackend_p.h
>>  M  +233 -0    libs/database/databaseparameters.cpp
>>  M  +21 -0     libs/database/databaseparameters.h
>>  AM            libs/database/databaseserverstarter.cpp   [License: GPL (v2+)]
>>  AM            libs/database/databaseserverstarter.h   [License: GPL (v2+)]
>>  M  +3 -2      libs/database/haar/haariface.cpp
>>  M  +9 -18     libs/database/imagelister.cpp
>>  M  +133 -421  libs/database/schemaupdater.cpp
>>  M  +17 -3     libs/database/schemaupdater.h
>>  AM            libs/database/sqlquery.cpp   [License: GPL (v2+)]
>>  AM            libs/database/sqlquery.h   [License: GPL (v2+)]
>>  M  +26 -14    libs/database/thumbnaildatabaseaccess.cpp
>>  M  +3 -1      libs/database/thumbnaildatabaseaccess.h
>>  M  +28 -23    libs/database/thumbnaildb.cpp
>>  M  +8 -7      libs/database/thumbnaildb.h
>>  M  +25 -9     libs/database/thumbnailschemaupdater.cpp
>>  M  +62 -62    libs/database/upgradedb_sqlite2tosqlite3.cpp
>>  M  +1 -1      libs/database/upgradedb_sqlite2tosqlite3.h
>>  AM            libs/dialogs/migrationdlg.cpp   [License: GPL (v2+)]
>>  AM            libs/dialogs/migrationdlg.h   [License: GPL (v2+)]
>>  M  +86 -19    libs/threadimageio/thumbnailcreator.cpp
>>  M  +9 -3      libs/threadimageio/thumbnailloadthread.cpp
>>  M  +4 -1      libs/threadimageio/thumbnailloadthread.h
>>  AM            libs/widgets/common/databasewidget.cpp   [License: GPL (v2+)]
>>  AM            libs/widgets/common/databasewidget.h   [License: GPL (v2+)]
>>  M  +3 -0      tests/CMakeLists.txt
>>  M  +4 -2      tests/albummodeltest.cpp
>>  AM            utilities/setup/databaseconnectionwidget.h   [License: GPL (v2+)]
>>  M  +16 -1     utilities/setup/setup.cpp
>>  M  +1 -0      utilities/setup/setup.h
>>  M  +20 -121   utilities/setup/setupcollections.cpp
>>  M  +0 -4      utilities/setup/setupcollections.h
>>  AM            utilities/setup/setupdatabase.cpp   [License: GPL (v2+)]
>>  AM            utilities/setup/setupdatabase.h   [License: GPL (v2+)]
>>
>>
>> http://websvn.kde.org/?view=rev&revision=1109189
>
>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Gilles Caulier-4
Holger,

After to stop digiKam, i recompile digiKam in the console. sometime,
digiKam kio slave still running in background (digiKAm do not run),
and post message to the console like this:

[  0%] Built target kipiplugin_dngconverter_automoc
[  0%] Built target kipiplugin_dngconverter
[  0%] Built target dngvalidate_automoc
[  0%] Built target dngvalidate
[  0%] Built target raw2dng_automoc
[  0%] Built target raw2dng
[  0%] Built target kipiplugin_batchprocessimages_automoc
[  0%] Built target kipiplugin_batchprocessimages
[  0%] Built target digikam-handbook
[  0%] Built target showfoto-handbook
[  0%] Built target kipi-plugins-handbook
[gilles@localhost graphics]$ su
Password: (31450) PollThread::checkDigikamInstancesRunning: At least
service [ "org.kde.digikam.KIO-31050" ] is using the database server
(31450) PollThread::run: Waiting  10  seconds...stop: [ false ]

[root@localhost graphics]# (31450)
PollThread::checkDigikamInstancesRunning: At least service [
"org.kde.digikam.KIO-31050" ] is using the database server
(31450) PollThread::run: Waiting  10  seconds...stop: [ false ]

[root@localhost graphics]#
[root@localhost graphics]#
[root@localhost graphics]#
[root@localhost graphics]#
[root@localhost graphics]#

Why ?

Gilles Caulier


2010/3/31 Gilles Caulier <[hidden email]>:

> I started to test this new code in trunk with a lots of remarks send
> by private mails.
>
> Holger, I recommend to always use mailing list there for better
> visibility with other contributors...
>
> I will continue in this thread all my report now.
>
> Best
>
> Gilles
>
> 2010/3/30 Johannes Wienke <[hidden email]>:
>> Hi Holger,
>>
>> unfortunately this commit breaks compiling the albummodeltest. Because
>> AlbumManager now depends on DigikamApp, we would have to compile the
>> _whole_ digikam code for the test again. Is there any way to encapsulate
>> the the functionality of DigikamApp that you are using in AlbumManager
>> behind an interface that can be replaced with a stub in the tests. This
>> is really an odd dependency. The database and album management code
>> should not depend on any gui stuff to my mind and there is already a lot
>> of these dependencies simply to compile the model tests. Dependency hell...
>>
>> Anyway, great work with the branch.
>>
>> Johannes
>>
>> Am 30.03.2010 20:33 schrieb Holger Foerster:
>>> SVN commit 1109189 by foerster:
>>>
>>> Merged branch Digikam-DatabaseExt into trunk.
>>>
>>> Happy easter holidays :)
>>>
>>>  M  +25 -5     CMakeLists.txt
>>>  M  +1 -0      data/CMakeLists.txt
>>>  A             data/database (directory)
>>>  AM            data/database/CMakeLists.txt
>>>  A             data/database/dbconfig.xml.cmake
>>>  A             data/database/mysql-global.conf
>>>  A             databaseserver (directory)
>>>  AM            databaseserver/CMakeLists.txt
>>>  AM            databaseserver/databaseserver.cpp   [License: GPL (v2+)]
>>>  AM            databaseserver/databaseserver.h   [License: GPL (v2+)]
>>>  AM            databaseserver/main.cpp   [License: GPL (v2+)]
>>>  AM            databaseserver/org.kde.digikam.DatabaseServer.xml
>>>  AM            databaseserver/pollthread.cpp   [License: GPL (v2+)]
>>>  AM            databaseserver/pollthread.h   [License: GPL (v2+)]
>>>  M  +1 -1      digikam/CMakeLists.txt
>>>  M  +230 -95   digikam/albummanager.cpp
>>>  M  +3 -3      digikam/albummanager.h
>>>  M  +179 -7    digikam/albumsettings.cpp
>>>  M  +28 -0     digikam/albumsettings.h
>>>  AM            digikam/databaseerrorhandler.cpp   [License: GPL (v2+)]
>>>  AM            digikam/databaseerrorhandler.h   [License: GPL (v2+)]
>>>  M  +44 -8     digikam/digikamapp.cpp
>>>  M  +4 -0      digikam/digikamapp.h
>>>  M  +2 -1      digikam/digikamui.rc
>>>  M  +17 -17    digikam/main.cpp
>>>  M  +2 -0      kioslave/digikamalbums.cpp
>>>  M  +2 -1      kioslave/digikamdates.cpp
>>>  M  +2 -1      kioslave/digikamsearch.cpp
>>>  M  +2 -1      kioslave/digikamtags.cpp
>>>  M  +71 -64    libs/database/albumdb.cpp
>>>  M  +2 -1      libs/database/albumdb.h
>>>  M  +44 -25    libs/database/databaseaccess.cpp
>>>  M  +3 -0      libs/database/databaseaccess.h
>>>  M  +2 -2      libs/database/databasebackend.cpp
>>>  M  +1 -1      libs/database/databasebackend.h
>>>  AM            libs/database/databaseconfigelement.cpp   [License: GPL (v2+)]
>>>  AM            libs/database/databaseconfigelement.h   [License: GPL (v2+)]
>>>  AM            libs/database/databasecopymanager.cpp   [License: GPL (v2+)]
>>>  AM            libs/database/databasecopymanager.h   [License: GPL (v2+)]
>>>  M  +622 -133  libs/database/databasecorebackend.cpp
>>>  M  +141 -20   libs/database/databasecorebackend.h
>>>  M  +30 -2     libs/database/databasecorebackend_p.h
>>>  M  +233 -0    libs/database/databaseparameters.cpp
>>>  M  +21 -0     libs/database/databaseparameters.h
>>>  AM            libs/database/databaseserverstarter.cpp   [License: GPL (v2+)]
>>>  AM            libs/database/databaseserverstarter.h   [License: GPL (v2+)]
>>>  M  +3 -2      libs/database/haar/haariface.cpp
>>>  M  +9 -18     libs/database/imagelister.cpp
>>>  M  +133 -421  libs/database/schemaupdater.cpp
>>>  M  +17 -3     libs/database/schemaupdater.h
>>>  AM            libs/database/sqlquery.cpp   [License: GPL (v2+)]
>>>  AM            libs/database/sqlquery.h   [License: GPL (v2+)]
>>>  M  +26 -14    libs/database/thumbnaildatabaseaccess.cpp
>>>  M  +3 -1      libs/database/thumbnaildatabaseaccess.h
>>>  M  +28 -23    libs/database/thumbnaildb.cpp
>>>  M  +8 -7      libs/database/thumbnaildb.h
>>>  M  +25 -9     libs/database/thumbnailschemaupdater.cpp
>>>  M  +62 -62    libs/database/upgradedb_sqlite2tosqlite3.cpp
>>>  M  +1 -1      libs/database/upgradedb_sqlite2tosqlite3.h
>>>  AM            libs/dialogs/migrationdlg.cpp   [License: GPL (v2+)]
>>>  AM            libs/dialogs/migrationdlg.h   [License: GPL (v2+)]
>>>  M  +86 -19    libs/threadimageio/thumbnailcreator.cpp
>>>  M  +9 -3      libs/threadimageio/thumbnailloadthread.cpp
>>>  M  +4 -1      libs/threadimageio/thumbnailloadthread.h
>>>  AM            libs/widgets/common/databasewidget.cpp   [License: GPL (v2+)]
>>>  AM            libs/widgets/common/databasewidget.h   [License: GPL (v2+)]
>>>  M  +3 -0      tests/CMakeLists.txt
>>>  M  +4 -2      tests/albummodeltest.cpp
>>>  AM            utilities/setup/databaseconnectionwidget.h   [License: GPL (v2+)]
>>>  M  +16 -1     utilities/setup/setup.cpp
>>>  M  +1 -0      utilities/setup/setup.h
>>>  M  +20 -121   utilities/setup/setupcollections.cpp
>>>  M  +0 -4      utilities/setup/setupcollections.h
>>>  AM            utilities/setup/setupdatabase.cpp   [License: GPL (v2+)]
>>>  AM            utilities/setup/setupdatabase.h   [License: GPL (v2+)]
>>>
>>>
>>> http://websvn.kde.org/?view=rev&revision=1109189
>>
>>
>>
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
>>
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Marcel Wiesweg
In reply to this post by Johannes Wienke-3

> Hi Holger,
>
> unfortunately this commit breaks compiling the albummodeltest. Because
> AlbumManager now depends on DigikamApp, we would have to compile the
> _whole_ digikam code for the test again. Is there any way to encapsulate
> the the functionality of DigikamApp that you are using in AlbumManager
> behind an interface that can be replaced with a stub in the tests. This
> is really an odd dependency. The database and album management code
> should not depend on any gui stuff to my mind and there is already a lot
> of these dependencies simply to compile the model tests. Dependency hell...
>
> Anyway, great work with the branch.

I guess it's a misunderstanding because DigikamApp suggests it's the
application class, but in fact it's the main window. It should be easy to fix.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Johannes Wienke-2
In reply to this post by Julien Narboux
Hi,

after disabling the tests I now also tried to run the new code, but
after start I got the usual kio slave problems:

digikam(22670)/digikam (core)
Digikam::FuzzySearchSideBarWidget::setActive: active =  false
digikam(22670): couldn't create slave: "Unable to create io-slave:
klauncher said: Fehler beim Laden von „kio_digikamalbums“
"
digikam(22670): couldn't create slave: "Unable to create io-slave:
klauncher said: Fehler beim Laden von „kio_digikamalbums“
"
digikam(22670)/digikam (core)
Digikam::AlbumManager::slotAlbumsJobResult:  Failed to list albums
digikam(22670)/digikam (core)
Digikam::AlbumManager::slotAlbumsJobResult:  Failed to list albums
digikam(22670): couldn't create slave: "Unable to create io-slave:
klauncher said: Fehler beim Laden von „kio_digikamtags“
"
digikam(22670)/digikam (core) Digikam::AlbumManager::slotTagsJobResult:
 Failed to list tags
digikam(22670): couldn't create slave: "Unable to create io-slave:
klauncher said: Fehler beim Laden von „kio_digikamtags“

I did a complete make clean, make, make install in a fresh kde session.
Any ideas what could also cause this?

Regards,
Johannes


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Johannes Wienke-3
Am 02.04.2010 12:28 schrieb Johannes Wienke:

> after disabling the tests I now also tried to run the new code, but
> after start I got the usual kio slave problems:
>
> digikam(22670)/digikam (core)
> Digikam::FuzzySearchSideBarWidget::setActive: active =  false
> digikam(22670): couldn't create slave: "Unable to create io-slave:
> klauncher said: Fehler beim Laden von „kio_digikamalbums“
> "
> digikam(22670): couldn't create slave: "Unable to create io-slave:
> klauncher said: Fehler beim Laden von „kio_digikamalbums“
> "
> digikam(22670)/digikam (core)
> Digikam::AlbumManager::slotAlbumsJobResult:  Failed to list albums
> digikam(22670)/digikam (core)
> Digikam::AlbumManager::slotAlbumsJobResult:  Failed to list albums
> digikam(22670): couldn't create slave: "Unable to create io-slave:
> klauncher said: Fehler beim Laden von „kio_digikamtags“
> "
> digikam(22670)/digikam (core) Digikam::AlbumManager::slotTagsJobResult:
>  Failed to list tags
> digikam(22670): couldn't create slave: "Unable to create io-slave:
> klauncher said: Fehler beim Laden von „kio_digikamtags“
Ok, found the problem on my own. I had the arch linux version of
libkdcraw installed and a self compiled new version in /usr/local.
Eventhough the libraries contained an rpath, /usr was in the rpath
before /usr/local so that at runtime the older libkdcraw version was
chosen with undefined symbols.

Johannes


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Johannes Wienke-3
In reply to this post by Gilles Caulier-4
Am 31.03.2010 10:03 schrieb Gilles Caulier:
> I started to test this new code in trunk with a lots of remarks send
> by private mails.
>
> Holger, I recommend to always use mailing list there for better
> visibility with other contributors...
>
> I will continue in this thread all my report now.

One thing I found today:

digikam(9902)/digikam (core): Detected an active database transaction
when starting a collection file scan. Please report this error.
digikam(9902)/digikam (core): Detected an active database transaction
when starting a collection file scan. Please report this error.
digikam(9902)/digikam (core): Detected an active database transaction
when starting a collection file scan. Please report this error.
digikam(9902)/digikam (core): Detected an active database transaction
when starting a collection file scan. Please report this error.
digikam(9902)/digikam (core): Detected an active database transaction
when starting a collection file scan. Please report this error.


This happened when trying to reread metadata from images. I could not
reproduce this after restarting digikam.

Regards,
Johannes


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Gilles Caulier-4
It's for Hoelger. he is on vaccancy until tuesday...

Gilles

2010/4/2 Johannes Wienke <[hidden email]>:

> Am 31.03.2010 10:03 schrieb Gilles Caulier:
>> I started to test this new code in trunk with a lots of remarks send
>> by private mails.
>>
>> Holger, I recommend to always use mailing list there for better
>> visibility with other contributors...
>>
>> I will continue in this thread all my report now.
>
> One thing I found today:
>
> digikam(9902)/digikam (core): Detected an active database transaction
> when starting a collection file scan. Please report this error.
> digikam(9902)/digikam (core): Detected an active database transaction
> when starting a collection file scan. Please report this error.
> digikam(9902)/digikam (core): Detected an active database transaction
> when starting a collection file scan. Please report this error.
> digikam(9902)/digikam (core): Detected an active database transaction
> when starting a collection file scan. Please report this error.
> digikam(9902)/digikam (core): Detected an active database transaction
> when starting a collection file scan. Please report this error.
>
>
> This happened when trying to reread metadata from images. I could not
> reproduce this after restarting digikam.
>
> Regards,
> Johannes
>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Johannes Wienke-3
In reply to this post by Julien Narboux
And one more thing. I opened a raw photo in the image editor, edited it
and tried to save it as a jpeg in the collection. This blocks the saving
process at 94%. I attached a gdb at the digikam process and found this
interesting thread backtrace:

Thread 1 (Thread 0x7f50bfcf77c0 (LWP 22423)):
#0  0x00007f50b91f110c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007f50b947611b in QWaitCondition::wait(QMutex*, unsigned long)
() from /usr/lib/libQtCore.so.4
#2  0x00007f50bcd4cbb2 in
Digikam::DatabaseCoreBackendPrivate::queryOperationWait (this=0x21557b0)
    at
/home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:280
#3  0x00007f50bcd4cc18 in
Digikam::DatabaseCoreBackendPrivate::checkOperationStatus (this=0x21557b0)
    at
/home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:316
#4  0x00007f50bcd4e947 in Digikam::DatabaseCoreBackend::exec
(this=0x21daae0, query=...)
    at
/home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:858
#5  0x00007f50bcd4f85f in Digikam::DatabaseCoreBackend::execQuery
(this=0x21daae0, sql=<value optimized out>, boundValue1=...)
    at
/home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:705
#6  0x00007f50bcd4f8c2 in Digikam::DatabaseCoreBackend::execSql
(this=0x21daae0, sql=<value optimized out>, boundValue1=<value optimized
out>,
    values=0x7fffa94fc2c0, lastInsertId=0x0) at
/home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:654
#7  0x00007f50bc826327 in Digikam::AlbumDB::getAlbumRelativePath
(this=0x21daa40, albumID=<value optimized out>)
    at /home/languitar/workspace/digiKam/libs/database/albumdb.cpp:2813
#8  0x00007f50bc8645c3 in Digikam::ImageInfoCache::albumName
(this=<value optimized out>, access=<value optimized out>, albumId=634)
    at /home/languitar/workspace/digiKam/libs/database/imageinfocache.cpp:94
#9  0x00007f50bc860042 in Digikam::ImageInfo::filePath (this=<value
optimized out>) at
/home/languitar/workspace/digiKam/libs/database/imageinfo.cpp:442
#10 0x000000000064e0f1 in
Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged
(this=<value optimized out>, changeset=<value optimized out>)
    at /home/languitar/workspace/digiKam/digikam/scancontroller.cpp:839
#11 0x0000000000650cfd in
Digikam::ScanControllerLoadingCacheFileWatch::qt_metacall
(this=0x2196ae0, _c=QMetaObject::InvokeMetaMethod,
    _id=<value optimized out>, _a=0x29e7540) at
/home/languitar/workspace/build/digiKam/digikam/scancontroller.moc:72
#12 0x00007f50b9579419 in QObject::event(QEvent*) () from
/usr/lib/libQtCore.so.4
#13 0x00007f50ba4275ec in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007f50ba42dbdb in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libQtGui.so.4
#15 0x00007f50bb374256 in KApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libkdeui.so.5
#16 0x00007f50b956979c in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQtCore.so.4
#17 0x00007f50b956bf17 in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
() from /usr/lib/libQtCore.so.4
#18 0x00007f50b95930d3 in ?? () from /usr/lib/libQtCore.so.4
#19 0x00007f50b4feada2 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#20 0x00007f50b4feec18 in g_main_context_iterate () from
/usr/lib/libglib-2.0.so.0
#21 0x00007f50b4feedcc in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#22 0x00007f50b9592c13 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQtCore.so.4
#23 0x00007f50ba4d5d6e in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007f50b95680c2 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#25 0x00007f50b956849c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#26 0x00007f50ba8eef5e in QDialog::exec() () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#27 0x0000000000669d26 in
Digikam::DatabaseGUIErrorHandler::checkDatabaseConnection (this=<value
optimized out>)
    at
/home/languitar/workspace/digiKam/digikam/databaseerrorhandler.cpp:118
#28 0x0000000000669e8a in
Digikam::DatabaseGUIErrorHandler::databaseError (this=<value optimized
out>, answer=0x21557b0, query=<value optimized out>)
    at
/home/languitar/workspace/digiKam/digikam/databaseerrorhandler.cpp:139
#29 0x00007f50bcd4d964 in
Digikam::DatabaseCoreBackendPrivate::checkDatabaseError (this=0x21557b0,
query=...)
    at
/home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:335
#30 0x00007f50bcd4dddb in
Digikam::DatabaseCoreBackend::queryErrorHandling (this=<value optimized
out>, query=..., retries=0)
    at
/home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:812
#31 0x00007f50bcd4ec16 in Digikam::DatabaseCoreBackend::exec
(this=0x21daae0, query=...)
    at
/home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:873
#32 0x00007f50bcd4f754 in Digikam::DatabaseCoreBackend::execQuery
(this=0x21daae0, sql=<value optimized out>, boundValue1=...,
boundValue2=...)
    at
/home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:715
#33 0x00007f50bcd4f7c5 in Digikam::DatabaseCoreBackend::execSql
(this=0x21daae0, sql=<value optimized out>, boundValue1=<value optimized
out>,
    boundValue2=<value optimized out>, values=0x0, lastInsertId=0x0) at
/home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:662
#34 0x00007f50bc822121 in Digikam::AlbumDB::copyImageTags
(this=0x21daa40, srcId=<value optimized out>, dstId=46143)
    at /home/languitar/workspace/digiKam/libs/database/albumdb.cpp:3145
#35 0x00007f50bc87aa61 in Digikam::ImageScanner::copyProperties
(source=46091, dest=46143)
    at /home/languitar/workspace/digiKam/libs/database/imagescanner.cpp:586
#36 0x000000000064fc17 in
Digikam::ScanController::scanFileDirectlyCopyAttributes (this=0x212d5d0,
filePath=<value optimized out>, parentVersion=46091)
    at /home/languitar/workspace/digiKam/digikam/scancontroller.cpp:434
#37 0x000000000047eeeb in Digikam::ImageWindow::saveAsIsComplete
(this=0x58c07a0)
    at
/home/languitar/workspace/digiKam/utilities/imageeditor/editor/imagewindow.cpp:958
#38 0x00007f50bce5dec4 in Digikam::EditorWindow::movingSaveFileFinished
(this=0x58c07a0, successful=<value optimized out>)
    at
/home/languitar/workspace/digiKam/utilities/imageeditor/editor/editorwindow.cpp:1441
#39 0x00007f50bce5e2d7 in Digikam::EditorWindow::moveFile (this=0x58c07a0)
    at
/home/languitar/workspace/digiKam/utilities/imageeditor/editor/editorwindow.cpp:1983
#40 0x00007f50bce5e5c5 in Digikam::EditorWindow::slotSavingFinished
(this=0x21e739c, filename=<value optimized out>, success=true)
    at
/home/languitar/workspace/digiKam/utilities/imageeditor/editor/editorwindow.cpp:1471
#41 0x00007f50bce67b3e in Digikam::EditorWindow::qt_metacall
(this=0x58c07a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized
out>, _a=0x7fffa94fde30)
    at /home/languitar/workspace/build/digiKam/digikam/editorwindow.moc:214
#42 0x000000000047f8f0 in Digikam::ImageWindow::qt_metacall
(this=0x21e739c, _c=128, _id=1, _a=0xffffffffffffffff)
    at /home/languitar/workspace/build/digiKam/digikam/imagewindow.moc:126
#43 0x00007f50b957c4df in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/libQtCore.so.4
#44 0x00007f50bce4e136 in Digikam::Canvas::signalSavingFinished
(this=0x21e739c, _t1=<value optimized out>, _t2=true)
    at /home/languitar/workspace/build/digiKam/digikam/canvas.moc:288
#45 0x00007f50bce4f89e in Digikam::Canvas::qt_metacall (this=0x3243c10,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fffa94fdf80)
    at /home/languitar/workspace/build/digiKam/digikam/canvas.moc:181
#46 0x00007f50b957c4df in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/libQtCore.so.4
#47 0x00007f50bce45856 in Digikam::DImgInterface::signalImageSaved
(this=0x21e739c, _t1=<value optimized out>, _t2=true)
    at /home/languitar/workspace/build/digiKam/digikam/dimginterface.moc:166
---Type <return> to continue, or q <return> to quit---
#48 0x00007f50bce461ec in Digikam::DImgInterface::slotImageSaved
(this=0x2ed8170, filePath=..., success=true)
    at
/home/languitar/workspace/digiKam/utilities/imageeditor/canvas/dimginterface.cpp:555
#49 0x00007f50bce472d7 in Digikam::DImgInterface::qt_metacall
(this=0x2ed8170, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized
out>, _a=0x7f50a4884ce0)
    at /home/languitar/workspace/build/digiKam/digikam/dimginterface.moc:109
#50 0x00007f50b9579419 in QObject::event(QEvent*) () from
/usr/lib/libQtCore.so.4
#51 0x00007f50ba4275ec in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQtGui.so.4
#52 0x00007f50ba42dbdb in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libQtGui.so.4
#53 0x00007f50bb374256 in KApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libkdeui.so.5
#54 0x00007f50b956979c in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQtCore.so.4
#55 0x00007f50b956bf17 in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
() from /usr/lib/libQtCore.so.4
#56 0x00007f50b95930d3 in ?? () from /usr/lib/libQtCore.so.4
#57 0x00007f50b4feada2 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#58 0x00007f50b4feec18 in g_main_context_iterate () from
/usr/lib/libglib-2.0.so.0
#59 0x00007f50b4feedcc in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#60 0x00007f50b9592c13 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQtCore.so.4
#61 0x00007f50ba4d5d6e in ?? () from /usr/lib/libQtGui.so.4
#62 0x00007f50b95680c2 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#63 0x00007f50b956849c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#64 0x00007f50b956c1db in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#65 0x00000000006be27c in main (argc=<value optimized out>, argv=<value
optimized out>) at /home/languitar/workspace/digiKam/digikam/main.cpp:193

I'm still using sqlite.

Regards,
Johannes

Am 30.03.2010 22:08 schrieb Julien Narboux:

> Holger,
>
> Thanks for this contribution.
>
> Here is a first feedback:
>
> After restarting Digikam I got :
>
> Error failed to connect to Digikam database.
>
> I clicked cancel, I was warned that Digikam can not work without a
> database.
> I went to settings, SQLITE was selected. but there were no path. I
> selected the path of my old database.
> No it seems to work (some picture are displayed). But it seems to be
> slow, as if the thumbnails were regenerated.
>
>
> Julien
>
> Holger Foerster a écrit :
>> SVN commit 1109189 by foerster:
>>
>> Merged branch Digikam-DatabaseExt into trunk.
>>
>> Happy easter holidays :)
>>
>>  M  +25 -5     CMakeLists.txt  
>>  M  +1 -0      data/CMakeLists.txt  
>>  A             data/database (directory)  
>>  AM            data/database/CMakeLists.txt  
>>  A             data/database/dbconfig.xml.cmake  
>>  A             data/database/mysql-global.conf  
>>  A             databaseserver (directory)  
>>  AM            databaseserver/CMakeLists.txt  
>>  AM            databaseserver/databaseserver.cpp   [License: GPL (v2+)]
>>  AM            databaseserver/databaseserver.h   [License: GPL (v2+)]
>>  AM            databaseserver/main.cpp   [License: GPL (v2+)]
>>  AM            databaseserver/org.kde.digikam.DatabaseServer.xml  
>>  AM            databaseserver/pollthread.cpp   [License: GPL (v2+)]
>>  AM            databaseserver/pollthread.h   [License: GPL (v2+)]
>>  M  +1 -1      digikam/CMakeLists.txt  
>>  M  +230 -95   digikam/albummanager.cpp  
>>  M  +3 -3      digikam/albummanager.h  
>>  M  +179 -7    digikam/albumsettings.cpp  
>>  M  +28 -0     digikam/albumsettings.h  
>>  AM            digikam/databaseerrorhandler.cpp   [License: GPL (v2+)]
>>  AM            digikam/databaseerrorhandler.h   [License: GPL (v2+)]
>>  M  +44 -8     digikam/digikamapp.cpp  
>>  M  +4 -0      digikam/digikamapp.h  
>>  M  +2 -1      digikam/digikamui.rc  
>>  M  +17 -17    digikam/main.cpp  
>>  M  +2 -0      kioslave/digikamalbums.cpp  
>>  M  +2 -1      kioslave/digikamdates.cpp  
>>  M  +2 -1      kioslave/digikamsearch.cpp  
>>  M  +2 -1      kioslave/digikamtags.cpp  
>>  M  +71 -64    libs/database/albumdb.cpp  
>>  M  +2 -1      libs/database/albumdb.h  
>>  M  +44 -25    libs/database/databaseaccess.cpp  
>>  M  +3 -0      libs/database/databaseaccess.h  
>>  M  +2 -2      libs/database/databasebackend.cpp  
>>  M  +1 -1      libs/database/databasebackend.h  
>>  AM            libs/database/databaseconfigelement.cpp   [License: GPL (v2+)]
>>  AM            libs/database/databaseconfigelement.h   [License: GPL (v2+)]
>>  AM            libs/database/databasecopymanager.cpp   [License: GPL (v2+)]
>>  AM            libs/database/databasecopymanager.h   [License: GPL (v2+)]
>>  M  +622 -133  libs/database/databasecorebackend.cpp  
>>  M  +141 -20   libs/database/databasecorebackend.h  
>>  M  +30 -2     libs/database/databasecorebackend_p.h  
>>  M  +233 -0    libs/database/databaseparameters.cpp  
>>  M  +21 -0     libs/database/databaseparameters.h  
>>  AM            libs/database/databaseserverstarter.cpp   [License: GPL (v2+)]
>>  AM            libs/database/databaseserverstarter.h   [License: GPL (v2+)]
>>  M  +3 -2      libs/database/haar/haariface.cpp  
>>  M  +9 -18     libs/database/imagelister.cpp  
>>  M  +133 -421  libs/database/schemaupdater.cpp  
>>  M  +17 -3     libs/database/schemaupdater.h  
>>  AM            libs/database/sqlquery.cpp   [License: GPL (v2+)]
>>  AM            libs/database/sqlquery.h   [License: GPL (v2+)]
>>  M  +26 -14    libs/database/thumbnaildatabaseaccess.cpp  
>>  M  +3 -1      libs/database/thumbnaildatabaseaccess.h  
>>  M  +28 -23    libs/database/thumbnaildb.cpp  
>>  M  +8 -7      libs/database/thumbnaildb.h  
>>  M  +25 -9     libs/database/thumbnailschemaupdater.cpp  
>>  M  +62 -62    libs/database/upgradedb_sqlite2tosqlite3.cpp  
>>  M  +1 -1      libs/database/upgradedb_sqlite2tosqlite3.h  
>>  AM            libs/dialogs/migrationdlg.cpp   [License: GPL (v2+)]
>>  AM            libs/dialogs/migrationdlg.h   [License: GPL (v2+)]
>>  M  +86 -19    libs/threadimageio/thumbnailcreator.cpp  
>>  M  +9 -3      libs/threadimageio/thumbnailloadthread.cpp  
>>  M  +4 -1      libs/threadimageio/thumbnailloadthread.h  
>>  AM            libs/widgets/common/databasewidget.cpp   [License: GPL (v2+)]
>>  AM            libs/widgets/common/databasewidget.h   [License: GPL (v2+)]
>>  M  +3 -0      tests/CMakeLists.txt  
>>  M  +4 -2      tests/albummodeltest.cpp  
>>  AM            utilities/setup/databaseconnectionwidget.h   [License: GPL (v2+)]
>>  M  +16 -1     utilities/setup/setup.cpp  
>>  M  +1 -0      utilities/setup/setup.h  
>>  M  +20 -121   utilities/setup/setupcollections.cpp  
>>  M  +0 -4      utilities/setup/setupcollections.h  
>>  AM            utilities/setup/setupdatabase.cpp   [License: GPL (v2+)]
>>  AM            utilities/setup/setupdatabase.h   [License: GPL (v2+)]
>>
>>
>> http://websvn.kde.org/?view=rev&revision=1109189
>>  
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Johannes Wienke-3
After restarting digikam I did exactly the same. This time saving worked
but directly after saving a dialog showed up for a few milliseconds and
the complete album tree is empty.

Am 02.04.2010 21:04 schrieb Johannes Wienke:

> And one more thing. I opened a raw photo in the image editor, edited it
> and tried to save it as a jpeg in the collection. This blocks the saving
> process at 94%. I attached a gdb at the digikam process and found this
> interesting thread backtrace:
>
> Thread 1 (Thread 0x7f50bfcf77c0 (LWP 22423)):
> #0  0x00007f50b91f110c in pthread_cond_wait@@GLIBC_2.3.2 () from
> /lib/libpthread.so.0
> #1  0x00007f50b947611b in QWaitCondition::wait(QMutex*, unsigned long)
> () from /usr/lib/libQtCore.so.4
> #2  0x00007f50bcd4cbb2 in
> Digikam::DatabaseCoreBackendPrivate::queryOperationWait (this=0x21557b0)
>     at
> /home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:280
> #3  0x00007f50bcd4cc18 in
> Digikam::DatabaseCoreBackendPrivate::checkOperationStatus (this=0x21557b0)
>     at
> /home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:316
> #4  0x00007f50bcd4e947 in Digikam::DatabaseCoreBackend::exec
> (this=0x21daae0, query=...)
>     at
> /home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:858
> #5  0x00007f50bcd4f85f in Digikam::DatabaseCoreBackend::execQuery
> (this=0x21daae0, sql=<value optimized out>, boundValue1=...)
>     at
> /home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:705
> #6  0x00007f50bcd4f8c2 in Digikam::DatabaseCoreBackend::execSql
> (this=0x21daae0, sql=<value optimized out>, boundValue1=<value optimized
> out>,
>     values=0x7fffa94fc2c0, lastInsertId=0x0) at
> /home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:654
> #7  0x00007f50bc826327 in Digikam::AlbumDB::getAlbumRelativePath
> (this=0x21daa40, albumID=<value optimized out>)
>     at /home/languitar/workspace/digiKam/libs/database/albumdb.cpp:2813
> #8  0x00007f50bc8645c3 in Digikam::ImageInfoCache::albumName
> (this=<value optimized out>, access=<value optimized out>, albumId=634)
>     at /home/languitar/workspace/digiKam/libs/database/imageinfocache.cpp:94
> #9  0x00007f50bc860042 in Digikam::ImageInfo::filePath (this=<value
> optimized out>) at
> /home/languitar/workspace/digiKam/libs/database/imageinfo.cpp:442
> #10 0x000000000064e0f1 in
> Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged
> (this=<value optimized out>, changeset=<value optimized out>)
>     at /home/languitar/workspace/digiKam/digikam/scancontroller.cpp:839
> #11 0x0000000000650cfd in
> Digikam::ScanControllerLoadingCacheFileWatch::qt_metacall
> (this=0x2196ae0, _c=QMetaObject::InvokeMetaMethod,
>     _id=<value optimized out>, _a=0x29e7540) at
> /home/languitar/workspace/build/digiKam/digikam/scancontroller.moc:72
> #12 0x00007f50b9579419 in QObject::event(QEvent*) () from
> /usr/lib/libQtCore.so.4
> #13 0x00007f50ba4275ec in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () from /usr/lib/libQtGui.so.4
> #14 0x00007f50ba42dbdb in QApplication::notify(QObject*, QEvent*) ()
> from /usr/lib/libQtGui.so.4
> #15 0x00007f50bb374256 in KApplication::notify(QObject*, QEvent*) ()
> from /usr/lib/libkdeui.so.5
> #16 0x00007f50b956979c in QCoreApplication::notifyInternal(QObject*,
> QEvent*) () from /usr/lib/libQtCore.so.4
> #17 0x00007f50b956bf17 in
> QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
> () from /usr/lib/libQtCore.so.4
> #18 0x00007f50b95930d3 in ?? () from /usr/lib/libQtCore.so.4
> #19 0x00007f50b4feada2 in g_main_context_dispatch () from
> /usr/lib/libglib-2.0.so.0
> #20 0x00007f50b4feec18 in g_main_context_iterate () from
> /usr/lib/libglib-2.0.so.0
> #21 0x00007f50b4feedcc in g_main_context_iteration () from
> /usr/lib/libglib-2.0.so.0
> #22 0x00007f50b9592c13 in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from /usr/lib/libQtCore.so.4
> #23 0x00007f50ba4d5d6e in ?? () from /usr/lib/libQtGui.so.4
> #24 0x00007f50b95680c2 in
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib/libQtCore.so.4
> #25 0x00007f50b956849c in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib/libQtCore.so.4
> #26 0x00007f50ba8eef5e in QDialog::exec() () from /usr/lib/libQtGui.so.4
> ---Type <return> to continue, or q <return> to quit---
> #27 0x0000000000669d26 in
> Digikam::DatabaseGUIErrorHandler::checkDatabaseConnection (this=<value
> optimized out>)
>     at
> /home/languitar/workspace/digiKam/digikam/databaseerrorhandler.cpp:118
> #28 0x0000000000669e8a in
> Digikam::DatabaseGUIErrorHandler::databaseError (this=<value optimized
> out>, answer=0x21557b0, query=<value optimized out>)
>     at
> /home/languitar/workspace/digiKam/digikam/databaseerrorhandler.cpp:139
> #29 0x00007f50bcd4d964 in
> Digikam::DatabaseCoreBackendPrivate::checkDatabaseError (this=0x21557b0,
> query=...)
>     at
> /home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:335
> #30 0x00007f50bcd4dddb in
> Digikam::DatabaseCoreBackend::queryErrorHandling (this=<value optimized
> out>, query=..., retries=0)
>     at
> /home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:812
> #31 0x00007f50bcd4ec16 in Digikam::DatabaseCoreBackend::exec
> (this=0x21daae0, query=...)
>     at
> /home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:873
> #32 0x00007f50bcd4f754 in Digikam::DatabaseCoreBackend::execQuery
> (this=0x21daae0, sql=<value optimized out>, boundValue1=...,
> boundValue2=...)
>     at
> /home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:715
> #33 0x00007f50bcd4f7c5 in Digikam::DatabaseCoreBackend::execSql
> (this=0x21daae0, sql=<value optimized out>, boundValue1=<value optimized
> out>,
>     boundValue2=<value optimized out>, values=0x0, lastInsertId=0x0) at
> /home/languitar/workspace/digiKam/libs/database/databasecorebackend.cpp:662
> #34 0x00007f50bc822121 in Digikam::AlbumDB::copyImageTags
> (this=0x21daa40, srcId=<value optimized out>, dstId=46143)
>     at /home/languitar/workspace/digiKam/libs/database/albumdb.cpp:3145
> #35 0x00007f50bc87aa61 in Digikam::ImageScanner::copyProperties
> (source=46091, dest=46143)
>     at /home/languitar/workspace/digiKam/libs/database/imagescanner.cpp:586
> #36 0x000000000064fc17 in
> Digikam::ScanController::scanFileDirectlyCopyAttributes (this=0x212d5d0,
> filePath=<value optimized out>, parentVersion=46091)
>     at /home/languitar/workspace/digiKam/digikam/scancontroller.cpp:434
> #37 0x000000000047eeeb in Digikam::ImageWindow::saveAsIsComplete
> (this=0x58c07a0)
>     at
> /home/languitar/workspace/digiKam/utilities/imageeditor/editor/imagewindow.cpp:958
> #38 0x00007f50bce5dec4 in Digikam::EditorWindow::movingSaveFileFinished
> (this=0x58c07a0, successful=<value optimized out>)
>     at
> /home/languitar/workspace/digiKam/utilities/imageeditor/editor/editorwindow.cpp:1441
> #39 0x00007f50bce5e2d7 in Digikam::EditorWindow::moveFile (this=0x58c07a0)
>     at
> /home/languitar/workspace/digiKam/utilities/imageeditor/editor/editorwindow.cpp:1983
> #40 0x00007f50bce5e5c5 in Digikam::EditorWindow::slotSavingFinished
> (this=0x21e739c, filename=<value optimized out>, success=true)
>     at
> /home/languitar/workspace/digiKam/utilities/imageeditor/editor/editorwindow.cpp:1471
> #41 0x00007f50bce67b3e in Digikam::EditorWindow::qt_metacall
> (this=0x58c07a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized
> out>, _a=0x7fffa94fde30)
>     at /home/languitar/workspace/build/digiKam/digikam/editorwindow.moc:214
> #42 0x000000000047f8f0 in Digikam::ImageWindow::qt_metacall
> (this=0x21e739c, _c=128, _id=1, _a=0xffffffffffffffff)
>     at /home/languitar/workspace/build/digiKam/digikam/imagewindow.moc:126
> #43 0x00007f50b957c4df in QMetaObject::activate(QObject*, QMetaObject
> const*, int, void**) () from /usr/lib/libQtCore.so.4
> #44 0x00007f50bce4e136 in Digikam::Canvas::signalSavingFinished
> (this=0x21e739c, _t1=<value optimized out>, _t2=true)
>     at /home/languitar/workspace/build/digiKam/digikam/canvas.moc:288
> #45 0x00007f50bce4f89e in Digikam::Canvas::qt_metacall (this=0x3243c10,
> _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
> _a=0x7fffa94fdf80)
>     at /home/languitar/workspace/build/digiKam/digikam/canvas.moc:181
> #46 0x00007f50b957c4df in QMetaObject::activate(QObject*, QMetaObject
> const*, int, void**) () from /usr/lib/libQtCore.so.4
> #47 0x00007f50bce45856 in Digikam::DImgInterface::signalImageSaved
> (this=0x21e739c, _t1=<value optimized out>, _t2=true)
>     at /home/languitar/workspace/build/digiKam/digikam/dimginterface.moc:166
> ---Type <return> to continue, or q <return> to quit---
> #48 0x00007f50bce461ec in Digikam::DImgInterface::slotImageSaved
> (this=0x2ed8170, filePath=..., success=true)
>     at
> /home/languitar/workspace/digiKam/utilities/imageeditor/canvas/dimginterface.cpp:555
> #49 0x00007f50bce472d7 in Digikam::DImgInterface::qt_metacall
> (this=0x2ed8170, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized
> out>, _a=0x7f50a4884ce0)
>     at /home/languitar/workspace/build/digiKam/digikam/dimginterface.moc:109
> #50 0x00007f50b9579419 in QObject::event(QEvent*) () from
> /usr/lib/libQtCore.so.4
> #51 0x00007f50ba4275ec in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () from /usr/lib/libQtGui.so.4
> #52 0x00007f50ba42dbdb in QApplication::notify(QObject*, QEvent*) ()
> from /usr/lib/libQtGui.so.4
> #53 0x00007f50bb374256 in KApplication::notify(QObject*, QEvent*) ()
> from /usr/lib/libkdeui.so.5
> #54 0x00007f50b956979c in QCoreApplication::notifyInternal(QObject*,
> QEvent*) () from /usr/lib/libQtCore.so.4
> #55 0x00007f50b956bf17 in
> QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
> () from /usr/lib/libQtCore.so.4
> #56 0x00007f50b95930d3 in ?? () from /usr/lib/libQtCore.so.4
> #57 0x00007f50b4feada2 in g_main_context_dispatch () from
> /usr/lib/libglib-2.0.so.0
> #58 0x00007f50b4feec18 in g_main_context_iterate () from
> /usr/lib/libglib-2.0.so.0
> #59 0x00007f50b4feedcc in g_main_context_iteration () from
> /usr/lib/libglib-2.0.so.0
> #60 0x00007f50b9592c13 in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from /usr/lib/libQtCore.so.4
> #61 0x00007f50ba4d5d6e in ?? () from /usr/lib/libQtGui.so.4
> #62 0x00007f50b95680c2 in
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib/libQtCore.so.4
> #63 0x00007f50b956849c in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib/libQtCore.so.4
> #64 0x00007f50b956c1db in QCoreApplication::exec() () from
> /usr/lib/libQtCore.so.4
> #65 0x00000000006be27c in main (argc=<value optimized out>, argv=<value
> optimized out>) at /home/languitar/workspace/digiKam/digikam/main.cpp:193
>
> I'm still using sqlite.
>
> Regards,
> Johannes
>
> Am 30.03.2010 22:08 schrieb Julien Narboux:
>> Holger,
>>
>> Thanks for this contribution.
>>
>> Here is a first feedback:
>>
>> After restarting Digikam I got :
>>
>> Error failed to connect to Digikam database.
>>
>> I clicked cancel, I was warned that Digikam can not work without a
>> database.
>> I went to settings, SQLITE was selected. but there were no path. I
>> selected the path of my old database.
>> No it seems to work (some picture are displayed). But it seems to be
>> slow, as if the thumbnails were regenerated.
>>
>>
>> Julien
>>
>> Holger Foerster a écrit :
>>> SVN commit 1109189 by foerster:
>>>
>>> Merged branch Digikam-DatabaseExt into trunk.
>>>
>>> Happy easter holidays :)
>>>
>>>  M  +25 -5     CMakeLists.txt  
>>>  M  +1 -0      data/CMakeLists.txt  
>>>  A             data/database (directory)  
>>>  AM            data/database/CMakeLists.txt  
>>>  A             data/database/dbconfig.xml.cmake  
>>>  A             data/database/mysql-global.conf  
>>>  A             databaseserver (directory)  
>>>  AM            databaseserver/CMakeLists.txt  
>>>  AM            databaseserver/databaseserver.cpp   [License: GPL (v2+)]
>>>  AM            databaseserver/databaseserver.h   [License: GPL (v2+)]
>>>  AM            databaseserver/main.cpp   [License: GPL (v2+)]
>>>  AM            databaseserver/org.kde.digikam.DatabaseServer.xml  
>>>  AM            databaseserver/pollthread.cpp   [License: GPL (v2+)]
>>>  AM            databaseserver/pollthread.h   [License: GPL (v2+)]
>>>  M  +1 -1      digikam/CMakeLists.txt  
>>>  M  +230 -95   digikam/albummanager.cpp  
>>>  M  +3 -3      digikam/albummanager.h  
>>>  M  +179 -7    digikam/albumsettings.cpp  
>>>  M  +28 -0     digikam/albumsettings.h  
>>>  AM            digikam/databaseerrorhandler.cpp   [License: GPL (v2+)]
>>>  AM            digikam/databaseerrorhandler.h   [License: GPL (v2+)]
>>>  M  +44 -8     digikam/digikamapp.cpp  
>>>  M  +4 -0      digikam/digikamapp.h  
>>>  M  +2 -1      digikam/digikamui.rc  
>>>  M  +17 -17    digikam/main.cpp  
>>>  M  +2 -0      kioslave/digikamalbums.cpp  
>>>  M  +2 -1      kioslave/digikamdates.cpp  
>>>  M  +2 -1      kioslave/digikamsearch.cpp  
>>>  M  +2 -1      kioslave/digikamtags.cpp  
>>>  M  +71 -64    libs/database/albumdb.cpp  
>>>  M  +2 -1      libs/database/albumdb.h  
>>>  M  +44 -25    libs/database/databaseaccess.cpp  
>>>  M  +3 -0      libs/database/databaseaccess.h  
>>>  M  +2 -2      libs/database/databasebackend.cpp  
>>>  M  +1 -1      libs/database/databasebackend.h  
>>>  AM            libs/database/databaseconfigelement.cpp   [License: GPL (v2+)]
>>>  AM            libs/database/databaseconfigelement.h   [License: GPL (v2+)]
>>>  AM            libs/database/databasecopymanager.cpp   [License: GPL (v2+)]
>>>  AM            libs/database/databasecopymanager.h   [License: GPL (v2+)]
>>>  M  +622 -133  libs/database/databasecorebackend.cpp  
>>>  M  +141 -20   libs/database/databasecorebackend.h  
>>>  M  +30 -2     libs/database/databasecorebackend_p.h  
>>>  M  +233 -0    libs/database/databaseparameters.cpp  
>>>  M  +21 -0     libs/database/databaseparameters.h  
>>>  AM            libs/database/databaseserverstarter.cpp   [License: GPL (v2+)]
>>>  AM            libs/database/databaseserverstarter.h   [License: GPL (v2+)]
>>>  M  +3 -2      libs/database/haar/haariface.cpp  
>>>  M  +9 -18     libs/database/imagelister.cpp  
>>>  M  +133 -421  libs/database/schemaupdater.cpp  
>>>  M  +17 -3     libs/database/schemaupdater.h  
>>>  AM            libs/database/sqlquery.cpp   [License: GPL (v2+)]
>>>  AM            libs/database/sqlquery.h   [License: GPL (v2+)]
>>>  M  +26 -14    libs/database/thumbnaildatabaseaccess.cpp  
>>>  M  +3 -1      libs/database/thumbnaildatabaseaccess.h  
>>>  M  +28 -23    libs/database/thumbnaildb.cpp  
>>>  M  +8 -7      libs/database/thumbnaildb.h  
>>>  M  +25 -9     libs/database/thumbnailschemaupdater.cpp  
>>>  M  +62 -62    libs/database/upgradedb_sqlite2tosqlite3.cpp  
>>>  M  +1 -1      libs/database/upgradedb_sqlite2tosqlite3.h  
>>>  AM            libs/dialogs/migrationdlg.cpp   [License: GPL (v2+)]
>>>  AM            libs/dialogs/migrationdlg.h   [License: GPL (v2+)]
>>>  M  +86 -19    libs/threadimageio/thumbnailcreator.cpp  
>>>  M  +9 -3      libs/threadimageio/thumbnailloadthread.cpp  
>>>  M  +4 -1      libs/threadimageio/thumbnailloadthread.h  
>>>  AM            libs/widgets/common/databasewidget.cpp   [License: GPL (v2+)]
>>>  AM            libs/widgets/common/databasewidget.h   [License: GPL (v2+)]
>>>  M  +3 -0      tests/CMakeLists.txt  
>>>  M  +4 -2      tests/albummodeltest.cpp  
>>>  AM            utilities/setup/databaseconnectionwidget.h   [License: GPL (v2+)]
>>>  M  +16 -1     utilities/setup/setup.cpp  
>>>  M  +1 -0      utilities/setup/setup.h  
>>>  M  +20 -121   utilities/setup/setupcollections.cpp  
>>>  M  +0 -4      utilities/setup/setupcollections.h  
>>>  AM            utilities/setup/setupdatabase.cpp   [License: GPL (v2+)]
>>>  AM            utilities/setup/setupdatabase.h   [License: GPL (v2+)]
>>>
>>>
>>> http://websvn.kde.org/?view=rev&revision=1109189
>>>  
>>
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>
>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Johannes Wienke-3
Am 02.04.2010 21:09 schrieb Johannes Wienke:
> After restarting digikam I did exactly the same. This time saving worked
> but directly after saving a dialog showed up for a few milliseconds and
> the complete album tree is empty.

This is completely reproducible here. This is the console log starting
at saving the image:

digikam(3875)/digikam (core) Digikam::DImgInterface::saveAs: Saving to :
/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp  ( "jpg" )
digikam(3875)/digikam (core) Digikam::DImgInterface::saveAs: Saving to :
/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp  ( "jpg" )
digikam(3875)/digikam (core) Digikam::JPEGLoader::save: Using LibJPEG
medium chroma-subsampling (4:2:2)
digikam(3875)/digikam (core) Digikam::JPEGLoader::save: Using LibJPEG
quality compression value:  100
digikam(3875)/digikam (core) Digikam::JPEGLoader::save: Using LibJPEG
medium chroma-subsampling (4:2:2)
digikam(3875)/digikam (core) Digikam::JPEGLoader::save: Using LibJPEG
quality compression value:  100
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::EditorWindow::moveFile: moving a
local file
digikam(3875)/digikam (core) Digikam::EditorWindow::moveFile: moving a
local file
digikam(3875)/digikam (core) Digikam::DImg::load:
"/home/languitar/Bilder/Pool Sharps/2010-03-31/entwickelt/X3319124.jpg"
 : JPEG file identified
digikam(3875)/digikam (core) Digikam::DImg::load:
"/home/languitar/Bilder/Pool Sharps/2010-03-31/entwickelt/X3319124.jpg"
 : JPEG file identified
digikam(3875)/digikam (core) Digikam::ImageScanner::addImage: Adding new
item "/home/languitar/Bilder/Pool Sharps/2010-03-31/entwickelt/X3319124.jpg"
digikam(3875)/digikam (core) Digikam::ImageScanner::addImage: Adding new
item "/home/languitar/Bilder/Pool Sharps/2010-03-31/entwickelt/X3319124.jpg"
digikam(3875)/digikam (core) Digikam::DatabaseCoreBackend::exec: Query
IsOpen(): QSqlError(-1, "", "")
digikam(3875)/digikam (core) Digikam::DatabaseCoreBackend::exec: Query
IsOpen(): QSqlError(-1, "", "")
digikam(3875)/digikam (core) Digikam::DatabaseCoreBackend::exec: Error
while executing query. Error was [ QSqlError(19, "Unable to fetch row",
"constraint failed") ]
digikam(3875)/digikam (core)
Digikam::DatabaseCoreBackend::queryErrorHandling: Detected error type [ 1 ]
digikam(3875)/digikam (core) Digikam::DatabaseCoreBackend::exec: Error
while executing query. Error was [ QSqlError(19, "Unable to fetch row",
"constraint failed") ]
digikam(3875)/digikam (core)
Digikam::DatabaseCoreBackend::queryErrorHandling: Detected error type [ 1 ]
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
still in use, all queries will cease to work.
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
still in use, all queries will cease to work.
digikam(3875)/digikam (core)
Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 46145
"/home/languitar/Bilder/Pool Sharps/2010-03-31/entwickelt/X3319124.jpg"
digikam(3875)/digikam (core)
Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 46145
"/home/languitar/Bilder/Pool Sharps/2010-03-31/entwickelt/X3319124.jpg"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
No itemShortInfo could be retrieved from the database for image
"X3319124.jpg"
No itemShortInfo could be retrieved from the database for image
"X3319124.jpg"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp3875"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp3875"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/X3319124.jpg"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/X3319124.jpg"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt"
digikam(3875)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty:
KDirWatch detected change at "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp3875"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/X3319124.jpg"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp3875"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/X3319124.jpg"
digikam(3875)/digikam (core) Digikam::CollectionScanner::scanAlbum:
Folder does not exist or is not readable:  "/home/languitar/Bilder/Pool
Sharps/2010-03-31/entwickelt/tN3875.digikamtempfile.tmp"


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Marcel Wiesweg

Any idea why all lines in the debug output are duplicated?
Is any other thread than thread 1 also waiting?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Johannes Wienke-3
Am 02.04.2010 22:37 schrieb Marcel Wiesweg:
> Any idea why all lines in the debug output are duplicated?
> Is any other thread than thread 1 also waiting?

Got no idea. Now it doesn't happen again. Very strange.


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

signature.asc (268 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Johannes Wienke-3
In reply to this post by Marcel Wiesweg
Am 02.04.2010 22:37 schrieb Marcel Wiesweg:
> Any idea why all lines in the debug output are duplicated?
> Is any other thread than thread 1 also waiting?

Hm, maybe this was triggered for every image that I selected?

Johannes


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Johannes Wienke-3
In reply to this post by Julien Narboux
Hi again,

I think there was already something on the user mailing list but I can
confirm now that search isn't working anymore. I only get this debug
messages:

digikam(7180)/digikam (core) Digikam::ImageAlbumModel::slotResult:
Failed to list url:  "Internal Error
Please send a full bug report at http://bugs.kde.org
 "
digikam(7180)/digikam (core) Digikam::ImageAlbumModel::slotResult:
Failed to list url:  "Internal Error
Please send a full bug report at http://bugs.kde.org

Moreover the scroll bar for the icon view indicates that there should be
a lot of images but the icon view is completely empty.

Johannes


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: extragear/graphics/digikam

Johannes Wienke-3
Am 04.04.2010 13:35 schrieb Johannes Wienke:
> Moreover the scroll bar for the icon view indicates that there should be
> a lot of images but the icon view is completely empty.

This also happens with the tag view, but there is no error message.

Johannes


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

signature.asc (270 bytes) Download Attachment