mijorus / gearlever

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

Apps not opening #62

Closed another-sapiens closed 8 months ago

another-sapiens commented 8 months ago

Hello. I'm not sure exactly when it started, since I thought it was a problem with my setup and I've been trying to fix it, but I'm not able to launch appimages anymore. This shows up in the log when I try to run something (for example, EmulationStation):

INFO:root:Exctracting with p7zip

WARNING:root:No closing quotation

The app used to work with all apps and was really handy.

FTR, I know the Readme states Gear Lever needs --talk-name=org.freedesktop.Flatpak as a permission, and it might have this problem otherwise. But I did not disable it (checked with Flatseal and it's there).

Thanks in advance.

mijorus commented 8 months ago

Could you please paste the full debug log here?

another-sapiens commented 8 months ago
DEBUG:root:

---- Application startup
WARNING:root:No closing quotation
WARNING:root:No closing quotation
DEBUG:root:Created temporary folder at /tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx
DEBUG:root:Copying /var/home/zap/AppImages/gearlever_emulationstationdesktopedition_19f14e.appimage to /tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/tmp.appimage
INFO:root:Exctracting with p7zip
DEBUG:root:Running ['7z', 'x', '/tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/tmp.appimage', '-r', '*.png', '-osquashfs-root', '-y']
DEBUG:root:Running ['7z', 'x', '/tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/tmp.appimage', '-r', '*.desktop', '-osquashfs-root', '-y']
DEBUG:root:Running ['7z', 'x', '/tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/tmp.appimage', '-r', '*.svg', '-osquashfs-root', '-y']
DEBUG:root:

7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 147616960 bytes (141 MiB)

Extracting archive: /tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/tmp.appimage
--
Path = /tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/tmp.appimage
Type = SquashFS
Offset = 193728
Physical Size = 147423232
Headers Size = 56341
File System = SquashFS 4.0
Method = ZLIB
Cluster Size = 131072
Big-endian = -
Characteristics = DUPLICATES_REMOVED EXPORTABLE
Code Page = UTF-8

Everything is Ok

Files: 11
Size:       75059
Compressed: 147616960

7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 147616960 bytes (141 MiB)

Extracting archive: /tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/tmp.appimage
--
Path = /tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/tmp.appimage
Type = SquashFS
Offset = 193728
Physical Size = 147423232
Headers Size = 56341
File System = SquashFS 4.0
Method = ZLIB
Cluster Size = 131072
Big-endian = -
Characteristics = DUPLICATES_REMOVED EXPORTABLE
Code Page = UTF-8

Everything is Ok

Files: 2
Size:       351
Compressed: 147616960

7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 147616960 bytes (141 MiB)

Extracting archive: /tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/tmp.appimage
--
Path = /tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/tmp.appimage
Type = SquashFS
Offset = 193728
Physical Size = 147423232
Headers Size = 56341
File System = SquashFS 4.0
Method = ZLIB
Cluster Size = 131072
Big-endian = -
Characteristics = DUPLICATES_REMOVED EXPORTABLE
Code Page = UTF-8

Everything is Ok

Files: 539
Size:       17892943
Compressed: 147616960
DEBUG:root:Copying /tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/squashfs-root/org.es_de.emulationstation-de.desktop to /tmp/it.mijorus.gearlever/appimages/gearlever_appimage_19f14e9c16733e89225f86d10233dad6/app.desktop
DEBUG:root:Copying /tmp/it.mijorus.gearlever/appimages/gearlever_d1p39qd3dx/squashfs-root/org.es_de.emulationstation-de.svg to /tmp/it.mijorus.gearlever/appimages/gearlever_appimage_19f14e9c16733e89225f86d10233dad6/icon.svg
DEBUG:root:Chmod file /var/home/zap/AppImages/gearlever_emulationstationdesktopedition_19f14e.appimage
DEBUG:root:Running ['emulationstation']
DEBUG:root:Clearing /tmp/it.mijorus.gearlever/appimages

I don't see anything obvious in the log, besides the "no closing quotation". It does say "Running [the app]" at the end, but it doesn't actually run.

mijorus commented 8 months ago

Hi @another-sapiens ,

this bug was fixed in version 1.3.0, should be available soon!

another-sapiens commented 8 months ago

Awesome! Thanks for bringing a fix so quickly. I'll try it out as soon as it's on Flathub.

mijorus commented 8 months ago

Thanks for contributing with this bug report.

If you want to support my work, please consider a small donation.

https://ko-fi.com/mijorus

another-sapiens commented 8 months ago

I can confirm it's now working as intended. Nice work!