Plugins not available

Bug #1969439 reported by Oscar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shotwell (Ubuntu)
Fix Released
Low
Rico Tzschichholz
Jammy
Fix Released
Low
Rico Tzschichholz

Bug Description

* Impact

Shotwell doesn't list any plugin as available

= Test Case

- Start shotwell
- Go to Edit->Preferences
- Select the plugins tab

The list should lists plugins in the categories with checkboxes to enable/disable them on the left column

* Regression Potential

The patch is changing the LIB definition so it could lead to issue finding other assets though in practice the value was null before the fix and the plugin seems to be the only code relying on that resource definition so the risk is limited

---------------------

Just installed 22.04 and Shotwell but I cannot enable any plugin, no one available.

May be a lib path error?

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: shotwell 0.30.14-1ubuntu5 [modified: usr/share/applications/shotwell.desktop]
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 19 11:04:59 2022
InstallationDate: Installed on 2022-04-16 (2 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Daily amd64 (20220416)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: shotwell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Oscar (mc4280) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, indeed, and stderr displays

[CRT] plugins_search_for_plugins: assertion 'G_TYPE_CHECK_INSTANCE_TYPE (dir, g_file_get_type ())' failed

using
$ SHOTWELL_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/shotwell/plugins/ shotwell

workaround the issue, so it seems somehow it's trying to use the wrong directory

build log
https://launchpadlibrarian.net/595087445/buildlog_ubuntu-jammy-amd64.shotwell_0.30.14-1ubuntu5_BUILDING.txt.gz

shows
--prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu

but it seems it was the same on impish where it works and the corresponding source didn't seem to change between the version...

Changed in shotwell (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

sounds like probably an issue with the build fix we added for the new valac in http://launchpadlibrarian.net/592733380/shotwell_0.30.14-1ubuntu2_0.30.14-1ubuntu3.diff.gz

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

This issue is caused by using an absolute path where a relative one is expected.

Changed in shotwell (Ubuntu):
status: Confirmed → In Progress
status: In Progress → Fix Committed
assignee: nobody → Rico Tzschichholz (ricotz)
description: updated
tags: added: patch
Steve Langasek (vorlon)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package shotwell - 0.30.14-1ubuntu6

---------------
shotwell (0.30.14-1ubuntu6) jammy; urgency=medium

  * debian/build-_LIB-is-expected-to-be-a-relative-path.patch:
    - fix an incorrect path handling making plugins not found (LP: #1969439)

 -- Rico Tzschichholz <email address hidden> Wed, 20 Apr 2022 08:22:39 +0200

Changed in shotwell (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I verified that the plugin list was empty before installing shotwell 0.30.14-1ubuntu6. After installing the update, I could see several different plugins in the plugin list.

Changed in shotwell (Ubuntu Jammy):
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Rico Tzschichholz (ricotz)
tags: added: verification-done verification-done-jammy
Revision history for this message
Oscar (mc4280) wrote :

thanks a lot :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package shotwell - 0.30.14-1ubuntu6

---------------
shotwell (0.30.14-1ubuntu6) jammy; urgency=medium

  * debian/build-_LIB-is-expected-to-be-a-relative-path.patch:
    - fix an incorrect path handling making plugins not found (LP: #1969439)

 -- Rico Tzschichholz <email address hidden> Wed, 20 Apr 2022 08:22:39 +0200

Changed in shotwell (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for shotwell has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.