-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
unable to open sqlite database #906
Comments
@anandanatarajan - thanks for raising this - we saw a similar issue to this recently with SQLite ... we will dig into it - will revert as soon as we have an update. |
@anandanatarajan - what IDE are you using? Could you please check a couple of things: |
@doberst , i am using vs code , and used "pip install llmware" to install. the python is present in c:\python312 and the llmware is also present inside it only "C:\python312\Lib\site-packages\llmware" there is no llmware folder in userprofile location and there is no llmware_data folder to. I will try to create manually the llmware_data folder in userprofile and update |
@doberst managed to resolve the issue by creating relevant folders in the mentioned location. not sure why it was not created in pip install. |
@anandanatarajan - thanks for closing the loop -and for catching this ... In most of the major classes, we initiate a setup function implicitly if certain file paths are not set up (e.g.., first time use) - but this was missing in the CustomTable class - so for first-time use, it generates the error you were seeing. We will be adding the 'implicit setup' into CustomTable later today. Appreciate your help on this. 👍 |
@anandanatarajan - thanks again, we have merged the defensive check into the CustomTable class, so it will create the llmware workspace on first time use. Just to avoid any issues as you do more with llmware, my recommendation is to delete the 'manual' file path that you created- and then run: import llmware.configs import LLMWareConfig
LLMWareConfig.setup_llmware_workspace() or git clone from the repo and then run the example again (and it will take care of setting up all of the supporting folder paths the right way.). Hope that makes sense. Thanks again for checking out llmware and for sharing this issue! 👍 |
Hi,
my system is windows 11 with 32GB RAM , using python 3.12 , i am trying to fiddle with llmware nlp to sql using a csv file, after installing the llmware i copy pasted "examples/Structured_Tables/loading_csv_into_custom_table-2a.py" this code, the python environment is already installed with sqlite. but when i run i encounter this error
the folder is having full rights and i am able to create and manipulate sqlite db from a simple python program with out any issues.
struck with this for past 2 days any help ?
The text was updated successfully, but these errors were encountered: