Comments (1)
Updated to nix-software-center 0.1.2 on NixOS 22.11.4588.93fddcf640c.
To improve UX, the GUI should show the error and not pretend to be loading.
The GUI now shows an error dialog and don't pretend to be loading.
In terminal i see:
ERROR nix_software_center::ui::windowloading > Error getting pkglist: error returned from database: (code: 11) database disk image is malformed
What database does it mean and where is it?
Monitor says it's /home/davidak/.cache/nix-data/nixospkgs.db
and two other related files.
I guess to fix it, i have to delete the database and let it create a new one.
After deleting the files, the GUI said "Loading..." again, created the files and now it works!
rm /home/davidak/.cache/nix-data/nixospkgs.db*
Such a fix can also be shown in the GUI. Maybe have a button "Delete and create new database".
I think that would be the best solution. Signal does something similar in this case.
from nix-software-center.
Related Issues (20)
- Nix Software Center crashes HOT 3
- Suggestion: Upstream to nixpkgs HOT 6
- Setting default installation profile
- [Feature Request] Ability to install packages using nix profile into /nix/var/nix/profiles/default
- Build failure HOT 1
- Black border in KDE HOT 4
- Error when installing to configuration.nix HOT 4
- allow configuring icons HOT 3
- non-nixos distros? HOT 1
- Overlay not working?
- Open button not working? HOT 1
- Some icons/screenshots of famous softwares are not displayed HOT 8
- Feature request: update single package
- use flake does not work HOT 2
- Can't select properly the configuration files if not in user home HOT 1
- Give more feedback to user during install HOT 3
- Setting to choose to remain in stable version
- No "Installed" entries
- Unfree packages throw an error when installing to user profile
- Support for system-manager
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix-software-center.