[Digikam-devel] Install in /home borked - what did I do wrong?

Sebastian Röder sebastian.roeder at uni-bielefeld.de
Tue Apr 25 20:49:06 BST 2006


OK I might be one step further but still very confused by the problem.

I have updated my startscript and added some "feetback" - the new script looks 
like this:

#!/bin/bash
# A little wrapper script to start the latest digikam testbuild

add_root=/home/sero/kde_svn/testbuilds/digikam_trunk
export KDEDIRS="${KDEDIRS}:$add_root"
echo "Adjusted KDEDIRS: ${KDEDIRS}"
export PATH="${PATH}:$add_root/bin"
echo "Adjusted PATH: ${PATH}"
#kbuildsycoca
digikam


The funny thing is that this script works perfect when started as root (note 
that kbuildsycoca is started automatically also I didn't explicitly started 
it):

~ # sh /home/sero/bin/start_digikam.sh
Adjusted KDEDIRS: /usr:/home/sero/kde_svn/testbuilds/digikam_trunk
Adjusted 
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/home/sero/kde_svn/testbuilds/digikam_trunk/bin
kbuildsycoca running...
digikam: ScanLib: Finding non-existing Albums: 2 ms
digikam: ScanLib: Finding items not in the database or disk: 209 ms
digikam: ScanLib: Updating items without date: 0 ms
digikam: Cannot parse EXIF metadata using Exiv2
digikam: ImagePlugin_Core plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Core
digikam: ImagePlugin_RainDrop plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_RainDrop
digikam: ImagePlugin_InPainting plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_InPainting
digikam: ImagePlugin_Infrared plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Infrared
digikam: ImagePlugin_Texture plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Texture
digikam: ImagePlugin_Border plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Border
digikam: ImagePlugin_OilPaint plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_OilPaint
digikam: ImagePlugin_InsertText plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_InsertText
digikam: ImagePlugin_Emboss plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Emboss
digikam: ImagePlugin_NoiseReduction plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_NoiseReduction
digikam: ImagePlugin_Unsharp plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Unsharp
digikam: ImagePlugin_HotPixels plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_HotPixels
digikam: ImagePlugin_AdjustLevels plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustLevels
digikam: ImagePlugin_ShearTool plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_ShearTool
digikam: ImagePlugin_Solarize plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Solarize
digikam: ImagePlugin_DistortionFX plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_DistortionFX
digikam: ImagePlugin_LensDistortion plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_LensDistortion
digikam: ImagePlugin_FilmGrain plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_FilmGrain
digikam: ImagePlugin_BlowUp plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_BlowUp
digikam: ImagePlugin_Restoration plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Restoration
digikam: ImagePlugin_SuperImpose plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_SuperImpose
digikam: ImagePlugin_Refocus plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Refocus
digikam: ImagePlugin_WhiteBalance plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_WhiteBalance
digikam: ImagePlugin_BlurFX plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_BlurFX
digikam: ImagePlugin_AntiVignetting plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AntiVignetting
digikam: ImagePlugin_AdjustCurves plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustCurves
digikam: ImagePlugin_FreeRotation plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_FreeRotation
digikam: ImagePlugin_Perspective plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Perspective
digikam: ImagePlugin_ChannelMixer plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_ChannelMixer
digikam: ImagePlugin_Charcoal plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Charcoal

The problem now is that it doesn't start as normal user:

~ $ sh bin/start_digikam.sh
Adjusted KDEDIRS: /usr:/home/sero/kde_svn/testbuilds/digikam_trunk
Adjusted 
PATH: /usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/home/sero/kde_svn/testbuilds/digikam_trunk/bin
digikam: ScanLib: Finding non-existing Albums: 3 ms
digikam: ScanLib: Finding items not in the database or disk: 208 ms
digikam: ScanLib: Updating items without date: 0 ms
digikam: Cannot parse EXIF metadata using Exiv2
digikam: ImagePlugin_Core plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Core
digikam: ImagePlugin_RainDrop plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_RainDrop
digikam: ImagePlugin_InPainting plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_InPainting
digikam: ImagePlugin_Infrared plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Infrared
digikam: ImagePlugin_Texture plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Texture
digikam: ImagePlugin_Border plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Border
digikam: ImagePlugin_OilPaint plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_OilPaint
digikam: ImagePlugin_InsertText plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_InsertText
digikam: ImagePlugin_Emboss plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Emboss
digikam: ImagePlugin_NoiseReduction plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_NoiseReduction
digikam: ImagePlugin_Unsharp plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Unsharp
digikam: ImagePlugin_HotPixels plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_HotPixels
digikam: ImagePlugin_AdjustLevels plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustLevels
digikam: ImagePlugin_ShearTool plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_ShearTool
digikam: ImagePlugin_Solarize plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Solarize
digikam: ImagePlugin_DistortionFX plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_DistortionFX
digikam: ImagePlugin_LensDistortion plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_LensDistortion
digikam: ImagePlugin_FilmGrain plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_FilmGrain
digikam: ImagePlugin_BlowUp plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_BlowUp
digikam: ImagePlugin_Restoration plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Restoration
digikam: ImagePlugin_SuperImpose plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_SuperImpose
digikam: ImagePlugin_Refocus plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Refocus
digikam: ImagePlugin_WhiteBalance plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_WhiteBalance
digikam: ImagePlugin_BlurFX plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_BlurFX
digikam: ImagePlugin_AntiVignetting plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AntiVignetting
digikam: ImagePlugin_AdjustCurves plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustCurves
digikam: ImagePlugin_FreeRotation plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_FreeRotation
digikam: ImagePlugin_Perspective plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Perspective
digikam: ImagePlugin_ChannelMixer plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_ChannelMixer
digikam: ImagePlugin_Charcoal plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Charcoal
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Fehler beim Laden von "kio_digikamdates"
digikam:
digikam: WARNING: [void Digikam::AlbumManager::slotResult(KIO::Job*)] Failed 
to list dates
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Fehler beim Laden von "kio_digikamalbums"
digikam:
digikam: WARNING: Failed to list url: Could not start process Unable to create 
io-slave:
klauncher said: Fehler beim Laden von "kio_digikamalbums"

Calling kbuildsycoca manualy from the script didn't change anything - but it 
complains about kio database and a lot about mime types:

kbuildsycoca running...
Reusing existing ksycoca
kio (KSycoca): ERROR: No database available!
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/ark.desktop' 
specifies undefined mimetype/servicetype 'application/x-tbz2'
kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined 
mimetype/servicetype 'application/x-tbz2'
kbuildsycoca: WARNING: 'kfile_ooo.desktop' specifies undefined 
mimetype/servicetype 'application/vnd.sun.xml.writer.global'
kbuildsycoca: WARNING: 'kfile_ooo.desktop' specifies undefined 
mimetype/servicetype 'application/vnd.sun.xml.writer.math'
kbuildsycoca: WARNING: '/usr/share/applications/scribus.desktop' specifies 
undefined mimetype/servicetype 'application/x-scribus'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies 
undefined mimetype/servicetype 'application/asx'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies 
undefined mimetype/servicetype 'audio/midi'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies 
undefined mimetype/servicetype 'audio/x-aac'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies 
undefined mimetype/servicetype 'audio/x-m4a'
kbuildsycoca: WARNING: 'Office/krita_magick.desktop' specifies undefined 
mimetype/servicetype 'image/x-xcf'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined 
mimetype/servicetype 'text/x-fortran'
kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined 
mimetype/servicetype 'application/binary-certificate'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/mp3'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/mpg'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-mpeg'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-mpg'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/wav'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-pn-wav'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-pn-windows-acm'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-pn-windows-pcm'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'text/vnd.rn-realtext'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'application/vnd.rn-realmedia-secure'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'application/vnd.rn-realaudio-secure'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-realaudio-secure'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'video/vnd.rn-realvideo-secure'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-realaudio'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'application/vnd.rn-realmedia-vbr'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'image/vnd.rn-realpix'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'application/vnd.rn-realsystem-rmj'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'application/vnd.rn-realsystem-rmx'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-aac'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/m4a'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-m4a'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/mp2'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/mp1'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-mp1'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/rn-mpeg'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/scpls'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'application/x-smil'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'application/streamingmedia'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'application/x-streamingmedia'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'application/sdp'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-pn-au'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/aiff'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-pn-aiff'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'video/3gpp'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'video/3gpp-encrypted'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/3gpp'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/3gpp-encrypted'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/amr'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/amr-encrypted'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/amr-wb'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/amr-wb-encrypted'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-rn-3gpp-amr'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-rn-3gpp-amr-encrypted'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-rn-3gpp-amr-wb'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-rn-3gpp-amr-wb-encrypted'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'video/3gpp2'
kbuildsycoca: WARNING: '/usr/share/applications/realplay.desktop' specifies 
undefined mimetype/servicetype 'audio/x-3gpp2'
kbuildsycoca: WARNING: '/usr/share/applications/xine.desktop' specifies 
undefined mimetype/servicetype 'video/x-anim'
kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined 
mimetype/servicetype 'KNotify'
kbuildsycoca: WARNING: 
'/usr/share/applications/openoffice.org-2.0-base.desktop' specifies undefined 
mimetype/servicetype 'application/vnd.oasis.opendocument.database'
kbuildsycoca: WARNING: 
'/usr/share/applications/openoffice.org-2.0-writer.desktop' specifies 
undefined mimetype/servicetype 'application/vnd.oasis.opendocument.text-web'
kbuildsycoca: WARNING: 
'/usr/share/applications/openoffice.org-2.0-writer.desktop' specifies 
undefined mimetype/servicetype 
'application/vnd.oasis.opendocument.text-master'
kbuildsycoca: WARNING: 
'/usr/share/applications/openoffice.org-2.0-writer.desktop' specifies 
undefined mimetype/servicetype 'application/vnd.sun.xml.writer.global'
kbuildsycoca: WARNING: 
'/usr/share/applications/openoffice.org-2.0-writer.desktop' specifies 
undefined mimetype/servicetype 'application/x-doc'
kbuildsycoca: WARNING: 
'/usr/share/applications/openoffice.org-2.0-writer.desktop' specifies 
undefined mimetype/servicetype 'application/vnd.wordperfect'
kbuildsycoca: WARNING: 
'/usr/share/applications/openoffice.org-2.0-math.desktop' specifies undefined 
mimetype/servicetype 'application/vnd.sun.xml.math'

Now I am completely lost! Is my KDE borked? What can I do?



More information about the Digikam-devel mailing list