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

bug: failed to run in Bazzite Os Fedora Silverblue #103

Closed
yodatak opened this issue Aug 1, 2024 · 8 comments
Closed

bug: failed to run in Bazzite Os Fedora Silverblue #103

yodatak opened this issue Aug 1, 2024 · 8 comments

Comments

@yodatak
Copy link

yodatak commented Aug 1, 2024

Hi thanks for this nice projet

I cannot run verso because of this error

thread 'main' panicked at src/config.rs:55:24:
Can't read file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: <verso::config::ResourceReader as embedder_traits::resources::ResourceReaderMethods>::read
4: embedder_traits::resources::read_bytes
5: embedder_traits::resources::read_string
6: std::sys::sync::once::futex::Once::call
7: <servo_config::prefs::PREFS as core::ops::deref::Deref>::deref
8: verso::verso::Verso::new
9: verso::main
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

@wusyong
Copy link
Member

wusyong commented Aug 1, 2024

Thanks for reporting! Could you tell us how do you build it? Is it using flatpak or nix?

@wusyong wusyong changed the title Verso dont run in Bazzite Os Fedora Silverblue Can't read file: Os { code: 2, kind: NotFound, message: "No such file or directory" } bug: failed to run in Bazzite Os Fedora Silverblue Aug 1, 2024
@yodatak
Copy link
Author

yodatak commented Aug 3, 2024

I just use the binary release here https://web.crabnebula.cloud/verso/verso-nightly/releases
Maybe i have to try with flatpak version instead ?

@dannymate
Copy link

Can confirm the nightly release build binary causes that error. Also on Bazzite. The archive only has the binary file.

image

@wusyong
Copy link
Member

wusyong commented Aug 6, 2024

We are currently moving to more stable sandbox toolings and have updated README.md . However, I'm still working on #99, so the nightly release hasn't been fixed yet. I'll let you know once it's ready.

@barolo
Copy link

barolo commented Aug 8, 2024

Same error on Gentoo.

@wusyong
Copy link
Member

wusyong commented Aug 9, 2024

We just updated the CI in #110
Could you test if the new flatpak bundle works.
You can install in via flatpak install

@barolo
Copy link

barolo commented Aug 9, 2024

We just updated the CI in #110 Could you test if the new flatpak bundle works. You can install in via flatpak install

It launches successfully now. Although fails spectacularly after.
Had to take photo because I couldn't screenshot inside of the frame for some reason.
I don't expect it to work at this point just FYI ;)
IMG_20240809_044640_712
It's a Wayland session (KDE/Plasma 6)

@wusyong
Copy link
Member

wusyong commented Aug 9, 2024

Thanks! I'm updating the view spawning order in #109.
I'll close this issue since it can open the window at least.
I can open follow-up issue if the it still happens after #109.

@wusyong wusyong closed this as completed Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants