Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get spyglass to open in PCLinuxOS xfce or Plasma #491

Open
nanoitch opened this issue Aug 5, 2023 · 3 comments
Open

Can't get spyglass to open in PCLinuxOS xfce or Plasma #491

nanoitch opened this issue Aug 5, 2023 · 3 comments
Labels
bug Something isn't working installer Issues w/ installation linux

Comments

@nanoitch
Copy link

nanoitch commented Aug 5, 2023

Tried three different versions including the latest spyglass_23.5.1_amd64.AppImage.
No version will launch for me. Run from a terminal I get this error.

[xxx@localhost ~]$ ./spyglass_23.5.1_amd64.AppImage
thread 'main' panicked at 'APPDIR or APPIMAGE environment variable found but this application was not detected as an AppImage; this might be a security issue.', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-utils-1.2.1/src/lib.rs:202:11
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Don't know what that means.
The output of backtrace full is

[xxx@localhost ~]$ RUST_BACKTRACE=full spyglass_23.5.1_amd64.AppImage
bash: spyglass_23.5.1_amd64.AppImage: command not found
[lee@localhost ~]$ RUST_BACKTRACE=full ./spyglass_23.5.1_amd64.AppImage
thread 'main' panicked at 'APPDIR or APPIMAGE environment variable found but this application was not detected as an AppImage; this might be a security issue.', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-utils-1.2.1/src/lib.rs:202:11
stack backtrace:
0: 0x55d097daf0fc - std::backtrace_rs::backtrace::libunwind::trace::ha9053a9a07ca49cb
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x55d097daf0fc - std::backtrace_rs::backtrace::trace_unsynchronized::h9c2852a457ad564e
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x55d097daf0fc - std::sys_common::backtrace::_print_fmt::h457936fbfaa0070f
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/sys_common/backtrace.rs:65:5
3: 0x55d097daf0fc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h5779d7bf7f70cb0c
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/sys_common/backtrace.rs:44:22
4: 0x55d097a0812e - core::fmt::write::h5a4baaff1bcd3eb5
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/fmt/mod.rs:1232:17
5: 0x55d097d83d24 - std::io::Write::write_fmt::h4bc1f301cb9e9cce
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/io/mod.rs:1684:15
6: 0x55d097db1e8f - std::sys_common::backtrace::_print::h5fcdc36060f177e8
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/sys_common/backtrace.rs:47:5
7: 0x55d097db1e8f - std::sys_common::backtrace::print::h54ca9458b876c8bf
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/sys_common/backtrace.rs:34:9
8: 0x55d097db1a8f - std::panicking::default_hook::{{closure}}::hbe471161c7664ed6
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:271:22
9: 0x55d097db1781 - std::panicking::default_hook::ha3500da57aa4ac4f
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:290:9
10: 0x55d097db2840 - <alloc::boxed::Box<F,A> as core::ops::function::Fn>::call::h6507bddc3eebb4a5
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/alloc/src/boxed.rs:2001:9
11: 0x55d097db2840 - std::panicking::rust_panic_with_hook::h50c09d000dc561d2
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:696:13
12: 0x55d097db25a4 - std::panicking::begin_panic_handler::{{closure}}::h9e2b2176e00e0d9c
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:581:13
13: 0x55d097db2536 - std::sys_common::backtrace::__rust_end_short_backtrace::h5739b8e512c09d02
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/sys_common/backtrace.rs:150:18
14: 0x55d097db2521 - rust_begin_unwind
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:579:5
15: 0x55d0976f23d2 - core::panicking::panic_fmt::hf33a1475b4dc5c3e
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/panicking.rs:64:14
16: 0x55d097f5b0d1 - <tauri_utils::Env as core::default::Default>::default::h5415b722f93f1a3e
17: 0x55d097921bcd - spyglass_app::update_auto_launch::h00133a9fd47eb4f6
18: 0x55d097916e96 - spyglass_app::main::h0fa7596c5c4f8e77
19: 0x55d0977a2026 - std::sys_common::backtrace::__rust_begin_short_backtrace::h8c3a8549dfb0a062
20: 0x55d09792c63e - main
21: 0x7fdf93c516b7 -
22: 0x7fdf93c51775 - __libc_start_main
23: 0x55d0977197be - _start
24: 0x0 -

I use quiet a few AppImages and all run OK.
Is there any hope? Or is it a lost cause for me?
Much thanks.

@a5huynh
Copy link
Collaborator

a5huynh commented Aug 5, 2023

hey @nanoitch that looks like an issue w/ our AppImage build which I know is a little flaky with Tauri. Would you be able to build and run things locally?

We primarily test on Ubuntu but I'll spin up a VM w/ PCLinuxOS later today to take a look

@a5huynh a5huynh added bug Something isn't working linux installer Issues w/ installation labels Aug 5, 2023
@nanoitch
Copy link
Author

nanoitch commented Aug 5, 2023

Hi, I had a look at installing from source, but we seem to have missing dependencies, like cargo and npm.
Unfortunately not available in PCLinuxOS repos. Maybe a few others too.
That's why I like to use appimges when I run in to such problems.

I did download spyglass appimage on mxlinux xfce, running on the same machine and it worked fine after installing a required depend, can't remember what it was at the moment.

It would be nice to get it working on PCLinuxOS. but if not not to worry, I know you have to deal with other problems too.

thanks.

@probonopd
Copy link

Probably caused by tauri-apps/tauri#7736

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working installer Issues w/ installation linux
Projects
None yet
Development

No branches or pull requests

3 participants