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:

  1. Create pipenv with Python 3.8(.7/.9)
  2. install browser-history
  3. run browser-history -b Firefox or -b Safari
  4. 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-history Version 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

Most upvoted comments

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.