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

thread '<unnamed>' panicked at 'called Result::unwrap() #66

Closed
tamert opened this issue Oct 15, 2019 · 13 comments
Closed

thread '<unnamed>' panicked at 'called Result::unwrap() #66

tamert opened this issue Oct 15, 2019 · 13 comments

Comments

@tamert
Copy link

tamert commented Oct 15, 2019

thread '' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:999:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

@haitech
Copy link

haitech commented Oct 15, 2019

Getting similar error.
Seems like the http-server is not running?

On osx 10.14.4, installed with brew

 ~  spt
Opened https://accounts.spotify.com/authorize?scope=playlist-read-private%20user-library-modify%20user-library-read%20user-modify-playback-state%20user-read-currently-playing%20user-read-playback-state%20user-read-private%20user-read-recently-played&client_id=XYZ&response_type=code&state=XYZ&redirect_uri=http:%2F%2Flocalhost:8888%2Fcallback& in your browser
Enter the URL you were redirected to:
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:999:5
stack backtrace:
   0: std::panicking::default_hook::{{closure}}
   1: std::panicking::default_hook
   2: std::panicking::rust_panic_with_hook
   3: std::panicking::continue_panic_fmt
   4: rust_begin_unwind
   5: core::panicking::panic_fmt
   6: core::result::unwrap_failed
   7: spt::redirect_uri::redirect_uri_web_server
   8: __rust_maybe_catch_panic
   9: core::ops::function::FnOnce::call_once{{vtable.shim}}
  10: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
  11: std::sys::unix::thread::Thread::new::thread_start
  12: _pthread_body
  13: _pthread_start

Spotify auth failed

@haitech
Copy link

haitech commented Oct 15, 2019

Got it to work with running sudo spt. And then after spt (without sudo) worked.

@tamert
Copy link
Author

tamert commented Oct 15, 2019

i am waiting for a very long time but not response

@tamert
Copy link
Author

tamert commented Oct 15, 2019

Screen Shot 2019-10-15 at 12 35 22

@tigrato
Copy link

tigrato commented Oct 15, 2019

@tamert copy the url and paste into the terminal

@Rigellute
Copy link
Owner

Sorry about this. Something must be going wrong with the local webserver on first set up.

Will investigate.

@tamert
Copy link
Author

tamert commented Oct 15, 2019

@tamert copy the url and paste into the terminal

:) yes i see now .. i was couldnt see because i just focus error

@Rigellute
Copy link
Owner

Did you install via brew and running on macOS?

Or are you on linux and installed via cargo?

@abusch
Copy link

abusch commented Oct 15, 2019

Seeing this as well on Linux (Arch), spt installed via cargo. It opens up a web browser, then panics with the error above.

@Rigellute
Copy link
Owner

I know the issue, will create fix shortly.

@Rigellute
Copy link
Owner

Rigellute commented Oct 15, 2019

Apologies once again, the fix is here ca79472 and is released to brew and cargo, you can now update.

@Rigellute
Copy link
Owner

Looks like this is only fixed for macOS, reopening.

@Rigellute Rigellute reopened this Oct 15, 2019
@Rigellute
Copy link
Owner

Latest release 0.6.2 now finally contains the fix 👍

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

5 participants