browser-history: Cannot open sqlite databases for Safari and Firefox when in Python 3.8 venv
Describe the bug Cannot open sqlite databases for Safari and Firefox when in venv (created by Pipenv).
To Reproduce Steps to reproduce the behavior:
- Create pipenv with Python 3.8(.7/.9)
- install browser-history
- run
browser-history -b Firefoxor-b Safari - See error
sqlite3.OperationalError: unable to open database file
Expected behavior See the history.
Desktop (please complete the following information):
- OS: macOS 11.2.3
browser-historyVersion 0.3.0- Python version: 3.8.7
Additional context Chrome works, Brave works in Python 3.8.9 and 3.9.4. Firefox and Safari work only in Python 3.9.4
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (24 by maintainers)
Commits related to this issue
- fix for pipenv fixes #139 — committed to FlxVctr/browser-history by FlxVctr 3 years ago
- fix #139 (with pre-commit hook) — committed to FlxVctr/browser-history by FlxVctr 3 years ago
- Fix Safari/Firefox bug in pipenv on macOS (#141) * fix #139 for pipenv (with pre-commit hook) — committed to browser-history/browser-history by FlxVctr 3 years ago
Already worked with the github version. Seems to work now also with the Pypi version. Thanks! And no worries. Not a paying customer 😉
I’ve made a new release (v0.3.1). Let me know if this fixes your issue and sorry for the delay!
Haha, that’s okay. A release has been overdue for a while now. There have been around 10-15 PRs since the last release.
No rush, project is in early stages. Just checking feasibility. 24 hours is much quicker than I’d dare to wish for.
I’d think it simply uses the binary it finds on your PATH first. But just guessing here, don’t know the sqlite package except for using it. Thanks for merging the PR. When would you expect the next release on PyPI? (Asking to decide whether it makes sense to wait or to find out how to git install in beeware).
Already gone with the URI for the PR
Storage is not an issue, btw.