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

[BUG] Unable to open Database file on Windows 10 #3860

Open
matthme opened this issue May 13, 2024 · 0 comments
Open

[BUG] Unable to open Database file on Windows 10 #3860

matthme opened this issue May 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@matthme
Copy link
Contributor

matthme commented May 13, 2024

Describe the bug
Genesis fails on Windows 10 with the following error:

Conductor returned an error while using a ConductorApi: GenesisFailed { errors: [(CellId(DnaHash(uhC0kBqyrNzeWnX1RU_fC5Jny4SAv5sw3Xff1TTyPtlJxtWXY9OcN), AgentPubKey(uhCAkp9zyG164j6029CS0hhQXsdu3PncFr5TkbfeN66UZv-lNu-HP)), DatabaseError(SqliteError(SqliteFailure(Error { code: CannotOpen, extended_code: 14 }, Some("unable to open database file: C:\\Users\\Matthias\\AppData\\Roaming\\holochain-launcher-electron\\0.300.0-alpha.1\\default\\holochain\\0.3.0-beta-dev.48\\dbs\\databases\\authored\\authored-uhC0kBqyrNzeWnX1RU_fC5Jny4SAv5sw3Xff1TTyPtlJxtWXY9OcN-uhCAkp9zyG164j6029CS0hhQXsdu3PncFr5TkbfeN66UZv-lNu-HP.sqlite3"))))), (CellId(DnaHash(uhC0kyMpkuK_eeMGIvT1IOqxEJfXCxg2ICwhADZfsMT3jRAwkJL6C), AgentPubKey(uhCAkp9zyG164j6029CS0hhQXsdu3PncFr5TkbfeN66UZv-lNu-HP)), DatabaseError(SqliteError(SqliteFailure(Error { code: CannotOpen, extended_code: 14 }, Some("unable to open database file: C:\\Users\\Matthias\\AppData\\Roaming\\holochain-launcher-electron\\0.300.0-alpha.1\\default\\holochain\\0.3.0-beta-dev.48\\dbs\\databases\\authored\\authored-uhC0kyMpkuK_eeMGIvT1IOqxEJfXCxg2ICwhADZfsMT3jRAwkJL6C-uhCAkp9zyG164j6029CS0hhQXsdu3PncFr5TkbfeN66UZv-lNu-HP.sqlite3")))))] }

Expected behavior
The database can be opened.

System information:

  • OS: Windows 10
  • Holochain version 0.3.0-beta-dev.48

Steps to reproduce
Download this launcher release and run it on Windows 10.

Additional context
This issue started showing up somewhere in the 0.3.x line of holochain. I'm not quite sure where the problem is located but the same error shows up when running Moss 0.11.x in development mode on Windows and it has not shown up when Moss was still using holochain 0.2 (Moss 0.10.x) so something seems to have changed since then in holochain that affects this, even if it's an issue with file permissions.

@abe-njama abe-njama added the bug Something isn't working label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready
Development

No branches or pull requests

2 participants