mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.93k stars 975 forks source link

sqlite3.OperationalError: disk I/O error #6107

Open reyaz006 opened 2 months ago

reyaz006 commented 2 months ago
[urllib3.connectionpool][debug] https://nijie.info:443 "GET /view.php?id=108712 HTTP/1.1" 200 None
[nijie][debug] Sleeping 8.00 seconds (request)
[urllib3.connectionpool][debug] Resetting dropped connection: nijie.info
[urllib3.connectionpool][debug] https://nijie.info:443 "GET /view_popup.php?id=108712 HTTP/1.1" 200 None
[nijie][error] An unexpected error occurred: OperationalError - disk I/O error. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[nijie][debug]
Traceback (most recent call last):
  File "gallery_dl\job.pyc", line 152, in run
  File "gallery_dl\job.pyc", line 195, in dispatch
  File "gallery_dl\job.pyc", line 307, in handle_url
  File "gallery_dl\archive.pyc", line 54, in check
sqlite3.OperationalError: disk I/O error

It's running off network location. Disconnects may happen randomly due to various stuff (I guess mostly due to PC going to sleep) but they are always short. Is it possible to add some value to wait in seconds and attempt again if the database connection appears broken?