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

called Option::unwrap() on a None value', src/cache.rs:268:43 #27

Closed
jrop opened this issue Sep 21, 2022 · 5 comments
Closed

called Option::unwrap() on a None value', src/cache.rs:268:43 #27

jrop opened this issue Sep 21, 2022 · 5 comments

Comments

@jrop
Copy link

jrop commented Sep 21, 2022

After a fresh install of mist, I am getting the following panic:

❯ mist search just
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/cache.rs:268:43
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
❯
@hwittenborn
Copy link
Member

Hey, thanks for the issue report!

Could you send the following information over?

  • Distro
  • Distro Version
  • Any extra APT repositories set up on your system

@jrop
Copy link
Author

jrop commented Sep 21, 2022

Distro: Pop_OS!
Version: Pop!_OS 22.04 LTS
Other APT repositories: (not sure if the following answers your question or not)

❯ ls /etc/apt/sources.list.d
archive_uri-https_apt_releases_hashicorp_com-impish.list.save
brave-browser-release.list
brave-browser-release.list.save
google-chrome.list
google-chrome.list.save
makedeb.list
ngrok.list
ngrok.list.save
pop-os-apps.sources
pop-os-apps.sources.save
pop-os-release.sources
pop-os-release.sources.save
system.sources
system.sources.save
tailscale.list
tailscale.list.save

(it honestly looks as though I might want to cull that 🤔 a bit)

@hwittenborn
Copy link
Member

Thanks! I'm suspecting it's one of those repositories (maybe the Brave, Google Chrome, or ngrok one), but I wouldn't really be able to know until I do some testing myself. I'm currently working on #22 right now though, and I probably won't be working on must else with Mist until that's complete, but it's just awaiting one more feature to arrive in the APT library Mist uses, and then it should be merged shortly after. Hopefully that's within the next week or so, but I can't really give a reliable estimate.

@hwittenborn
Copy link
Member

Hey! I've gotten #22 merged now, could you see if the issue keeps happening still after updating your version of Mist?

@jrop
Copy link
Author

jrop commented Sep 26, 2022

That appears to fix my issue. Thanks!

@jrop jrop closed this as completed Sep 26, 2022
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

2 participants