Opened 9 years ago

Last modified 3 years ago

#31926 new defect

digikam @2.1.1 unknown protocol 'digikamalbums'

Reported by: johannes@… Owned by: jgosmann (Jan Gosmann)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: fasimeru@…, cgilles (HumanDynamo)
Port: digikam

Description

Hi, I installed macports and digikam. It starts alright but when I import a photo, I get the error message

Could not start process Unable to create io-slave:
klauncher said: Unknown protocol: digikamalbums

Running on OS X 10.7.2

Change History (11)

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to jan@…

comment:2 Changed 9 years ago by johannes@…

Hi, I have found a way to get one step further: I can now import photos but I cannot move them to trash.

I did (1) uninstall digikam, (2) upgrade opencv, and (3) install digikam.

When I try "Move to Trash" on a photo I get the error message

Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'trash'
.

comment:3 Changed 9 years ago by jgosmann (Jan Gosmann)

Is this problem still persisting with the current version 2.6.0? (I just submitted an update to that version, may take a few days to get into the official repository.)

comment:4 Changed 9 years ago by johannes@…

Jan, sorry, but I cannot tell you if the problem is still persisting because I stopped using MacPorts and cleaned my system. (I use Aperture, now, and Kubuntu in a virtual machine for my own developments.) Cheers, Johannes

comment:5 in reply to:  3 Changed 9 years ago by fasimeru@…

Replying to jan@…:

Is this problem still persisting with the current version 2.6.0? (I just submitted an update to that version, may take a few days to get into the official repository.)

I have the same problem with the current version (2.6.0) :

"Could not start process Unable to create io-slave : klauncher said: Unknown protocol 'trash'. "

comment:6 Changed 9 years ago by jgosmann (Jan Gosmann)

It is working with my system and I don't have any clue what's causing the problem. Therefore, I can give you only some general advice:

  1. Run kdeinit4.app
  2. Execute
    sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
    launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
    
  3. Try to uninstall dbus (use the -f option, otherwise you have to uninstall all depending ports, too) and install it again. Then execute the previous commands again.

If nothing of that helps, you could report the problem upstream in the KDE bugtracker.

comment:7 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: fasimeru@… added

Is this still a problem with 2.7.0?

comment:8 Changed 8 years ago by peter@…

Still a problem with 2.9.0 as of today. No ioslave for digikamdates and digikamalbums.

comment:9 in reply to:  description ; Changed 8 years ago by jan.deluxe@…

I had the same issue when I was trying to use the face recognition feature of digikam

Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'digikamdates'.

I tried resolving the issue by reinstalling dbus

sudo port -n upgrade --force dbus

which didn't do it.

Luckily I remembered I was having issues with KDE4 Applications before (https://trac.macports.org/ticket/34874) and were able to solve them issuing

$ rm -r /var/tmp/kdecache-username
$ launchctl stop org.freedesktop.dbus-session
$ launchctl start org.freedesktop.dbus-session
$ sudo update-mime-database /opt/local/share/mime/
# rebuild the system configuration cache
$ kbuildsycoca4 --noincremental

I guess that's essentially what kde4init.app is doing, as proposed by jan in comment 6?

Now everything works (moving to trash, importing, using face recognition, ...)

My system-setting is 10.6.8; XCode 3.2.6; MacPorts 2.1.2; digiKam 2.9.0

comment:10 in reply to:  9 Changed 8 years ago by cginsburg@…

I am having a similar issue with moving items to the trash. Importing and facial recognition work just fine. I executed the commands references above(rm -r ....kbuildsycoca4) and am still unable to move items to the trash. The error I receive is

Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'trash'.
.

My system - 10.6.8, Xcode 3.2.6(no iOS sdk installed), MacPorts 2.1.2, digiKam 2.9.0

Replying to jan.deluxe@…:

I had the same issue when I was trying to use the face recognition feature of digikam

Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'digikamdates'.

I tried resolving the issue by reinstalling dbus

sudo port -n upgrade --force dbus

which didn't do it.

Luckily I remembered I was having issues with KDE4 Applications before (https://trac.macports.org/ticket/34874) and were able to solve them issuing

$ rm -r /var/tmp/kdecache-username
$ launchctl stop org.freedesktop.dbus-session
$ launchctl start org.freedesktop.dbus-session
$ sudo update-mime-database /opt/local/share/mime/
# rebuild the system configuration cache
$ kbuildsycoca4 --noincremental

I guess that's essentially what kde4init.app is doing, as proposed by jan in comment 6?

Now everything works (moving to trash, importing, using face recognition, ...)

My system-setting is 10.6.8; XCode 3.2.6; MacPorts 2.1.2; digiKam 2.9.0

comment:11 Changed 3 years ago by jmroot (Joshua Root)

Cc: caulier.gilles@… added
Note: See TracTickets for help on using tickets.