bonsec wrote: Thu Jun 17, 2021 7:13 pm
w00tz0rz4 wrote: Thu Jun 17, 2021 4:59 am
First off, amazing software. Fantastic fun!
I am running into an issue as of today or yesterday perhaps where the gallery downloading (from URL sources) seems to hang forever. I don't think this is necessarily on your end as this was working fine just a few days ago. Wondering if I tweaked something or if some unrelated issues are causing problems like a windows update, firewall etc. Curious if anyone else is running into this. Happening on both versions 1.1.0 and 1.1.1 for me.
Thanks!
Thanks, glad you're enjoying it. Are there any errors in the console that could indicate the problem?
If not, I suspect the gallery-dl.exe that is used to download URLs may be blocked by some anti-virus.
Check the bin directory next to the beta.exe file and verify if gallery-dl.exe exists or has been removed automatically.
Try downloading gallery-dl
https://github.com/mikf/gallery-dl/releases and manually place it in the bin directory next to beta.exe.
Doesn't look to be anything wrong with the .exes. Windows is at least somewhat vocal about what its doing to them. Before, when running this there would be a folder in temp/dl that had the fetched images, doesn't look like the images are being downloaded anymore. Grabbed some output
Code: Select all
* Serving Flask app "webapp" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
INFO:werkzeug: * Running on http://192.168.1.127:2021/ (Press CTRL+C to quit)
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:56:40] "←[37mGET / HTTP/1.1←[0m" 200 -
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:56:45] "←[37mGET /control HTTP/1.1←[0m" 200 -
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:56:45] "←[37mGET /driver HTTP/1.1←[0m" 200 -
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:56:45] "←[37mGET /session HTTP/1.1←[0m" 200 -
INFO:root:Retained 244 links for url=https://www.reddit.com/r/nsfw
INFO:root:Retained 112 links for url=https://www.reddit.com/r/striptease
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:56:45] "←[37mGET /medias/https%3A%2F%2Fwww.reddit.com%2Fr%2Fnsfw/urls HTTP/1.1←[0m" 200 -
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:58:03] "←[37mGET / HTTP/1.1←[0m" 200 -
INFO:root:/debug: {"action": "ERROR", "message": "Failed to fetch", "stack": "TypeError: Failed to fetch", "error": "TypeError: Failed to fetch"}
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:58:03] "←[37mPOST /debug HTTP/1.1←[0m" 200 -
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:58:03] "←[37mGET /control HTTP/1.1←[0m" 200 -
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:58:03] "←[37mGET /driver HTTP/1.1←[0m" 200 -
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:58:03] "←[37mGET /session HTTP/1.1←[0m" 200 -
ERROR:webapp:Exception on /medias/https://www.reddit.com/r/nsfw/urls [GET]
Traceback (most recent call last):
File "flask\app.py", line 2447, in wsgi_app
File "flask\app.py", line 1952, in full_dispatch_request
File "flask\app.py", line 1821, in handle_user_exception
File "flask\_compat.py", line 39, in reraise
File "flask\app.py", line 1950, in full_dispatch_request
File "flask\app.py", line 1936, in dispatch_request
File "webapp.py", line 249, in get_media_urls
File "asyncio\base_events.py", line 592, in run_until_complete
File "asyncio\base_events.py", line 552, in _check_running
RuntimeError: This event loop is already running
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:58:03] "←[35m←[1mGET /medias/https%3A%2F%2Fwww.reddit.com%2Fr%2Fnsfw/urls HTTP/1.1←[0m" 500 -
INFO:root:/debug: {"action": "ERROR", "message": "Unexpected token < in JSON at position 0", "stack": "SyntaxError: Unexpected token < in JSON at position 0", "error": "SyntaxError: Unexpected token < in JSON at position 0"}
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:58:03] "←[37mPOST /debug HTTP/1.1←[0m" 200 -
INFO:root:Resolved 112 links for url=https://www.reddit.com/r/striptease
INFO:werkzeug:192.168.1.127 - - [18/Jun/2021 07:58:30] "←[37mGET /medias/https%3A%2F%2Fwww.reddit.com%2Fr%2Fstriptease/urls HTTP/1.1←[0m" 200 -
It seems to hang on line 12/13 after retaining the image links. The browser will just show "Resolving so and so url" forever. I was able to get it give me an error when reloading the browser window which starts at line 13/14, but that kinda looks like an "already in progress" type error and nothing about the gallery download. Hope that is useful! Thanks for taking a look.