pedrocr / chimper

100% Rust graphical image viewer that browses directories and supports all sorts of image formats
GNU General Public License v3.0
76 stars 3 forks source link

running chimper panics #2

Open flosse opened 7 years ago

flosse commented 7 years ago
RUST_BACKTRACE=1 chimper                                                                                                                                                                                                                           :(
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /checkout/src/libcore/option.rs:329
stack backtrace:
   0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::begin_panic
   6: std::panicking::begin_panic_fmt
   7: rust_begin_unwind
   8: core::panicking::panic_fmt
   9: core::panicking::panic
  10: glutin::platform::platform::x11::Window::new
  11: glutin::window::<impl glutin::WindowBuilder<'a>>::build
  12: glium::backend::glutin_backend::<impl glium::DisplayBuild for glutin::WindowBuilder<'static>>::build_glium_debug
  13: chimper::main
  14: __rust_maybe_catch_panic
  15: std::rt::lang_start
  16: __libc_start_main
  17: _start
             at ../sysdeps/x86_64/start.S:120

Chimper was installed via cargo install chimper on NixOS.

pedrocr commented 7 years ago

It's hard to tell from that backtrace what's happening as there are no line numbers here:

13: chimper::main

Could you try with cargo install --debug chimper instead?