-
Notifications
You must be signed in to change notification settings - Fork 8
Error after downloading around 30 files. #3
Comments
It may have been a temporary error with e621, or your own connection may just be able to download the images faster than mine. I just downloaded 500 images with no issues. It also looks like you are using an older version of the script, because you are using Python 2 still. Could you use the latest version and tell me if the problem still occurs? You are going to need to download Python 3. |
I've updated my python and used the latest e621dl, still getting the error (though it did download around 300 this time), but it probable is my end as when I use cmd to ping static1.e621.net quite a few "request timed out"s appear. Will look more into it (its probable either shit wifi or my ISP being a dick.). |
This is the debug if it is any help. It seems that the downloads freeze up because the images are created but are 0 Bytes in size. |
I changed the module that I am using for downloading images from spoofing urllib to requests, which is more simple. Grab the master files and see if that helps you at all. |
Seems to work better, still some half download files and an error did come up.
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
The above exception was the direct cause of the following exception:
|
I put out another update that cleaned up a lot of inefficient multiprocessing stuff that was left over from when I first forked. If that doesn't fix the problem, then it is either your internet, or another error that I am missing. My internet isn't the fastest, so there are some cases which I just can't test. Maybe your case is what happens when you download images too fast. |
That seems to have fixed it. I had no problems downloading over 4000 files. On a side note while you have been doing that I added some options to the config for filtering posts. |
Glad to know that its working for you now! If you find anything else wrong, let me know, I love making improvements on this. To avoid confusion between this issue and your side note, I am going to create a new issue (#4). |
After running I get this error. This has only started happening in the last few days. My guess is it might have to do with CloudFlare blocking the multiple requests in such a short time. A work around might be adding a counter that pauses the download for a certain amount of time after so many. I would try myself if I knew python.
I can supply Debug if you want it.
The text was updated successfully, but these errors were encountered: