-
Notifications
You must be signed in to change notification settings - Fork 3
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
[BUG] database is locked - when writing to external storage #26
Comments
Some more info from the error log Version: 2.0.3Command: -u example.com -f --start 20130101 --end 20181231 -o /home/xyz/Documents/data/wayback-site/ --retry 1 --workers 6 --keep --progress2024-11-12 14:01:44!-- Exception: UNCAUGHT EXCEPTION
|
your external storage is a hdd / pendrive ? with a regular mountpoint for example like edit: |
Thanks for looking into this. It's cloud based, but yeah, it's mounted at When running with sudo the error message reads
I thought about permissions, too. However, the same dir path worked with previous versions of the tool, when there wasn't a DB. |
did some tests now. do you install the tool via virtual-env or if you want to use the tool via sudo you have to did the database exist before you started the tool (again)? if so, maybe there is a problem with remaining LOCKS after keyboard-interrupt or something similar... |
I install via virtual-env. Will try with sudo. Hopefully next week! Thanks so much for testing! |
in addition please briefly describe your connected cloud storage. what kind? mountpoint? permissions? ( |
Hey! Thanks for the previous fix! Sorry to bother again ...
The previous fix works when files are written to local storage.
I just wanted to start a larger download and save it to an external storage via the -o operator. It worked with previous versions, however now, it reads:
!-- Exception: UNCAUGHT EXCEPTION
!-- File: waybackdownloaderEnvironment/lib/python3.10/site-packages/pywaybackup/db.py
!-- Function: init
!-- Line: 39
!-- Segment: db.cursor.execute(cls.waybackup_table)
!-- Description: database is locked
I'm on waybackup 2.0.3 running Ubuntu 22.04 and Python 3.10.12
Any idea what's causing this?
Many thanks!
The text was updated successfully, but these errors were encountered: