Bug 350930 - UI freeze when importing to remote storage
Summary: UI freeze when importing to remote storage
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-FileTransfer (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-03 19:12 UTC by Ovidiu-Florin BOGDAN
Modified: 2018-02-04 08:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ovidiu-Florin BOGDAN 2015-08-03 19:12:34 UTC
Test setup:
Mounted sshfs storage in which albums and sqlite DB is stored.
When importing from SD card storage, the UI freezes, making the application unusable.

Reproducible: Always
Comment 1 Ovidiu-Florin BOGDAN 2015-08-03 19:15:20 UTC
Command like output:

$ digikam 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_wikimedia.so nu poate fi încărcată: (libmediawiki.so.1: cannot open shared object file: No such file or directory)" 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_vkontakte.so nu poate fi încărcată: (libkvkontakte.so.1: cannot open shared object file: No such file or directory)" 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "Imgur Export"  ( "kipiplugin_imgurexport" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_imgurexport.so nu poate fi încărcată: (libkqoauth.so.0: cannot open shared object file: No such file or directory)" 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_videoslideshow.so nu poate fi încărcată: (libQtGStreamerUtils-1.0.so.0: cannot open shared object file: No such file or directory)" 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_wikimedia.so nu poate fi încărcată: (libmediawiki.so.1: cannot open shared object file: No such file or directory)" 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_vkontakte.so nu poate fi încărcată: (libkvkontakte.so.1: cannot open shared object file: No such file or directory)" 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "Imgur Export"  ( "kipiplugin_imgurexport" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_imgurexport.so nu poate fi încărcată: (libkqoauth.so.0: cannot open shared object file: No such file or directory)" 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_videoslideshow.so nu poate fi încărcată: (libQtGStreamerUtils-1.0.so.0: cannot open shared object file: No such file or directory)" 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_wikimedia.so nu poate fi încărcată: (libmediawiki.so.1: cannot open shared object file: No such file or directory)" 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_vkontakte.so nu poate fi încărcată: (libkvkontakte.so.1: cannot open shared object file: No such file or directory)" 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "Imgur Export"  ( "kipiplugin_imgurexport" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_imgurexport.so nu poate fi încărcată: (libkqoauth.so.0: cannot open shared object file: No such file or directory)" 
digikam(5088)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with error:  "Biblioteca /usr/lib/kde4/kipiplugin_videoslideshow.so nu poate fi încărcată: (libQtGStreamerUtils-1.0.so.0: cannot open shared object file: No such file or directory)" 
digikam(5088)/digikam (core) Digikam::ImportStackedView::syncSelection: one or both of the models are null?! from: Digikam::ImportIconView(0x24a7d30) to: Digikam::ImportThumbnailBar(0x249d5c0)                                                   
digikam(5088)/KEXIV2: Cannot load metadata from file   (Error # 11 :  /home/ovidiu/ApolloMedia/9676a2df-3185-4433-b1d6-919f5cb6712b/poze/Capella Polifonica/Istambul/2014-03-09/2014-03-09T20:04:26.mpg: The file contains data of an unknown image type                                                                                                                                                                                                                                              
X Error: BadWindow (invalid Window parameter) 3                                                                                                                                                                                                    
  Major opcode: 20 (X_GetProperty)                                                                                                                                                                                                                 
  Resource id:  0x5e003b9                                                                                                                                                                                                                          
digikam(5088)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Detected locked database file. There is an active transaction. Waited but giving up now.                                                              
X Error: BadWindow (invalid Window parameter) 3                                                                                                                                                                                                    
  Major opcode: 20 (X_GetProperty)                                                                                                                                                                                                                 
  Resource id:  0x5e003c8                                                                                                                                                                                                                          
digikam(5088)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Detected locked database file. There is an active transaction. Waited but giving up now.                                                              
X Error: BadWindow (invalid Window parameter) 3                                                                                                                                                                                                    
  Major opcode: 20 (X_GetProperty)                                                                                                                                                                                                                 
  Resource id:  0x5e0042c                                                                                                                                                                                                                          
digikam(5088)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Detected locked database file. There is an active transaction. Waited but giving up now.                                                              
digikam(5088)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Detected locked database file. There is an active transaction. Waited but giving up now.                                                              
digikam(5088)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Detected locked database file. There is an active transaction. Waited but giving up now.                                                              
digikam(5088)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Detected locked database file. There is an active transaction. Waited but giving up now.
digikam(5088)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Detected locked database file. There is an active transaction. Waited but giving up now.                                                              
digikam(5088)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Detected locked database file. There is an active transaction. Waited but giving up now.                                                              
digikam(5088)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Detected locked database file. There is an active transaction. Waited but giving up now.                                                              
digikam(5088)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Detected locked database file. There is an active transaction. Waited but giving up now.                                                              
digikam(5088)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Detected locked database file. There is an active transaction. Waited but giving up now.

And continues like this until I kill the process.
Comment 2 caulier.gilles 2015-08-06 08:06:17 UTC
This problem have been fixed in recent release.

Try with last 4.12.0.

Gilles Caulier
Comment 3 caulier.gilles 2015-08-17 11:27:11 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.

Gilles Caulier
Comment 4 Ovidiu-Florin BOGDAN 2015-08-19 19:28:23 UTC
Moved the SQLite DB locally (synced to the server via OwnCloud).
Updated to 4.12.0.

I haven't meet any freezes so far. Plus the whole workflow is much more fluid.

I consider this solved in 4.12.0. Also for anyone else in the future: DON'T store the database file on a remote server if you use SQLite.