Closed
Description
Checklist
- I am using an up-to-date version.
- I have read the documentation.
- I have searched existing issues.
TagStudio Version
main branch
Operating System & Version
Windows 10
Description
Attempting to create a library results in a version mismatch error instead of falling back to new library creation. This is likely due to the code introduced in #503 that creates a library version mismatch error when no version value is found, which would also be true if there is no library in the first place.
Expected Behavior
Creating a new library/opening a library at a location which does not already contain a library should result in a new library being created.
Steps to Reproduce
- Go to File -> Create/Open Library
- Select a location that does not already contain a TagStudio library
Alternative:
2. Pass "-o" "" as launch arguments before running the program
Logs
2024-10-07 15:48:37 [info ] resources registered count=24
2024-10-07 15:48:37 [info ] Config File not specified, using default one filename=C:/Users/Faceboji/AppData/Roaming/TagStudio/TagStudio.ini
2024-10-07 15:48:41 [info ] update_widgets selected=[]
2024-10-07 15:48:41 [info ] opening library connection_string=sqlite:///F:\Example 2\.TagStudio\ts_library.sqlite library_dir=WindowsPath('F:/Example 2')
2024-10-07 15:48:41 [info ] creating db tables