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

sqlite3.OperationalError: database is locked #13

Open
jcguu95 opened this issue Mar 7, 2024 · 0 comments
Open

sqlite3.OperationalError: database is locked #13

jcguu95 opened this issue Mar 7, 2024 · 0 comments

Comments

@jcguu95
Copy link

jcguu95 commented Mar 7, 2024

Similar issues happen for bookmarks, downloads, cookies, inputhistory.
The only feature that worked so far is addons. I haven't tried other ones.

I'm on a macbook M2. Got firefed in my virtualenv using pip install firefed --upgrade.

I can help fix the code as well! Just let me know and show me some hints. Thank you for your work!

$ firefed --version
firefed v0.1.14

$ whereis firefed
firefed: /Users/jin/.python/jin/jin-python/bin/firefed

$ firefed -p default-release bookmarks -s
Traceback (most recent call last):
  File "/Users/jin/.python/jin/jin-python/bin/firefed", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/__main__.py", line 55, in main
    run()
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/__main__.py", line 33, in run
    feature()
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/feature/feature.py", line 210, in __call__
    self.summarize()
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/feature/bookmarks.py", line 46, in summarize
    out('%d bookmarks found.' % len(list(self.bmarks)))
                                    ^^^^^^^^^^^^^^^^^
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/feature/bookmarks.py", line 42, in <genexpr>
    bmarks = (b for b in bmarks if not str(b.url).startswith('place:'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jin/.python/jin/jin-python/lib/python3.12/site-packages/firefed/feature/feature.py", line 94, in load_sqlite
    cursor.execute(query)
sqlite3.OperationalError: database is locked
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