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

Abrasive could not find fonts on NixOS. #20

Open
magnetophon opened this issue Sep 25, 2024 · 0 comments
Open

Abrasive could not find fonts on NixOS. #20

magnetophon opened this issue Sep 25, 2024 · 0 comments

Comments

@magnetophon
Copy link

When I try to run Abrasive, I get:

carla-single vst3 /home/bart/source/valib/target/bundled/abrasive.vst3
['/nix/store/7j4mbmmj9r2f4kwphfwpjjw1zlyzlzsf-carla-2.5.8/lib/carla/carla-bridge-native', 'vst3', '/home/bart/source/valib/target/bundled/abrasive.vst3', '(none)', '0']
libjack.so.0 loaded successfully!
17:31:37 [WARN] Custom Property: stroke-width
17:31:37 [WARN] Unparsed: box-shadow
17:31:37 [WARN] Unparsed: font-size
17:31:37 [WARN] Unparsed: font-size
17:31:37 [INFO] Creating analyzer
[carla] Previous plugin state in '/home/bart/source/valib/plugins/abrasive/Abrasive.carxs' is non-existent, will start from default state
17:31:37 [WARN] Custom Property: stroke-width
17:31:37 [WARN] Unparsed: box-shadow
17:31:37 [WARN] Unparsed: font-size
17:31:37 [WARN] Unparsed: font-size
17:31:37 [ERROR] thread 'unnamed' panicked at 'Failed to find font: Query { families: [Name("Noto Sans"), SansSerif], weight: Weight(400), stretch: Normal, style: Normal }': /home/bart/.cargo/git/checkouts/vizia-629668219022e428/e3fab55/crates/vizia_core/src/text/cosmic.rs:143
   0: nih_plug::wrapper::util::log_panics::{{closure}}::{{closure}}
             at /home/bart/.cargo/git/checkouts/nih-plug-a2d2dc277b128e13/dfafe90/src/wrapper/util.rs:139:29
      nih_plug::util::permit_alloc
             at /home/bart/.cargo/git/checkouts/nih-plug-a2d2dc277b128e13/dfafe90/src/util.rs:25:5
      nih_plug::wrapper::util::log_panics::{{closure}}
             at /home/bart/.cargo/git/checkouts/nih-plug-a2d2dc277b128e13/dfafe90/src/wrapper/util.rs:136:9
   1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/alloc/src/boxed.rs:2077:9
      std::panicking::rust_panic_with_hook
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/std/src/panicking.rs:799:13
   2: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/std/src/panicking.rs:664:13
   3: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/std/src/sys_common/backtrace.rs:171:18
   4: rust_begin_unwind
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/std/src/panicking.rs:652:5
   5: core::panicking::panic_fmt
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/core/src/panicking.rs:72:14
   6: vizia_core::text::cosmic::TextContext::sync_styles::{{closure}}
             at /home/bart/.cargo/git/checkouts/vizia-629668219022e428/e3fab55/crates/vizia_core/src/text/cosmic.rs:143:36
      core::option::Option<T>::unwrap_or_else
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/core/src/option.rs:980:21
      vizia_core::text::cosmic::TextContext::sync_styles
             at /home/bart/.cargo/git/checkouts/vizia-629668219022e428/e3fab55/crates/vizia_core/src/text/cosmic.rs:143:18
   7: vizia_core::views::textbox::Textbox<L>::set_caret
             at /home/bart/.cargo/git/checkouts/vizia-629668219022e428/e3fab55/crates/vizia_core/src/views/textbox.rs:236:9
   8: <vizia_core::views::textbox::Textbox<L> as vizia_core::view::View>::event::{{closure}}
      vizia_core::events::event::Event::map
             at /home/bart/.cargo/git/checkouts/vizia-629668219022e428/e3fab55/crates/vizia_core/src/events/event.rs:110:17
      <vizia_core::views::textbox::Textbox<L> as vizia_core::view::View>::event
             at /home/bart/.cargo/git/checkouts/vizia-629668219022e428/e3fab55/crates/vizia_core/src/views/textbox.rs:1018:9
   9: vizia_core::events::event_manager::visit_entity
             at /home/bart/.cargo/git/checkouts/vizia-629668219022e428/e3fab55/crates/vizia_core/src/events/event_manager.rs:177:9
  10: vizia_core::events::event_manager::EventManager::flush_events
             at /home/bart/.cargo/git/checkouts/vizia-629668219022e428/e3fab55/crates/vizia_core/src/events/event_manager.rs:115:21
      vizia_core::context::backend::BackendContext::process_events
             at /home/bart/.cargo/git/checkouts/vizia-629668219022e428/e3fab55/crates/vizia_core/src/context/backend.rs:225:19
  11: vizia_baseview::application::ApplicationRunner::on_frame_update
             at /home/bart/.cargo/git/checkouts/vizia-629668219022e428/e3fab55/crates/vizia_baseview/src/application.rs:202:9
      <vizia_baseview::window::ViziaWindow as baseview::window::WindowHandler>::on_frame
             at /home/bart/.cargo/git/checkouts/vizia-629668219022e428/e3fab55/crates/vizia_baseview/src/window.rs:167:9
  12: baseview::x11::window::WindowInner::run_event_loop
             at /home/bart/.cargo/git/checkouts/baseview-9d6c750431f4479e/2c1b1a7/src/x11/window.rs:461:17
  13: baseview::x11::window::Window::window_thread
             at /home/bart/.cargo/git/checkouts/baseview-9d6c750431f4479e/2c1b1a7/src/x11/window.rs:346:9
      baseview::x11::window::Window::open_parented::{{closure}}
             at /home/bart/.cargo/git/checkouts/baseview-9d6c750431f4479e/2c1b1a7/src/x11/window.rs:139:13
      std::sys_common::backtrace::__rust_begin_short_backtrace
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/std/src/sys_common/backtrace.rs:155:18
  14: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/std/src/thread/mod.rs:542:17
      <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/core/src/panic/unwind_safe.rs:272:9
      std::panicking::try::do_call
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/std/src/panicking.rs:559:40
      std::panicking::try
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/std/src/panicking.rs:523:19
      std::panic::catch_unwind
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/std/src/panic.rs:149:14
      std::thread::Builder::spawn_unchecked_::{{closure}}
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/std/src/thread/mod.rs:541:30
      core::ops::function::FnOnce::call_once{{vtable.shim}}
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/core/src/ops/function.rs:250:5
  15: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/alloc/src/boxed.rs:2063:9
      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/alloc/src/boxed.rs:2063:9
      std::sys::pal::unix::thread::Thread::new::thread_start
             at /rustc/804421dff5542c9c7da5c60257b5dbc849719505/library/std/src/sys/pal/unix/thread.rs:108:17
  16: start_thread
  17: __GI___clone3

^C[carla] Bridge: ScopedPluginAction(0|1:kEnginePostActionZeroCount) - blocking START
[carla] Bridge: ScopedPluginAction(0|1:kEnginePostActionZeroCount) - blocking DONE

Let me know if there's anything I can do to help you debug.

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