mijorus / gearlever

Manage AppImages with ease 📦
https://mijorus.it/projects/gearlever
GNU General Public License v3.0
429 stars 15 forks source link

Adding Audacity to App Menu causes errors on startup #90

Closed MMachado05 closed 2 months ago

MMachado05 commented 2 months ago

OS: Ubuntu 20.04 Gear Lever version: 1.6.0 Audacity AppImage version: e39f40

On downloading the AppImage for Audacity and launching it directly from my filesystem, I get the typical "about audacity" window and the program itself, as well as the following log:

14:49:49: Audacity 3.5.1
14:49:49: Error: Failed to load shared library 'libavformat.so.60' (error 0: Success)
14:49:49: Error: Failed to load shared library 'libavformat.so.59' (error 0: Success)
14:49:50: FFmpeg libraries loaded successfully from: /lib/x86_64-linux-gnu/libavformat.so.58.29.100
14:49:54: Error: Failed to load shared library 'libavformat.so.60' (error 0: Success)
14:49:54: Error: Failed to load shared library 'libavformat.so.59' (error 0: Success)
14:49:54: FFmpeg libraries loaded successfully from: /lib/x86_64-linux-gnu/libavformat.so.58.29.100

However, when I drag-and-drop the file into Gear Lever, then ask it to move it to my app menu, I get the following error messages in separate windows, in succession:

GDK_BACKEND=x11 could not be found.

It has been removed from the list of recent files.

UBUNTU_MENUPROXY=0 could not be found.

It has been removed from the list of recent files.

audacity could not be found.

It has been removed from the list of recent files.

This is the Audacity log from when it's run via the app menu entry, as created by Gear Lever:

14:50:45: Audacity 3.5.1
14:50:45: Error: Failed to load shared library 'libavformat.so.60' (error 0: Success)
14:50:45: Error: Failed to load shared library 'libavformat.so.59' (error 0: Success)
14:50:45: FFmpeg libraries loaded successfully from: /lib/x86_64-linux-gnu/libavformat.so.58.29.100
14:50:49: Error: Failed to load shared library 'libavformat.so.60' (error 0: Success)
14:50:49: Error: Failed to load shared library 'libavformat.so.59' (error 0: Success)
14:50:49: FFmpeg libraries loaded successfully from: /lib/x86_64-linux-gnu/libavformat.so.58.29.100
MMachado05 commented 2 months ago

The Gear Lever log, as I've forgotten to include it:

INFO:root:Exctracting with p7zip
INFO:root:Installing appimage: /home/mmachado/Downloads/arduino-ide_2.3.2_Linux_64bit.AppImage
INFO:root:Deleting original appimage file from: /home/mmachado/Downloads/arduino-ide_2.3.2_Linux_64bit.AppImage
INFO [AppImageProvider.py:583] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_p5y83d4bb9/squashfs-root
INFO [AppImageProvider.py:259] Installing appimage: /home/mmachado/Downloads/audacity-linux-3.5.1-x64.AppImage
INFO [AppImageProvider.py:430] Deleting original appimage file from: /home/mmachado/Downloads/audacity-linux-3.5.1-x64.AppImage
INFO [AppImageProvider.py:194] Removing /home/mmachado/AppImages/gearlever_audacity_e39f40.appimage
INFO [AppImageProvider.py:199] Trashing /home/mmachado/AppImages/gearlever_audacity_e39f40.appimage
INFO [AppImageProvider.py:207] Removing /home/mmachado/.local/share/applications/gearlever_audacity_e39f40.desktop
INFO [AppImageProvider.py:583] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_7518c71p2q/squashfs-root
INFO [AppImageProvider.py:259] Installing appimage: /home/mmachado/Downloads/audacity-linux-3.5.1-x64.AppImage
INFO [AppImageProvider.py:430] Deleting original appimage file from: /home/mmachado/Downloads/audacity-linux-3.5.1-x64.AppImage
mijorus commented 2 months ago

Hi guys, just like with other github issues, this is not related to Gear Lever. It looks like some shared library was not included in the AppImage bundle, maybe by mistake. I'm closing the issue, please report this to the app developer.