File not found error
Opened this issue · 4 comments
I have crated a VectorDB and I am trying to open the db and collection to run some searches on it. When I do my_db.list_databases() I get this following error
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\Users\\.LynseDB\databases\databases'
The file exists in the folder, I have checked it. I tried resaving it as databases.json, the error goes but the list returned is empty.
What is the proper way of opening a collection once it has been created?
Apologies, but I do not have a Windows device to duplicate this issue. Could you please provide your code so that I might review it?
Apologies, but I do not have a Windows device to duplicate this issue. Could you please provide your code so that I might review it?
I have identified the issue and determined that it is associated with the path handling mechanism within the lynse/api/native_api/database_manager.py
module. I will incorporate a resolution into the upcoming version, which is currently in its development phase. Please continue to monitor for updates.
Apologies, but I do not have a Windows device to duplicate this issue. Could you please provide your code so that I might review it?
I have identified the issue and determined that it is associated with the path handling mechanism within the
lynse/api/native_api/database_manager.py
module. I will incorporate a resolution into the upcoming version, which is currently in its development phase. Please continue to monitor for updates.
Alternatively, you may opt to omit the 'list_databases' function, in which case, the remaining collection methods should operate correctly without any issues.
I have managed to do it with the create_database and require_collection with drop_if_exists = False
for now. I tried making changes to the database_manager.py
but it did not work for me. I was also on a tight deadline for this.
Thank you for looking into this so promptly. Awaiting the upcoming version so I can do it the proper way later! 👍