Repository navigation
GStreamer plugin fails with latest release (2025-02-13) #314
Copy link
Copy link
Open
Description
Using the 2025-02-13 build of linuxdeploy, I'm unable to install the gstreamer plugin.
linuxdeploy-x86_64-Alpha-2025-02-13.AppImage --appdir squashfs-root --plugin gstreamer -d ./MyApp.desktop --icon-file MyApp.png
As far as I can determine, the location of the gstreamer plugin file doesn't make any difference.
Snipped output:
(snip)
-- Running input plugin: gstreamer --
ERROR: Could not find plugin: gstreamer
--------
(snipped Gstreamer output:)
...
[gstreamer/stdout]
[gstreamer/stdout] -- Copying files into AppDir --
[gstreamer/stdout]
[gstreamer/stdout] -- Deploying files into AppDir root directory --
[gstreamer/stdout] WARNING: No desktop file specified, using first desktop file found: squashfs-root/usr/share/applications/MyApp.desktop
[gstreamer/stdout] Deploying files to AppDir root using desktop file: squashfs-root/usr/share/applications/MyApp.desktop
[gstreamer/stdout] Deploying desktop file to AppDir root: squashfs-root/usr/share/applications/MyApp.desktop
[gstreamer/stdout] Creating symlink for file squashfs-root/usr/share/applications/MyApp.desktop in/as squashfs-root
[gstreamer/stdout] ERROR: Could not find icon executable for Icon entry: MyApp
ERROR: Failed to run plugin: gstreamer (exit code: 1)
The same action with the 2024-07-01 build succeeds:
linuxdeploy-x86_64-Alpha-2024-07-01.AppImage --appdir squashfs-root --plugin gstreamer -d ./MyApp.desktop --icon-file MyApp.png
...
[gstreamer/stdout] Manually setting rpath for squashfs-root/usr/lib/gstreamer1.0/gstreamer-1.0/gst-completion-helper
[gstreamer/stdout] Manually setting rpath for squashfs-root/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner
[gstreamer/stdout] Manually setting rpath for squashfs-root/usr/lib/gstreamer1.0/gstreamer-1.0/gst-ptp-helper
[gstreamer/stdout] Installing AppRun hook
-- Deploying icons --
Deploying icon MyApp.png
WARNING: Could not find copyright files for file MyApp.png using dpkg-query
-- Deploying desktop files --
Deploying desktop file ./MyApp.desktop
-- Copying files into AppDir --
Copying file ./MyApp.desktop to squashfs-root/usr/share/applications/MyApp.desktop
Copying file MyApp.png to squashfs-root/usr/share/icons/hicolor/256x256/apps/MyApp.png
-- Deploying files into AppDir root directory --
Deploying files to AppDir root using desktop file: squashfs-root/usr/share/applications/MyApp.desktop
Deploying desktop file to AppDir root: squashfs-root/usr/share/applications/MyApp.desktop
Creating symlink for file squashfs-root/usr/share/applications/MyApp.desktop in/as squashfs-root
Deploying icon to AppDir root: squashfs-root/usr/share/icons/hicolor/256x256/apps/MyApp.png
Creating symlink for file squashfs-root/usr/share/icons/hicolor/256x256/apps/MyApp.png in/as squashfs-root
Deploying AppRun symlink for executable in AppDir root: squashfs-root/usr/bin/MyApp
Creating symlink for file squashfs-root/usr/bin/MyApp in/as squashfs-root/AppRun
Full output and an example of my desktop file.
Metadata
Metadata
Assignees
Labels
No labels
Activity
CJYate commentedon Apr 29, 2025
(The 2024-01-09 build also fails)
TheAssassin commentedon Apr 29, 2025
Please re-run with
-v0and check the initial linuxdeploy log whether it the gstreamer plugin file was found even. Please make sure it's executable.CJYate commentedon Apr 29, 2025
The top of the log: That plugin is found (and it's executable).
The end of the log is as the failing one above: confusingly, since I've specified a desktop file (and icon file) on the command line, it complains about not finding them.
CJYate commentedon Apr 30, 2025
Update: I've stripped this right back to a very minimal test with a completely empty target folder.
This doesn't work, but indicates there may be something about my deployment staging folder that's causing an issue. I'd appreciate a pointer in terms of what's wrong, if you can help?
The other answers I've seen for this say to check line endings on the .desktop file -- this isn't the issue. The error messages are quite hard to interpret :-(
TheAssassin commentedon May 1, 2025
It's good to see that the gstreamer plugin is running now.
Regarding the icon entry, that looks like a bug. Could you upload your zipped
AppDir, please?CJYate commentedon May 1, 2025
Here's a zipped example - a Hello World app, a 256x256 white icon, and script to create the appdir (which I've also included).
Run the test.sh: this expects the linuxdeploy appimage in the same directory
Example.tar.gz
What am I missing on the command line, or in setting up the appdir?
CJYate commentedon May 7, 2025
Hi @TheAssassin ,
Sorry to nag, but please could you confirm whether this looks like a bug, or user error on my end?
CJYate commentedon May 14, 2025
Ooops. It's user error in my example. sorry!
But I have sent a PR #316 since that's an issue here.