[digikam] [Bug 360528] New: Digikam looks for digikamimageplugins in different directory than they were installed to

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] New: Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

            Bug ID: 360528
           Summary: Digikam looks for digikamimageplugins in different
                    directory than they were installed to
           Product: digikam
           Version: 5.0.0
          Platform: Debian testing
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: setup
          Assignee: [hidden email]
          Reporter: [hidden email]

I compiled digikam5 from git commit 1b9a889. Digikam shows errors on startup
indicating that it did not find the digikamimageplugins
(digikamimageplugin_transform, ...). These files are installed into
lib/x86_64-linux-gnu/plugins/ while digikam searches for these files per
default (no QT_PLUGIN_PATH set) in lib/x86_64-linux-gnu/qt5/plugins/. Adding
the first path to the env variable QT_PLUGIN_PATH fixes this. Digikam should
install these files into lib/x86_64-linux-gnu/qt5/plugins/.


Reproducible: Always

Steps to Reproduce:
1. compile and install digikam (debug)
2. run digikam, look at stdout/stderr

Actual Results:  
Imageplugins are not found:

Error loading plugin "digikamimageplugin_color" "The shared library was not
found."
Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin")
The environment variable QT_PLUGIN_PATH might be not correctly set
digikam.general: ImagePluginLoader: createInstance returned 0 for
"ImagePlugin_Colour"  ( "digikamimageplugin_color" )  with error:  "The shared
library was not found."
Error loading plugin "digikamimageplugin_decorate" "The shared library was not
found."
Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin")
The environment variable QT_PLUGIN_PATH might be not correctly set
digikam.general: ImagePluginLoader: createInstance returned 0 for
"ImagePlugin_Decorate"  ( "digikamimageplugin_decorate" )  with error:  "The
shared library was not found."
Error loading plugin "digikamimageplugin_enhance" "The shared library was not
found."
Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin")
The environment variable QT_PLUGIN_PATH might be not correctly set
digikam.general: ImagePluginLoader: createInstance returned 0 for
"ImagePlugin_Enhance"  ( "digikamimageplugin_enhance" )  with error:  "The
shared library was not found."
Error loading plugin "digikamimageplugin_fxfilters" "The shared library was not
found."
Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin")
The environment variable QT_PLUGIN_PATH might be not correctly set
digikam.general: ImagePluginLoader: createInstance returned 0 for
"ImagePlugin_FxFilters"  ( "digikamimageplugin_fxfilters" )  with error:  "The
shared library was not found."
Error loading plugin "digikamimageplugin_transform" "The shared library was not
found."
Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin")
The environment variable QT_PLUGIN_PATH might be not correctly set
digikam.general: ImagePluginLoader: createInstance returned 0 for
"ImagePlugin_Transform"  ( "digikamimageplugin_transform" )  with error:  "The
shared library was not found."


Expected Results:  
Imageplugins found and loaded.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Maik Qualmann <[hidden email]> ---
Digikam uses "qtpaths --plugin-dir" to find the plugin directory. Which
directory is displayed with "qtpaths --plugin-dir"?

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

--- Comment #2 from Simon <[hidden email]> ---
This results in
qtpaths: could not find a Qt installation of ''

On 14/03/16 19:48, Maik Qualmann via KDE Bugzilla wrote:

> https://bugs.kde.org/show_bug.cgi?id=360528
>
> Maik Qualmann <[hidden email]> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |[hidden email]
>
> --- Comment #1 from Maik Qualmann <[hidden email]> ---
> Digikam uses "qtpaths --plugin-dir" to find the plugin directory. Which
> directory is displayed with "qtpaths --plugin-dir"?
>
> Maik
>

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

Simon Frei
In reply to this post by bugzilla_noreply
This results in
qtpaths: could not find a Qt installation of ''

On 14/03/16 19:48, Maik Qualmann via KDE Bugzilla wrote:

> https://bugs.kde.org/show_bug.cgi?id=360528
>
> Maik Qualmann <[hidden email]> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |[hidden email]
>
> --- Comment #1 from Maik Qualmann <[hidden email]> ---
> Digikam uses "qtpaths --plugin-dir" to find the plugin directory. Which
> directory is displayed with "qtpaths --plugin-dir"?
>
> Maik
>

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

--- Comment #3 from Maik Qualmann <[hidden email]> ---
Then should "qtpaths --writable-path HomeLocation" also do not work? DigiKam
uses QStandardPaths to find folders and datas. This has to work, otherwise
digiKam will not work properly. I think something is wrong with your Qt
installation.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

--- Comment #4 from Simon <[hidden email]> ---
That gave the same result. You are right about the Qt installation. I
only installed the packages that were necessary for cmake to run without
errors. Therefore I was missing the qtpaths binary file for qt5, I only
had a wrapper binary by qtchooser. Installing qttools5-dev-tools
provides the necessary file and now the output is correct:

(stretch-digikam5)simon@simon-x220-deb:/usr$ qtpaths --plugin-dir
/usr/lib/x86_64-linux-gnu/qt5/plugins

I uninstalled, recompiled and installed digikam but the plugin files are
stilled installed in lib/x86_64-linux-gnu/plugins/.

On 14/03/16 20:36, Maik Qualmann via KDE Bugzilla wrote:

> https://bugs.kde.org/show_bug.cgi?id=360528
>
> --- Comment #3 from Maik Qualmann <[hidden email]> ---
> Then should "qtpaths --writable-path HomeLocation" also do not work? DigiKam
> uses QStandardPaths to find folders and datas. This has to work, otherwise
> digiKam will not work properly. I think something is wrong with your Qt
> installation.
>
> Maik
>

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

Simon Frei
In reply to this post by bugzilla_noreply
That gave the same result. You are right about the Qt installation. I
only installed the packages that were necessary for cmake to run without
errors. Therefore I was missing the qtpaths binary file for qt5, I only
had a wrapper binary by qtchooser. Installing qttools5-dev-tools
provides the necessary file and now the output is correct:

(stretch-digikam5)simon@simon-x220-deb:/usr$ qtpaths --plugin-dir
/usr/lib/x86_64-linux-gnu/qt5/plugins

I uninstalled, recompiled and installed digikam but the plugin files are
stilled installed in lib/x86_64-linux-gnu/plugins/.

On 14/03/16 20:36, Maik Qualmann via KDE Bugzilla wrote:

> https://bugs.kde.org/show_bug.cgi?id=360528
>
> --- Comment #3 from Maik Qualmann <[hidden email]> ---
> Then should "qtpaths --writable-path HomeLocation" also do not work? DigiKam
> uses QStandardPaths to find folders and datas. This has to work, otherwise
> digiKam will not work properly. I think something is wrong with your Qt
> installation.
>
> Maik
>

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

--- Comment #5 from Maik Qualmann <[hidden email]> ---
Do you have remove the build directory and run the bootstrap.linux script
again?

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

Simon Frei
I did remove the build directory and then ran
cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DBUILD_TESTING=OFF
-DCMAKE_BUILD_TYPE=debug -DENABLE_INTERNALMYSQL=ON
-DENABLE_MYSQLSUPPORT=ON -DENABLE_AKONADICONTACTSUPPORT=OFF ..
again, as there is no bootstrap script in the master branch (digikam5).

On 14/03/16 22:25, Maik Qualmann via KDE Bugzilla wrote:
> https://bugs.kde.org/show_bug.cgi?id=360528
>
> --- Comment #5 from Maik Qualmann <[hidden email]> ---
> Do you have remove the build directory and run the bootstrap.linux script
> again?
>
> Maik
>

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

--- Comment #6 from Simon <[hidden email]> ---
I did remove the build directory and then ran
cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DBUILD_TESTING=OFF
-DCMAKE_BUILD_TYPE=debug -DENABLE_INTERNALMYSQL=ON
-DENABLE_MYSQLSUPPORT=ON -DENABLE_AKONADICONTACTSUPPORT=OFF ..
again, as there is no bootstrap script in the master branch (digikam5).

On 14/03/16 22:25, Maik Qualmann via KDE Bugzilla wrote:
> https://bugs.kde.org/show_bug.cgi?id=360528
>
> --- Comment #5 from Maik Qualmann <[hidden email]> ---
> Do you have remove the build directory and run the bootstrap.linux script
> again?
>
> Maik
>

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

--- Comment #7 from Maik Qualmann <[hidden email]> ---
Please look here:
https://www.digikam.org/download?q=download/GIT

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

Simon Frei
This is embarrassing, sorry for wasting your time and thanks for your
patience:
I used git://anongit.kde.org/digikam instead of using the
software-compilation repo. Using the software-repo this problem
disappears (and would have never come up in the first place).
This "bug" can be closed.

On 14/03/16 22:42, Maik Qualmann via KDE Bugzilla wrote:
> https://bugs.kde.org/show_bug.cgi?id=360528
>
> --- Comment #7 from Maik Qualmann <[hidden email]> ---
> Please look here:
> https://www.digikam.org/download?q=download/GIT
>
> Maik
>

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

--- Comment #8 from Simon <[hidden email]> ---
This is embarrassing, sorry for wasting your time and thanks for your
patience:
I used git://anongit.kde.org/digikam instead of using the
software-compilation repo. Using the software-repo this problem
disappears (and would have never come up in the first place).
This "bug" can be closed.

On 14/03/16 22:42, Maik Qualmann via KDE Bugzilla wrote:
> https://bugs.kde.org/show_bug.cgi?id=360528
>
> --- Comment #7 from Maik Qualmann <[hidden email]> ---
> Please look here:
> https://www.digikam.org/download?q=download/GIT
>
> Maik
>

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

Simon <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/fd9d85af744ed7895de1f3e
                   |                            |f46790d5bf8424576
                 CC|                            |[hidden email]
         Resolution|INVALID                     |FIXED
   Version Fixed In|                            |5.2.0

--- Comment #9 from [hidden email] ---
Git commit fd9d85af744ed7895de1f3ef46790d5bf8424576 by Gilles Caulier.
Committed on 13/08/2016 at 17:29.
Pushed by cgilles into branch 'master'.

Final stage about editor tools.
Delete Image Editor Plugins interface. This will speedup initialization of
digiKam and Showfoto,
and remove a run-time dependencies with plugin files to load/unload on memory,
which is problem atic with non KDE desktop, MacOS and Windows.

M  +1    -0    NEWS
M  +0    -1    app/CMakeLists.txt
M  +0    -6    app/main/digikamapp.cpp
M  +0    -25   showfoto/main/showfoto.cpp
M  +0    -2    showfoto/main/showfoto_p.h
M  +1    -10   utilities/imageeditor/CMakeLists.txt
M  +2    -95   utilities/imageeditor/editor/editorwindow.cpp
M  +0    -7    utilities/imageeditor/editor/editorwindow.h
M  +0    -5    utilities/imageeditor/editor/editorwindow_p.h
R  +0    -0    utilities/imageeditor/editor/imageiface.cpp [from:
utilities/imageeditor/plugin/imageiface.cpp - 100% similarity]
R  +0    -0    utilities/imageeditor/editor/imageiface.h [from:
utilities/imageeditor/plugin/imageiface.h - 100% similarity]
M  +0    -9    utilities/imageeditor/main/imagewindow.cpp
D  +0    -57   utilities/imageeditor/plugin/digikamimageplugin.desktop
D  +0    -94   utilities/imageeditor/plugin/imageplugin.cpp
D  +0    -79   utilities/imageeditor/plugin/imageplugin.h
D  +0    -247  utilities/imageeditor/plugin/imagepluginloader.cpp
D  +0    -74   utilities/imageeditor/plugin/imagepluginloader.h

http://commits.kde.org/digikam/fd9d85af744ed7895de1f3ef46790d5bf8424576

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for digikamimageplugins in different directory than they were installed to

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|setup                       |ImageEditor

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360528] Digikam looks for image editor tools in different directory than they were installed to

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360528

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Digikam looks for           |Digikam looks for image
                   |digikamimageplugins in      |editor tools in different
                   |different directory than    |directory than they were
                   |they were installed to      |installed to

--
You are receiving this mail because:
You are the assignee for the bug.