Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118222 - digikam: service types not found
Summary: digikam: service types not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest minor (vote)
Assignee: Ioannis Aslanidis (RETIRED)
URL: http://bugs.kde.org/show_bug.cgi?id=1...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-07 12:53 UTC by *
Modified: 2007-07-07 13:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description * 2006-01-07 12:53:28 UTC
I emerged world a week ago and it broke digikam as described in

http://forums.gentoo.org/viewtopic-t-418360.html

(It may be unrelated but I also lost all my png icons in kmenu and kicker). I emerged world again today and it upgraded digikam to 0.7.4- I still don't see any thumbnails in digikam but now there's a different error:

kio (KMimeType): WARNING: KServiceType::offers : servicetype KIPI/Plugin not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype Digikam/ImagePlugin not found

As described in that thread, I've tried re-emerging everything I can think of:

media-libs/libexif-0.6.12-r4
media-libs/libkexif-0.2.2
media-libs/libkipi-0.1.2
media-plugins/kipi-plugins-0.1.0_rc1
media-plugins/digikamimageplugins-0.7.4-r1
media-gfx/digikam-0.7.4-r1
media-libs/libpng-1.2.8
app-misc/mime-types-4
kde-base/kdebase-data-3.4.3
kde-base/kdebase-kioslaves-3.4.3
kde-base/kdemultimedia-kioslaves-3.4.3
kde-base/kdelibs-3.4.3

More than once (and more than just those listed above).  As mentioned the same thing happened on 2 identical machines so I don't think it's a random thing.
Comment 1 Doug Burke 2006-02-08 08:19:18 UTC
I also see this problem with (not merged in this order)

media-gfx/digikam-0.8.1
media-plugins/digikamimageplugins-0.8.0-r1
media-libs/libkipi-0.1.2
media-plugins/kipi-plugins-0.1.0_rc1
kde-base/kdebase-kioslaves-3.5.1
kde-base/kdemultimedia-kioslaves-3.5.1
kde-base/kdelibs-3.5.1-r1
kde-base/kdebase-data-3.5.1

Here's the screen output I get from starting digikam (with the debug flag set):

% digikam
digikam: ScanLib: Finding non-existing Albums: 104 ms
digikam: ScanLib: Finding items not in the database or disk: 2798 ms
digikam: ScanLib: Updating items without date: 64 ms
kio (KMimeType): WARNING: KServiceType::offers : servicetype KIPI/Plugin not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype Digikam/ImagePlugin not found
QImage::pixel: x=0 out of range
QTextImage: no mimesource for crystalsvg/32x32/apps/digikam.png
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamdates'.
digikam:
digikam: WARNING: [void AlbumManager::slotResult(KIO::Job*)] Failed to list dates
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamalbums'.
digikam:
digikam: WARNING: Failed to list url: Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'digikamalbums'.
.

The UI comes up with a list of all my albums, but there are no thumbnails.

The /usr/lib/kde3/ directory contains the digikam/kipi .so files - e.g.

% ls -l /usr/lib/kde3/*album*
-rwxr-xr-x  1 root root   1704 Feb  5 10:48 /usr/lib/kde3/kio_digikamalbums.la*
-rwxr-xr-x  1 root root 102400 Feb  5 10:48 /usr/lib/kde3/kio_digikamalbums.so*

so I guess digikam just isn't picking up this directory.

Here's my 'emerge info':

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://adelie.polymtl.ca/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/doug/code/build/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa arts asf audiofile berkdb bitmap-fonts blas bonobo cairo cddb cdparanoia cdr crypt cups curl emacs encode esd exif f77 fam ffmpeg fftw firefox flac font-server foomaticdb fortran gd gdbm gif gimp glitz gnome gphoto2 gstreamer gtk2 gtkhtml hal hddtemp imagemagick imlib java jpeg jpeg2k kde lcms libwww lirc mad mmx mmxext motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg musicbrainz mysql mythtv ncurses network nls nosendmail nptl nsplugin nvidia ogg oggvorbis opengl oscar pam pccts pcre pdflib perl pic png posix ppds python qt quicktime quotes readline real sdl shared slang smp sox spell sse sse2 ssl svg t1lib tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales v4l2 vorbis win32codecs xml2 xpm xsl xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-15 08:05:35 UTC
Looks like you broke KDE paths. What's the output of `kde-config --path services`? What's the content of /etc/env.d/99kde-env ?
Comment 3 * 2006-02-15 13:42:13 UTC
unix> kde-config --path services
/home/myusername/.kde3.4/share/services/:/usr/share/services/:/usr/kde/3.4/share/services/

unix> cat /etc/env.d/99kde-env
KDEDIRS=/usr
CONFIG_PROTECT=/usr/share/config
#KDE_IS_PRELINKED=1

Thanks.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-16 07:53:49 UTC
When you create a new account, do you have the same problem?
Comment 5 * 2006-02-16 09:31:29 UTC
(In reply to comment #4)
> When you create a new account, do you have the same problem?
> 
Yes.  Actually I tried that already, but I appreciate the suggestion.  Thanks.
Comment 6 * 2006-04-09 20:31:15 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > When you create a new account, do you have the same problem?
> > 
> Yes.  Actually I tried that already, but I appreciate the suggestion.  Thanks.
> 

4.5 months later- I've figured out the problem, at least for my case.  Apparently it's because I was using tcsh instead of bash.  This is reproducible- when I chsh to bash the problems go away.  If I chsh back to tcsh, the png icons in kmenu and kicker disappear and when I run digikam I get the 100's of errors about io-slave and hung kio_file processes, one for every photo thumbnail.

Still no idea which package caused the problem though.
Comment 7 Frossie 2006-09-28 13:26:45 UTC
> 
> 4.5 months later- I've figured out the problem, at least for my case. 
> Apparently it's because I was using tcsh instead of bash.  This is
> reproducible- when I chsh to bash the problems go away.  If I chsh back to
> tcsh, the png icons in kmenu and kicker disappear and when I run digikam I get
> the 100's of errors about io-slave and hung kio_file processes, one for every
> photo thumbnail.
> 
> Still no idea which package caused the problem though.
> 

Digikam error

I am having the same problem (I think), but the bash trick isn't working for me. However sshing into localhost under the same username does (at least as far as seeing thumbnails). I have tried all aforementioned suggestions without any luck. Any ideas?
; digikam
kio (KMimeType): WARNING: KServiceType::offers : servicetype KIPI/Plugin not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype Digikam/ImagePlugin not found
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamthumbnail'.
digikam:
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamthumbnail'.
digikam:
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol '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: Unknown protocol 'digikamalbums'.
digikam:
digikam: WARNING: Failed to list url: Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'digikamalbums'.
.
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamthumbnail'.
digikam:
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamthumbnail'.
digikam:
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamthumbnail'.
digikam:
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamthumbnail'.
digikam:
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamthumbnail'.
digikam:
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamthumbnail'.
digikam:
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamthumbnail'.
digikam:
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamthumbnail'.
digikam:
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamthumbnail'.
digikam:

emerge --info 

; emerge --info
Portage 2.1.2_pre1-r4 (default-linux/amd64/2005.1, gcc-3.4.6/amd64-vanilla, glibc-2.4-r3, 2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.12.5
Last Sync: Thu, 28 Sep 2006 19:30:01 +0000
app-admin/eselect-compiler: 2.0.0_rc1-r6
dev-java/java-config: 1.3.0-r2, 2.0.29
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="C"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa arts avi berkdb bitmap-fonts bluetooth browserplugin cdparanoia cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode exif flac foomaticdb fortran gd gif gpm gstreamer gtk2 hal ieee1394 imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java jikes jpeg kde kernel_linux ldap lzw lzw-tiff mp3 mpeg mule ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udb unicode usb userland_GNU verbose video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xine xml xml2 xorg xpm xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

; equery which digikam
/usr/portage/media-gfx/digikam/digikam-0.9.0_beta2.ebuild
; equery which kde-base
Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-28 13:53:32 UTC
Does this still happen to you with version 0.9.x?

SIDE NOTE: Please, updated to a supported profile and a supported GCC compiler (4.1.1). Follow the guides: 

http://www.gentoo.org/doc/en/gentoo-upgrading.xml
http://www.gentoo.org/doc/en/gcc-upgrading.xml
Comment 9 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-28 13:58:41 UTC
Disregard the question on previous comment.

http://bugs.kde.org/show_bug.cgi?id=119424
Comment 10 Frossie 2006-09-30 06:36:23 UTC
(In reply to comment #9)
> Disregard the question on previous comment.
> 
> http://bugs.kde.org/show_bug.cgi?id=119424
> 

Thanks, I will upgrade as you suggested anyway, but I agree with the conclusion in the bug above that it is likely a KDE problem, not a digikam problem. Especially since it works differently if I am not logged dirtectly onto the console.
Comment 11 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-10-15 07:52:54 UTC
Does the problem persist?
Comment 12 Frossie 2006-10-15 22:57:42 UTC
(In reply to comment #11)
> Does the problem persist?
> 

Yes for the record I did a totally clean install (from a fsck'd /) of the 2006.1 profile and am running gcc 4.* etc etc and the problem persists.
Comment 13 Frossie 2006-10-17 21:44:43 UTC
Also, the problem (missing thumbnails) does not occur under twm on the same system, which further implicates KDE.
Comment 14 Frossie 2006-12-14 22:23:29 UTC
I finally found the solution to this problem here:

http://mail.kde.org/pipermail/digikam-users/2005-September/000412.html

Basically, running kdeinit from a konsole fixes this, though I am still confused as to why it used to work for me.

I think this can be marked as resolved now.
Comment 15 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-15 02:28:15 UTC
See comment 14...
Comment 16 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-12-15 08:25:43 UTC
Leave open. I have to do some additional checks.
Comment 17 Charlie Shepherd (RETIRED) gentoo-dev 2007-02-03 12:29:24 UTC
<@deathwing00> masterdriverz: about bug #118222, reassign it to me, and I'll take care of it once I'm established and with free time
Comment 18 Wulf Krueger (RETIRED) gentoo-dev 2007-06-01 21:28:48 UTC
Ioannis, any news on this or can we resolve this as invalid?
Comment 19 Wulf Krueger (RETIRED) gentoo-dev 2007-07-07 13:47:51 UTC
Feel free to re-open, Ioannis, if/when you have finished those additional checks.