mijorus / gearlever

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

Hangs on "Installing..." forever #142

Open probonopd opened 3 months ago

probonopd commented 3 months ago

image

Hanging on "Installing..." forever. Probably because it assumes ~/.local/share/applications to be there, but it isn't always. Need to create the directory before using it.

mijorus commented 3 months ago

Cam you please share the last lines of log file? You can find it from the main manu

probonopd commented 3 months ago

I don't have that system around anymore but it clearly showed a Python error trying to write to the non-existent directory ~/.local/share/applications. The directory ~/.local does not exist on my machine.

mijorus commented 3 months ago

thanks

PanIntegralus commented 3 months ago

I'm having this problem too with "Zen Browser", but unlike OP, ~/.local/share/applications exists on my computer.

mijorus commented 3 months ago

I'm having this problem too with "Zen Browser", but unlike OP, ~/.local/share/applications exists on my computer.

can you please send the debug log?

ChemicalSymphony commented 3 months ago

I have the same issue. Here's my log you were asking form the others:

2024-08-07 11:20:14,606 INFO [main.py:63]

---- Application startup | version 2.0.4 2024-08-07 11:20:50,064 INFO [AppImageProvider.py:677] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_cx29bx797b/squashfs-root 2024-08-07 11:20:55,841 INFO [AppImageProvider.py:263] Installing appimage: /home/danny/Downloads/OpenRGB.AppImage 2024-08-07 11:20:55,848 INFO [AppImageProvider.py:434] Deleting original appimage file from: /home/danny/Downloads/OpenRGB.AppImage 2024-08-07 11:21:16,783 ERROR [AppDetails.py:357] 'AppDetails' object has no attribute 'post_launch_animation' 2024-08-07 11:25:29,548 INFO [main.py:63]

---- Application startup | version 2.0.4 2024-08-07 11:26:02,418 INFO [AppImageProvider.py:677] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_1pxx67zpqq/squashfs-root 2024-08-07 11:26:04,560 INFO [AppImageProvider.py:263] Installing appimage: /home/danny/Downloads/wootility.AppImage 2024-08-07 11:26:04,565 INFO [AppImageProvider.py:434] Deleting original appimage file from: /home/danny/Downloads/wootility.AppImage 2024-08-07 11:26:14,593 ERROR [AppDetails.py:357] 'AppDetails' object has no attribute 'post_launch_animation' 2024-08-07 11:26:39,238 INFO [AppImageProvider.py:447] Reloading metadata for /home/danny/AppImages/wootilitylekker.appimage 2024-08-07 11:26:39,370 INFO [AppImageProvider.py:202] Removing /home/danny/AppImages/wootilitylekker.appimage 2024-08-07 11:26:39,371 INFO [AppImageProvider.py:207] Trashing /home/danny/AppImages/wootilitylekker.appimage 2024-08-07 11:26:39,376 INFO [AppImageProvider.py:215] Removing /home/danny/.local/share/applications/wootilitylekker.desktop 2024-08-07 11:26:39,377 INFO [AppImageProvider.py:263] Installing appimage: /tmp/it.mijorus.gearlever/appimages/gearlever_yrb5y8c4yb/tmp.appimage 2024-08-07 11:26:39,736 INFO [AppImageProvider.py:677] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_85a77x9xda/squashfs-root 2024-08-07 11:26:39,856 INFO [AppImageProvider.py:434] Deleting original appimage file from: /tmp/it.mijorus.gearlever/appimages/gearlever_yrb5y8c4yb/tmp.appimage 2024-08-26 10:48:07,381 INFO [main.py:63]

---- Application startup | version 2.0.6 2024-08-26 10:52:27,859 INFO [AppImageProvider.py:675] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_p24x71925a/squashfs-root 2024-08-26 10:52:27,894 ERROR [Models.py:21] Missing mounted extraction folder 2024-08-26 10:52:27,894 ERROR [AppImageProvider.py:784] /tmp/it.mijorus.gearlever/appimages/gearlever_p24x71925a/squashfs-root 2024-08-26 10:52:40,110 INFO [AppImageProvider.py:263] Installing appimage: /home/danny/Downloads/TOTK.Optimizer.2.1.0.AppImage 2024-08-26 10:52:40,114 ERROR [AppImageProvider.py:433] Appimage installation error: 'NoneType' object has no attribute 'getExec' 2024-08-26 10:52:40,114 ERROR [AppDetails.py:274] 'NoneType' object has no attribute 'getExec' 2024-08-26 10:55:17,681 INFO [main.py:63]

---- Application startup | version 2.0.6 2024-08-26 10:57:23,503 INFO [main.py:63]

---- Application startup | version 2.0.6 2024-08-26 10:57:41,609 INFO [main.py:63]

---- Application startup | version 2.0.6 2024-08-26 10:57:47,112 INFO [AppImageProvider.py:675] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_aax8bq13a7/squashfs-root 2024-08-26 10:57:47,125 ERROR [Models.py:21] Missing mounted extraction folder 2024-08-26 10:57:47,125 ERROR [AppImageProvider.py:784] /tmp/it.mijorus.gearlever/appimages/gearlever_aax8bq13a7/squashfs-root 2024-08-26 10:58:25,189 INFO [main.py:63]

---- Application startup | version 2.0.6 2024-08-26 10:58:28,643 INFO [AppImageProvider.py:675] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_18qb6y43p5/squashfs-root 2024-08-26 10:58:28,656 ERROR [Models.py:21] Missing mounted extraction folder 2024-08-26 10:58:28,656 ERROR [AppImageProvider.py:784] /tmp/it.mijorus.gearlever/appimages/gearlever_18qb6y43p5/squashfs-root 2024-08-26 10:58:31,108 INFO [AppImageProvider.py:263] Installing appimage: /home/danny/Downloads/TOTK.Optimizer.2.1.0.AppImage 2024-08-26 10:58:31,112 ERROR [AppImageProvider.py:433] Appimage installation error: 'NoneType' object has no attribute 'getExec' 2024-08-26 10:58:31,112 ERROR [AppDetails.py:274] 'NoneType' object has no attribute 'getExec' 2024-08-26 11:04:27,317 INFO [main.py:63]

---- Application startup | version 2.0.6 2024-08-26 11:04:46,412 INFO [AppImageProvider.py:675] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_r4bq7baabc/squashfs-root 2024-08-26 11:04:46,425 ERROR [Models.py:21] Missing mounted extraction folder 2024-08-26 11:04:46,426 ERROR [AppImageProvider.py:784] /tmp/it.mijorus.gearlever/appimages/gearlever_r4bq7baabc/squashfs-root 2024-08-26 11:04:51,328 INFO [AppImageProvider.py:263] Installing appimage: /home/danny/Downloads/TOTK.Optimizer.2.1.0.AppImage 2024-08-26 11:04:51,332 ERROR [AppImageProvider.py:433] Appimage installation error: 'NoneType' object has no attribute 'getExec' 2024-08-26 11:04:51,333 ERROR [AppDetails.py:274] 'NoneType' object has no attribute 'getExec' 2024-08-26 11:16:08,105 INFO [main.py:63]

---- Application startup | version 2.0.6 2024-08-26 11:16:21,258 INFO [AppImageProvider.py:675] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_x814232d37/squashfs-root 2024-08-26 11:16:21,273 ERROR [Models.py:21] Missing mounted extraction folder 2024-08-26 11:16:21,273 ERROR [AppImageProvider.py:784] /tmp/it.mijorus.gearlever/appimages/gearlever_x814232d37/squashfs-root 2024-08-26 11:16:25,267 INFO [AppImageProvider.py:263] Installing appimage: /home/danny/Downloads/TOTK.Optimizer.2.1.0.AppImage 2024-08-26 11:16:25,271 ERROR [AppImageProvider.py:433] Appimage installation error: 'NoneType' object has no attribute 'getExec' 2024-08-26 11:16:25,271 ERROR [AppDetails.py:274] 'NoneType' object has no attribute 'getExec' 2024-08-26 11:18:14,340 INFO [main.py:63]

---- Application startup | version 2.0.6 2024-08-26 11:18:40,466 ERROR [Models.py:21] The folder must be in your home directory 2024-08-26 11:20:40,686 INFO [AppImageProvider.py:675] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_p46a77879q/squashfs-root 2024-08-26 11:20:40,700 ERROR [Models.py:21] Missing mounted extraction folder 2024-08-26 11:20:40,701 ERROR [AppImageProvider.py:784] /tmp/it.mijorus.gearlever/appimages/gearlever_p46a77879q/squashfs-root 2024-08-26 11:20:44,318 INFO [AppImageProvider.py:263] Installing appimage: /home/danny/Downloads/TOTK.Optimizer.2.1.0.AppImage 2024-08-26 11:20:44,322 ERROR [AppImageProvider.py:433] Appimage installation error: 'NoneType' object has no attribute 'getExec' 2024-08-26 11:20:44,322 ERROR [AppDetails.py:274] 'NoneType' object has no attribute 'getExec' 2024-08-26 11:22:32,211 INFO [main.py:63]

---- Application startup | version 2.0.6

developomp commented 2 months ago

I had the same bug and in my case, the root cause of the issue was that the owner of the ~/.local/share/applications directory and everything inside was set to root for some reason. Running sudo chown -R $(id -u):$(id -g) ~/.local/share/applications fixed the issue for me.

ahmuro commented 2 months ago

Same apparent error, click to install, and the button stays there.

Tried https://github.com/mijorus/gearlever/issues/142#issuecomment-2334916074 but already had ownership of directory, so that did nothing

Heres the log

---- Application startup | version 2.0.7
2024-09-14 10:06:42,533 INFO [AppImageProvider.py:675] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_y531569x73/squashfs-root
2024-09-14 10:06:50,100 INFO [AppImageProvider.py:263] Installing appimage: /run/user/1000/doc/f065482d/filen_x86_64.AppImage
2024-09-14 10:06:50,121 ERROR [AppImageProvider.py:433] Appimage installation error: g-io-error-quark: Error splicing file: Input/output error (0)
2024-09-14 10:06:50,121 ERROR [AppDetails.py:274] g-io-error-quark: Error splicing file: Input/output error (0)
2024-09-14 10:07:11,010 INFO [main.py:63] 

EDIT: Setting the flatpak filesystem permission to host made it work properly, so it does seem to be a problem of writing privileges

spipau commented 3 weeks ago

I got the same error 'NoneType' object has no attribute 'getExec' when trying to install QualCoder 3.5

pvbhanuteja commented 3 weeks ago

Check ls -ld /home/$USER/AppImages does current user have permissions or is it for root only

if root only has permissions give current user permissions

sudo chown -R $USER:$USER /home/$USER/AppImages

spipau commented 3 weeks ago

Seems to look good:

drwxr-xr-x 3 paul paul 4096 Okt 28 20:32 /home/paul/AppImages

I have two other AppImages installed and they work flawlessly.