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

COSMIC Screenshot app crashes on start #356

Open
Tommimon opened this issue Sep 23, 2024 · 0 comments
Open

COSMIC Screenshot app crashes on start #356

Tommimon opened this issue Sep 23, 2024 · 0 comments

Comments

@Tommimon
Copy link

I can't start COSMIC Screenshot form the launcher or by pressing Print, nothing happens.

If I try to run cosmic-screenshot from the terminal I get:

thread 'main' panicked at src/main.rs:69:10:
failed to send screenshot request: Zbus(MethodError(OwnedErrorName(ErrorName(Str(Owned("org.freedesktop.DBus.Error.UnknownMethod")))), Some("No such interface “org.freedesktop.portal.Screenshot” on object at path /org/freedesktop/portal/desktop"), Msg { type: Error, sender: UniqueName(Str(Borrowed(":1.31"))), reply-serial: 17, body: Signature("s") }))
stack backtrace:
   0:     0x555721041295 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h1b9dad2a88e955ff
   1:     0x555721065b6b - core::fmt::write::h4b5a1270214bc4a7
   2:     0x55572103e41f - std::io::Write::write_fmt::hd04af345a50c312d
   3:     0x5557210423e1 - std::panicking::default_hook::{{closure}}::h96ab15e9936be7ed
   4:     0x5557210420bc - std::panicking::default_hook::h3cacb9c27561ad33
   5:     0x555721042a41 - std::panicking::rust_panic_with_hook::hfe205f6954b2c97b
   6:     0x5557210428a7 - std::panicking::begin_panic_handler::{{closure}}::h6cb44b3a50f28c44
   7:     0x555721041759 - std::sys::backtrace::__rust_end_short_backtrace::hf1c1f2a92799bb0e
   8:     0x555721042534 - rust_begin_unwind
   9:     0x555720d901d3 - core::panicking::panic_fmt::h3d8fc78294164da7
  10:     0x555720d906a6 - core::result::unwrap_failed::hfa79a499befff387
  11:     0x555720db5066 - cosmic_screenshot::main::{{closure}}::hab141b8d096c4547
  12:     0x555720e6db51 - tokio::runtime::scheduler::current_thread::Context::enter::hc8fec64add800ab6
  13:     0x555720e58cfb - tokio::runtime::context::scoped::Scoped<T>::set::hf39507ce94a5c345
  14:     0x555720e6dd1d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h71fcc4d1b14af4c5
  15:     0x555720e66411 - tokio::runtime::context::runtime::enter_runtime::he6eeffa048ed6bbe
  16:     0x555720e9dd7c - tokio::runtime::runtime::Runtime::block_on::hf92938d3260afc0c
  17:     0x555720e8abd8 - cosmic_screenshot::main::hb119801478c2ff13
  18:     0x555720e8bf23 - std::sys::backtrace::__rust_begin_short_backtrace::h9ede665277a82e5c
  19:     0x555720e5b879 - std::rt::lang_start::{{closure}}::hf37edf2992ca36ca
  20:     0x555721039260 - std::rt::lang_start_internal::h5e7c81cecd7f0954
  21:     0x555720e8aca5 - main
  22:     0x7f3882bd310e - __libc_start_call_main
  23:     0x7f3882bd31c9 - __libc_start_main@GLIBC_2.2.5
  24:     0x555720d90a65 - _start
  25:                0x0 - <unknown>

From what I read around screenshot app seams to work, so I wonder why this is happening to me. This is 100% reproducible and crashes every time I try to launch it.

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

1 participant