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

Could not load cache #3

Open
baduhai opened this issue Sep 8, 2022 · 5 comments
Open

Could not load cache #3

baduhai opened this issue Sep 8, 2022 · 5 comments

Comments

@baduhai
Copy link

baduhai commented Sep 8, 2022

Opening the application just gives me the "Could not load cache" error. I can't do anything, and it doesn't look enabling the debug flag shows anything useful.

RUST_LOG=nixos_conf_editor=trace nixos-conf-editor                                                                 
 DEBUG nixos_conf_editor::ui::optionpage > opt changing valuebuf to ""
 DEBUG nixos_conf_editor::ui::optionpage > conf changing valuebuf to ""
 DEBUG nixos_conf_editor::ui::optionpage > valuetracker changing valuebuf to ""
 INFO  nixos_conf_editor::ui::optionpage > OptPageMsg::UpdateConfMod
 INFO  nixos_conf_editor::ui::optionpage > pre_view
 DEBUG nixos_conf_editor::ui::optionpage > valuetracker changing valuebuf to "0"
 DEBUG nixos_conf_editor::ui::optionpage > valuebuf changed to "0"
 INFO  nixos_conf_editor::ui::optionpage > OptPageMsg::UpdateConf
 INFO  nixos_conf_editor::ui::optionpage > pre_view
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::SetDarkMode
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::SetConfPath
 INFO  nixos_conf_editor::ui::optionpage > OptPageMsg::SetScheme
 INFO  nixos_conf_editor::ui::optionpage > pre_view
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::TryLoad
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::LoadError
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::TryLoad
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::LoadError
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::TryLoad
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::LoadError
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::TryLoad
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::LoadError
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::TryLoad
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::LoadError
 INFO  nixos_conf_editor::ui::window     > Received AppMsg::Close
@vlinkz
Copy link
Collaborator

vlinkz commented Sep 8, 2022

Sounds like something is wrong with version detection. What's your output of nixos-version --json? I also might have some flakes stuff I still need to backport from nix-software-center

@baduhai
Copy link
Author

baduhai commented Sep 8, 2022

I'm not using flakes, just a standard config.
Output of nixos-version --json:

{"nixosVersion":"22.11pre405560.2da64a81275","nixpkgsRevision":"2da64a81275b68fdad38af669afeda43d401e94b"}

@vlinkz
Copy link
Collaborator

vlinkz commented Sep 9, 2022

The issue should be fixed in the latest commit on main. I'll make a new tag after I add a few more updates

@vlinkz
Copy link
Collaborator

vlinkz commented Sep 24, 2022

Version 0.0.5 should fix the issue

@yonacwy
Copy link

yonacwy commented Nov 16, 2024

I got this error today when working offline, when my connection returned it worked.

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

3 participants