haystackeditor / haystack-editor

Other
579 stars 24 forks source link

Can't run appimage #7

Open BenBlumer opened 4 days ago

BenBlumer commented 4 days ago

Does this issue occur when all extensions are disabled?: Can't run the first time. No extensions enabled -- unless it's picking up extensions from my existing vscode installation.

Steps to Reproduce:

  1. chmod +x haystack-editor-0.18.AppImage. Get error:
    
    ./haystack-editor-0.18.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


2. Install Fuse:
` sudo add-apt-repository universe`
`sudo apt install libfuse2t64`

3. Run the app image again:

$ ./haystack-editor-0.18.AppImage sed: /tmp/.mount_haystagAJKR9/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed) haystack-editor: /tmp/.mount_haystagAJKR9/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0) haystack-editor: /tmp/.mount_haystagAJKR9/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1) The setuid sandbox is not running as root. Common causes:

Note: Other app images (e.g. "Libre Office Fresh Basic") work fine.

jay2142 commented 3 hours ago

Looking into this

jay2142 commented 3 hours ago
sed: /tmp/.mount_haystajqF5is/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
haystack-editor: /tmp/.mount_haystajqF5is/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0)
haystack-editor: /tmp/.mount_haystajqF5is/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1)
/tmp/.mount_haystajqF5is/usr/share/haystack-editor/haystack-editor: /tmp/.mount_haystajqF5is/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0)
/tmp/.mount_haystajqF5is/usr/share/haystack-editor/haystack-editor: /tmp/.mount_haystajqF5is/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1)
/tmp/.mount_haystajqF5is/usr/share/haystack-editor/haystack-editor: /tmp/.mount_haystajqF5is/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0)
/tmp/.mount_haystajqF5is/usr/share/haystack-editor/haystack-editor: /tmp/.mount_haystajqF5is/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1)
/proc/self/exe: /tmp/.mount_haystajqF5is/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0)
/proc/self/exe: /tmp/.mount_haystajqF5is/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1)
[1002659:1001/191957.309808:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[]
[]
[1002717:1001/191957.602685:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[]
[main 2024-10-01T19:19:57.689Z] update#setState disabled
[main 2024-10-01T19:19:57.707Z] update#ctor - updates are disabled as there is no update URL
[1002770:1001/191957.956453:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[1002760:1001/191958.162055:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[1002815:1001/191959.812635:ERROR:gl_utils.cc(424)] [.WebGL-0x397004234000]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[1002815:1001/191959.826876:ERROR:gl_utils.cc(424)] [.WebGL-0x39700416a900]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[1002815:1001/191959.935479:ERROR:gl_utils.cc(424)] [.WebGL-0x397004234000]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[main 2024-10-01T19:19:59.999Z] vscode-file: Refused to load resource /tmp/.mount_haystajc5VGY/usr/share/haystack-editor/resources/app/extensions/theme-seti/icons/seti.woff from vscode-file: protocol (original URL: vscode-file://vscode-app/tmp/.mount_haystajc5VGY/usr/share/haystack-editor/resources/app/extensions/theme-seti/icons/seti.woff)
[1002815:1001/192000.143999:ERROR:gl_utils.cc(424)] [.WebGL-0x397004234000]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat)

For reference, This is the output I get when running the AppImage on the Ubuntu 22 AWS instance (no GPU) that I have on hand. Haystack runs normally in this scenario.

Main takeaway for me is that the libselinux.so.1 messages are expected and are not the cause of the failure. Continuing to investigate.