Bug 187095 - images are not displayed at central panel
Summary: images are not displayed at central panel
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 0.10.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-14 02:25 UTC by Leslie Harlley Watter
Modified: 2017-07-16 21:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leslie Harlley Watter 2009-03-14 02:25:30 UTC
Version:           SVN - 13/03/2009 (using KDE 4.2.1)
Compiler:          gcc (Debian 4.3.3-5) 4.3.3 
OS:                Linux
Installed from:    Debian testing/unstable Packages

I've compiled digikam for KDE 4.2 with (instructions provided at digikam's page):
(svn checkout are commented but substituted by svn up)

===========================================================================
#!/bin/sh -xve

# svn co -N svn://anonsvn.kde.org/home/kde/branches/KDE/4.2/kdegraphics
 cd kdegraphics
 svn up
 svn up libs
 svn up cmake
# To Checkout the latest digiKam and Kipi-plugins SVN source for KDE4:
 cd ..
# svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics
 cd graphics
 svn up
 svn up digikam
 svn up kipi-plugins
 svn up cmake
#Installion for KDE4 in your system (/opt/kde4)
# To compile the source code under linux you have to give these commands in the source code folders. You should use a seperate
 build folder to help cleaning up sources if something goes wrong.
for i in digikam kipi-plugins cmake; do
 cd $i;
 if ! [ -d build ]; then
        mkdir build
 fi
 cd build
 cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/home/leslie/opt/kde4 ../../../graphics
 make
 #su
 make install
 cd ../..
done
=======================================================================

I've tried to start digikam both as follows:

1. Just typing /home/leslie/opt/kde4/bin/digikam
without setting extra config variables 

and 

2. Exporting these variables (as I've done with digikam 0.9.X from svn)

export DIGIKAMDEST=/home/leslie/opt/kde4
export KDEDIRS=$DIGIKAMDEST:/usr
export LD_LIBRARY_PATH=$DIGIKAMDEST/lib:$LD_LIBRARY_PATH
export LDPATH=$DIGIKAMDEST/lib:$LDPATH
export PATH=$DIGIKAMDEST/bin:$PATH

hash -r
digikam

and

3.  
export DIGIKAMDEST=/home/leslie/opt/kde4
export KDEDIRS=$DIGIKAMDEST:/usr
export LD_LIBRARY_PATH=$DIGIKAMDEST/lib:$LD_LIBRARY_PATH
export LDPATH=$DIGIKAMDEST/lib:$LDPATH
export PATH=$DIGIKAMDEST/bin:$PATH

hash -r
kdeinit
digikam



I'm receiving the following errors in the console, while no images are displayed in the central panel.

./leslie@mione:~$ ./opt/bin/digikam
leslie@mione:~$ ./opt/kde4/bin/digikam
digikam(10995) Phonon::KdePlatformPlugin::createBackend: using backend:  "GStreamer"
Starting to load Plugins.
Files:  "CompassFloatItem.so"
Files:  "MapScaleFloatItem.so"
Files:  "MarbleCrosshairsPlugin.so"
Files:  "MarbleGeoDataPlugin.so"
Files:  "MarbleOverviewMap.so"
Files:  "MarbleStarsPlugin.so"
Files:  "NavigationFloatItem.so"
=== MarbleDirs: ===
Local Path: "/home/leslie/.marble/data"
Plugin Local Path: "/home/leslie/.marble/plugins"

Marble Data Path (Run Time) : ""
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data"

Marble Plugin Path (Run Time) : ""

(some output snipped) 

generated indexes
MarblePlacemarkModel (generateIndex): Time elapsed: 564 ms
Style reset requested.
Style reset requested.
Style reset requested.
Style reset requested.
Style reset requested.
Style reset requested.
start generate indexes
generated indexes
MarblePlacemarkModel (generateIndex): Time elapsed: 563 ms
Style reset requested.
Style reset requested.
timeChanged
void SunLocator::update()
timeChanged
void SunLocator::update()
digikam(10995): Attempt to use QAction "camera_solid" with KXMLGUIFactory!
digikam(10995): Attempt to use QAction "usb_media" with KXMLGUIFactory!
digikam(10995): Attempt to use QAction "card_reader" with KXMLGUIFactory!
digikam(10995): Attempt to use QAction "camera_addedmanually" with KXMLGUIFactory!
digikam(10995): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'digikamdates'.
"
digikam(10995): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'digikamalbums'.
"

Full Entry at: http://pastebin.com/f6151526e


----leslie@mione:~$ set | grep KDE
KDEDIRS=/home/leslie/opt/kde4:/usr
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=4
----


Is there any other information that I could provide ?

I'm trying to start to contribute with digikam.

Thanks in advance,

Leslie
Comment 1 Andi Clemens 2009-03-14 10:43:55 UTC
Did you try to run digikam immediately after installing?
Maybe KDE4 was not informed about that.
If you logout or if you run kdeinit4, it should scan its config and realize that there are some more kioslaves, like the onces you are missing here:

digikam(10995): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'digikamdates'.
"
digikam(10995): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'digikamalbums'.

The problem in your case is that digikam can't find those slaves and therefore is not able to display images in the center pane.

If you haven' done already, logout / login and see if it works or run kdeinit4 in a console while you are logged into an KDE4 session.

But maybe the problem also is in here:
KDEDIRS=/home/leslie/opt/kde4:/usr

As far as I know, a kioslave needs to be in a dir KDE4 is looking for, so it must be installed system-wide, not in your home folder.

Also try to install digikam in the global KDE4 system folder.

Andi
Comment 2 Andi Clemens 2009-03-14 10:47:46 UTC
(In reply to comment #0)
>  cmake -DCMAKE_INSTALL_PREFIX=/home/leslie/opt/kde4 ../../../graphics

I meant this variable, not the KDEDIRS one (also this might be a problem, too).
Comment 3 Leslie Harlley Watter 2009-03-15 00:49:39 UTC
Hi Andy!

I was trying to start digikam just after the build. As soon as I restarted KDE and try again (I've read your message first) digikam worked.

Thanks a lot!
Btw, I just rebooted my notebook, with the same environment ;-)