Unable to open database file
See original GitHub issueHi, I have tried to run nboost and encounter database issue (error message: unable to open database file)
This is my step:
- setup and run elasticsearch locally (have tried to crud and works)
- clone this repo and
python setup.py install
, then runnboost --uport 9200
(also have try the full example on README.md -then indexing the sample filenboost-index --file travel.csv --index_name travel --delim , --id_col
- when I try to access the dashboard
localhost:8000/nboost
it only show the header (without config card widget) - when I try to
curl "http://localhost:8000/travel/_search?pretty&q=passage:vegas&size=2"
it returning:
{"doc":null,"msg":"('unable to open database file',)","type":"OperationalError"}
am I missing any step?
I guess this is because I did not have the nboost.db file (and I did not find it in this repo)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
sqlite3.OperationalError: unable to open database file
PROBLEM You're using SQLite3, your DATABASE_NAME is set to the database file's full path, the database file is writeable by Apache, but you...
Read more >Why do I get sqlite error, "unable to open database file"?
The solution is to make sure the directory containing the database file also has write access allowed to the process. In my case,...
Read more >How to Fix SQLite Unable to Open Database File Issue?
If SQLite is unable to open the database file, this means that the SQLite database you are trying to open is corrupted.
Read more >unable to open database file - SQLite Forum
Hi: I am shakoor, I develop a vb.net desktop application using SQLite database file, on updation of any table, it generate error "unable...
Read more >Django : sqlite3.OperationalError: unable to open database file
Django : sqlite3.OperationalError: unable to open database file [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] Django ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We are running into the above issue as well
@nullphantom I’ve faced such an error. I’ve fixed it by creating /usr/local/lib/python3.7/site-packages/nboost/.cache folder.