philpax / exilent

A Discord bot for Automatic1111's Stable Diffusion web UI
GNU General Public License v3.0
10 stars 1 forks source link

Wirehead command isn't updating #37

Closed philpax closed 1 year ago

philpax commented 1 year ago

The Wirehead command doesn't seem to update with the latest models. Probably related to this panic on startup:

thread 'tokio-runtime-worker' panicked at 'expected object', C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\serenity-0.11.5\src\http\utils.rs:25:22
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library\std\src\panicking.rs:584
   1: core::panicking::panic_fmt
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library\core\src\panicking.rs:142
   2: core::panicking::panic_display<str>
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library\core\src\panicking.rs:72
   3: core::panicking::panic_str
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library\core\src\panicking.rs:56
   4: core::option::expect_failed
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library\core\src\option.rs:1880
   5: serenity::http::utils::loop_errors
   6: serenity::http::utils::deserialize_errors
   7: <&mut serde_json::de::Deserializer<R> as serde::de::Deserializer>::deserialize_struct
   8: serde_json::de::from_slice
   9: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  10: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  11: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  12: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  13: <exilent::custom_id::WireheadValue as core::convert::TryFrom<&str>>::try_from
  14: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  15: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  16: tokio::runtime::task::core::Core<T,S>::poll
  17: tokio::runtime::task::harness::Harness<T,S>::poll
  18: tokio::runtime::scheduler::multi_thread::worker::Context::run
  19: tokio::runtime::scheduler::multi_thread::worker::Context::run
  20: tokio::macros::scoped_tls::ScopedKey<T>::set
  21: tokio::runtime::scheduler::multi_thread::worker::run
  22: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
  23: tokio::runtime::task::core::Core<T,S>::poll
  24: tokio::runtime::task::harness::Harness<T,S>::poll
  25: tokio::runtime::blocking::pool::Inner::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.