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

When loading DJango website issue with sqlite #91

Open
stuchalk opened this issue Jan 22, 2021 · 0 comments
Open

When loading DJango website issue with sqlite #91

stuchalk opened this issue Jan 22, 2021 · 0 comments

Comments

@stuchalk
Copy link

When firing up my Django website it will not load do to the following error:

Request Method: | GET
-- | --
https://sds.coas.unf.edu/sf/
3.1.5
OperationalError
unable to open database file
/Users/n00002621/PycharmProjects/venv/lib/python3.8/site-packages/requests_cache/backends/storage/dbdict.py, line 74, in connection
/Users/n00002621/PycharmProjects/venv/bin/python
3.8.7
['/Users/n00002621/PycharmProjects/sciflow',  '/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python38.zip',  '/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8',  '/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/lib-dynload',  '/Users/n00002621/PycharmProjects/venv/lib/python3.8/site-packages']
Fri, 22 Jan 2021 11:12:56 +0000

seems to be coming from:

/Users/n00002621/PycharmProjects/venv/lib/python3.8/site-packages/requests_cache/backends/storage/dbdict.py, line 62, in __init__
with self.connection() as con:
fast_save | True
filename | '/Library/WebServer/.chembl_ws_client__0.10.2.sqlite'
options | {}
self | <requests_cache.backends.storage.dbdict.DbPickleDict object at 0x1139946a0>
table_name | 'responses'

When I run the same code in PyCharm there is no similar error. How do I resolve this?

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

No branches or pull requests

1 participant