Skip to content

Examples crash on Mac OS X #6

@SirVer

Description

@SirVer

I wanted to check out the examples, unfortunately they do not seem to work on OS X:

$ cargo run --example coloredxy
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running `target/debug/examples/coloredxy`
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: UiThreadExited', src/libcore/result.rs:906:4
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
   1: std::panicking::default_hook::{{closure}}
   2: std::panicking::default_hook
   3: std::panicking::rust_panic_with_hook
   4: std::panicking::begin_panic
   5: std::panicking::begin_panic_fmt
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::result::unwrap_failed
   9: <core::result::Result<T, E>>::unwrap
  10: <dataplotlib::draw_sdl::DrawSDL as dataplotlib::draw::Drawable>::get_events
  11: dataplotlib::plot::draw_plots
  12: dataplotlib::plot::Plot::new2d
  13: dataplotlib::plotter::Plotter::plot2d::{{closure}}
cargo run --example simplexy
   Compiling dataplotlib v0.1.3 (file:///private/tmp/dataplotlib)
    Finished dev [unoptimized + debuginfo] target(s) in 1.38 secs
     Running `target/debug/examples/simplexy`
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: UiThreadExited', src/libcore/result.rs:906:4
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
   1: std::panicking::default_hook::{{closure}}
   2: std::panicking::default_hook
   3: std::panicking::rust_panic_with_hook
   4: std::panicking::begin_panic
   5: std::panicking::begin_panic_fmt
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::result::unwrap_failed
   9: <core::result::Result<T, E>>::unwrap
  10: <dataplotlib::draw_sdl::DrawSDL as dataplotlib::draw::Drawable>::get_events
  11: dataplotlib::plot::draw_plots
  12: dataplotlib::plot::Plot::new2d
  13: dataplotlib::plotter::Plotter::plot2d::{{closure}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions