xlmnxp / blue-recorder

Simple Screen Recorder written in Rust based on Green Recorder
Other
482 stars 26 forks source link

Need help to build the snap #62

Open soumyaDghosh opened 3 months ago

soumyaDghosh commented 3 months ago

I have been trying to build the snap package. But, it's showing me this error.

(blue-recorder:8518): Gtk-WARNING **: 10:18:45.936: gtk_window_set_titlebar() called on a realized window
thread 'main' panicked at src/main.rs:57:10:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
   0:     0x60ef73ee6256 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9c4bd387f9f3f544
   1:     0x60ef73f13240 - core::fmt::write::h938c332fdab924eb
   2:     0x60ef73ee2b7f - std::io::Write::write_fmt::h4a694b02e44e6363
   3:     0x60ef73ee6034 - std::sys_common::backtrace::print::ha888e6736b0bc71f
   4:     0x60ef73ee78b7 - std::panicking::default_hook::{{closure}}::he19a7f79f7beab5e
   5:     0x60ef73ee7619 - std::panicking::default_hook::h67efe04e9a5d446e
   6:     0x60ef73ee7d48 - std::panicking::rust_panic_with_hook::h49021cdbc4b22349
   7:     0x60ef73ee7c22 - std::panicking::begin_panic_handler::{{closure}}::hfbf601f3d8c62d13
   8:     0x60ef73ee6756 - std::sys_common::backtrace::__rust_end_short_backtrace::h98dd020b6e913806
   9:     0x60ef73ee7974 - rust_begin_unwind
  10:     0x60ef739d6ac5 - core::panicking::panic_fmt::h0d3f1893e38be419
  11:     0x60ef739d6fb3 - core::result::unwrap_failed::h1356562ef8bc898c
  12:     0x60ef73a9f237 - blue_recorder::build_ui::h9db3e9ff584a536c
  13:     0x60ef73aed821 - <O as gio::auto::application::ApplicationExt>::connect_activate::activate_trampoline::h1e9155974122eee8
  14:     0x71b730c8832f - g_closure_invoke
  15:     0x71b730c9e2bb - <unknown>
  16:     0x71b730ca0f83 - <unknown>
  17:     0x71b730caa3f9 - g_signal_emit_valist
  18:     0x71b730caa4c3 - g_signal_emit
  19:     0x71b730b5eee8 - <unknown>
  20:     0x71b730b5f066 - g_application_run
  21:     0x60ef73af6378 - <O as gio::application::ApplicationExtManual>::run::h801d93fb7bc201f9
  22:     0x60ef73a9a505 - async_std::task::task_locals_wrapper::TaskLocalsWrapper::set_current::h233d84265873813a
  23:     0x60ef73a896d6 - <futures_lite::future::PollFn<F> as core::future::future::Future>::poll::h09602e63b46a66ff
  24:     0x60ef73ab3a9c - async_global_executor::executor::block_on::hfa2d177c5c00ecd0
  25:     0x60ef73ae8b36 - async_std::task::builder::Builder::blocking::hd25a062b24122f6f
  26:     0x60ef73aa0d7c - blue_recorder::main::h7fd76a18e43aac7e
  27:     0x60ef73ae3e23 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdcbdae4c952a0822
  28:     0x60ef73abd409 - std::rt::lang_start::{{closure}}::he6fabb8d45e46cd9
  29:     0x60ef73edb721 - std::rt::lang_start_internal::hc3f700406209db2c
  30:     0x60ef73aa0db5 - main
  31:     0x71b72fa74d90 - <unknown>
  32:     0x71b72fa74e40 - __libc_start_main
  33:     0x60ef739d7275 - _start
  34:                0x0 - <unknown>

I have added the po files and also the PO_DIR environment variable. Please help me fix this. I don't think it'll be tough/

Silenke2x2 commented 1 month ago

I have the same problem too: $ blue-recorder

gtk_window_set_titlebar() called on a realized window
thread 'main' panicked at src/main.rs:57:10:
called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "Нет такого файла или каталога" }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace