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

sw setup: cannot close database #45

Open
tomJa99 opened this issue May 27, 2020 · 2 comments
Open

sw setup: cannot close database #45

tomJa99 opened this issue May 27, 2020 · 2 comments
Labels
bug

Comments

@tomJa99
Copy link

tomJa99 commented May 27, 2020

Describe the bug
I have troubles setting up software network on my computer. I downloaded the binary and ran
sw setup

This produced the following error message:

Sqlite3 error: Can't close database: unable to close due to unfinalized statements or unfinished backups
Exception in file D:/dev/cppan2/client2/src/sw/manager/storage_remote.cpp:285, function load: sqlite3_step() failed: NOT NULL constraint failed: package_version.archive_version

Do I have to configure something to solve this issue or is this an actual bug?

I am currently working on a Windows 10 OS and I need sw to build leptonica and tesseract.

@tomJa99 tomJa99 added the bug label May 27, 2020
@egorpugin
Copy link
Contributor

egorpugin commented May 27, 2020

Try to remove sw database. It will be re-created again.
Remove C:\Users\u\.sw\storage\etc\sw\database dir or if you changed storage dir, go to it and remove etc\sw\database dir.

@tomJa99
Copy link
Author

tomJa99 commented May 27, 2020

I removed the folder but I still get the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug
Projects
None yet
Development

No branches or pull requests

2 participants