Digikam runtime error: couldn't create slave: "Unable to create io-slave:

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

Digikam runtime error: couldn't create slave: "Unable to create io-slave:

harsh agrawal
I was able to successfully install DigiKam using the latest source. But when I run the application I dont see any images on the thumbnails. 

The log shows some error:
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam(21696)/digikam (core): The bundled profile "libkdcraw/profiles/srgb-d65.icm" cannot be found. Check your installation. 
digikam(21696)/digikam (core): The bundled profile "libkdcraw/profiles/widegamut.icm" cannot be found. Check your installation. 
digikam(21696)/digikam (core): The bundled profile "libkdcraw/profiles/prophoto.icm" cannot be found. Check your installation. 
digikam(21696)/digikam (core): The bundled profile "libkdcraw/profiles/srgb-d65.icm" cannot be found. Check your installation. 
digikam(21696)/digikam (core): The bundled profile "libkdcraw/profiles/srgb-d65.icm" cannot be found. Check your installation. 
digikam(21696): couldn't create slave: "Unable to create io-slave:
klauncher said: Error loading 'kio_digikamdates'.
digikam(21696)/digikam (core) Digikam::AlbumManager::slotDatesJobResult: Failed to list dates 
digikam(21696)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: createInstance returned 0 for  "ImagePlugin_Color"  ( "digikamimageplugin_color" )  with error:  "Could not find plugin 'ImagePlugin_Color' for application 'digikam'" 
digikam(21696)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: createInstance returned 0 for  "ImagePlugin_Decorate"  ( "digikamimageplugin_decorate" )  with error:  "Could not find plugin 'ImagePlugin_Decorate' for application 'digikam'" 
digikam(21696)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: createInstance returned 0 for  "ImagePlugin_Enhance"  ( "digikamimageplugin_enhance" )  with error:  "Could not find plugin 'ImagePlugin_Enhance' for application 'digikam'" 
digikam(21696)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: createInstance returned 0 for  "ImagePlugin_FxFilters"  ( "digikamimageplugin_fxfilters" )  with error:  "Could not find plugin 'ImagePlugin_FxFilters' for application 'digikam'" 
digikam(21696)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: createInstance returned 0 for  "ImagePlugin_Transform"  ( "digikamimageplugin_transform" )  with error:  "Could not find plugin 'ImagePlugin_Transform' for application 'digikam'" 
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
digikam(21696): couldn't create slave: "Unable to create io-slave:
klauncher said: Error loading 'kio_digikamalbums'.
digikam(21696)/digikam (core) Digikam::ImageAlbumModel::slotResult: Failed to list url:  "Could not start process Unable to create io-slave:
klauncher said: Error loading 'kio_digikamalbums'.
." 
digikam(21696): couldn't create slave: "Unable to create io-slave:
klauncher said: Error loading 'kio_digikamalbums'.
digikam(21696)/digikam (core) Digikam::ImageAlbumModel::slotResult: Failed to list url:  "Could not start process Unable to create io-slave:
klauncher said: Error loading 'kio_digikamalbums'.
." 
digikam(21696): couldn't create slave: "Unable to create io-slave:
klauncher said: Error loading 'kio_digikamalbums'.
digikam(21696)/digikam (core) Digikam::ImageAlbumModel::slotResult: Failed to list url:  "Could not start process Unable to create io-slave:
klauncher said: Error loading 'kio_digikamalbums'.
." 

I figured out that the this error is pretty common for new installations. And it might have to do something with KDE installation as a whole. Can somebody tell me how can I correct it?

Thanks
harsh agrawal

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

Re: Digikam runtime error: couldn't create slave: "Unable to create io-slave:

Stephen Greenwalt
This happens when Digikam can't find its library files.  When you compiled from source, your cmake command looked something like this:

cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`{install-to-folder}` -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on ..

If {install-to-folder} had been in the Linux library path (like '/usr' or '/usr/local'), then Digikam would have installed binaries to '/usr/bin', libraries to '/usr/lib', app launching stuff to '/usr/share'.  Everything would have worked.

To fix this:

Open a terminal, and go to the folder you specified in cmake.  There you should see subfolders like 'bin', 'lib', and 'share'.  Then type something like:

cp -r * /usr
or
cp -r * /usr/local
or
cp -r * {some other path that IS in your Linux library search path}

The best target path might vary depending on what type of Linux you are running.