balena-io-modules / drivelist

List all connected drives in your computer, in all major operating systems
Apache License 2.0
242 stars 90 forks source link

Running ia32 version on an x64 laptop results in FUSE error #363

Closed imrehg closed 4 years ago

imrehg commented 4 years ago

While I know this might be an edge case but might uncover something more interesting. I've accidentally downloaded the ia32 version of Etcher from the website, and tried to run the AppImage before realizing it. It resulted in:

~/Downloads/etcher> ./balenaEtcher-1.5.78-ia32.AppImage                   
dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information
exit 1

The thing, though, that if I do an extract:

~/Downloads/etcher> ./balenaEtcher-1.5.78-ia32.AppImage --appimage-extract
squashfs-root/.DirIcon
squashfs-root/AppRun
squashfs-root/LICENSE.electron.txt
squashfs-root/LICENSES.chromium.html
[...snip...]
squashfs-root/usr/share/icons/hicolor/512x512/apps/balena-etcher-electron.png
squashfs-root/v8_context_snapshot.bin

and then run it directly

~/Downloads/etcher> squashfs-root/balena-etcher-electron
Gtk-Message: 08:42:31.005: Failed to load module "canberra-gtk-module"
Checking for update
ready-to-show: 2517.655ms
Update for version 1.5.78 is not available (latest version: 1.5.78, downgrade is disallowed).

then it works, and corectly burns stuff. Same if I start with the AppRun

~/Downloads/etcher> squashfs-root/AppRun
Gtk-Message: 08:43:11.356: Failed to load module "canberra-gtk-module"
Checking for update
ready-to-show: 2472.083ms
Update for version 1.5.78 is not available (latest version: 1.5.78, downgrade is disallowed).

The x64 version can run totally fine from an .AppImage in either case.

This issue with the 32-bit version is present to at least 1.5.49 that I went back to check, didn't look further. Also, I don't have a 32-bit machine at the moment to check whether the AppImage runs correctly there, but might try in the future. Cheers!

imrehg commented 4 years ago

Wrong repo, facepalm. Reposted at https://github.com/balena-io/etcher/issues/3076 (sorry!)