Bug 132470 - Image editor tools not available unless logged in as superuser
Summary: Image editor tools not available unless logged in as superuser
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ImageEditor-Plugins (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 00:16 UTC by Bjoern Aage Brandal
Modified: 2022-02-03 03:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bjoern Aage Brandal 2006-08-16 00:16:31 UTC
Version:           0.9.0 b1 (using KDE KDE 3.5.2)
Installed from:    Ubuntu Packages
OS:                Linux

I have installed digikam 0.9.0 ubuntu packages. When starting digikam none of the installed plugins are available. But the images display correctly and everything else seem to be OK. The konsole view displays the following error:

digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikampreview'.

If i start digikam as superuser (sudo digikam) the plugins are available both in the preferences and the tools menu, but then no images are shown. Starting digikam as su gives the following error :

digikam: WARNING: Failed to list url: Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'digikamalbums'.

The owner of the digicam folders are root, and i have tried to changed the owner to <my username>, but still no plugins available unless logged in as root

I also tried to compile the plugins and digikam from the source tarballs at digikam.org, but with same result, no plugins available (did not try the sudo approach with the compiled version).

I have googled extensively for solutions, but found none. But I have seen several others mentioning the same problem.
Comment 1 Marcel Wiesweg 2006-08-16 23:26:15 UTC
It seems the ioslave are not found, at least some of them. That is not good, but certainly an installation issue, or an Ubuntu specific KDE installation problem.

I don't know how Ubuntu does it. Here, the relevant libs can be found at 
/usr/kde/3.5/lib/kde3/kio_digikamalbums.so
(and -dates, -preview, -search, digikamimageplugins_* for image plugins)
The corresponding .desktop files can be found at
/usr/kde/3.5/share/services/digikamalbums.protocol
(etc.)
Comment 2 Bjoern Aage Brandal 2006-08-17 00:17:37 UTC
In ubuntu (currently running Kubuntu) the corresponding folders are  /usr/lib/kde3/ and /usr/share/services/.

I tried creating a new user, and for this user the plugins became available.

I then removed this user and logged in again as the primary user (that did not work with digikam). I renamed the pictures folder, and restarted digikam. I then got the album selection dialoge for setting the albums folder. I sat this to a new (nonexisting) folder and then digikam started with all plugins loaded. In the preferences dialog i changed the albums folder name to the new renamed pictures folder and now it worked with every plugin loaded and every picture available.

Comment 3 Achim Bohnet 2006-08-17 12:22:52 UTC
Hi Boern,

what you discribe sounds like running kbuildsycoca would have fixed
the problem (kbuildsyscoca is run during session login automaticly).

What is strange is, that kded/kdeinit watches AFAIU the
dirs and picks up the newly installed files automaticly.  Anyone
knows more about the watch/autoupdate?  Is my assumption wrong?

Achim
Comment 4 caulier.gilles 2006-09-30 12:27:10 UTC
Marcel have fixed in current implementation (not beta2) a visibility problem with all image editor plugins when gcc > 4.1 have been used to compile DigikamImagePlugins.

Please checkout source code of digiKam and DigikamImagePlugins from trunk, compile it, and give us a feedback. Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2006-12-11 15:26:42 UTC
Bjoern, can you reproduce this problem with digiKam 0.9.0-RC2 ?

Thanks in advance for your report.

Gilles Caulier
Comment 6 Bjoern Aage Brandal 2006-12-11 18:51:47 UTC
Hi Gilles,
I am currently running 0.9.0 Beta 3 and have not seen this problem anymore.
Comment 7 caulier.gilles 2006-12-11 18:57:04 UTC
Thanks. Closed.

Gilles