MalloyDelacroix / DownloaderForReddit

The Downloader for Reddit is a GUI application with some advanced features to extract and download submitted content from reddit.
GNU General Public License v3.0
506 stars 47 forks source link

Crash before downloading #13

Closed ghost closed 6 years ago

ghost commented 6 years ago

Thanks for the update. Unfortunately, I can't get it to work at all now.

I completely removed the app and installed it again, including roaming data. I have added one list "wallpaper" and added the groups "wallpaper" and "wallpapers". It says both are valid, gets to 50% then crashes. Checking my download folder, nothing is there, not even the subfolders.

Here is my log, thanks.

{"levelname": "ERROR", "name": "DownloaderForReddit.Persistence.ObjectStateHandler", "filename": "ObjectStateHandler.py", "module": "ObjectStateHandler", "funcName": "load_pickled_state", "lineno": 87, "message": "Failed to load from save file", "asctime": "03/16/2018 09:11:25 AM", "exc_info": "Traceback (most recent call last):\n File \"shelve.py\", line 111, in getitem\nKeyError: 'user_list_models'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"DownloaderForReddit\Persistence\ObjectStateHandler.py\", line 62, in load_pickled_state\n File \"shelve.py\", line 113, in getitem\n File \"dbm\dumb.py\", line 148, in getitem\nKeyError: b'user_list_models'", "save_file_location": "C:\Users\Craig\AppData\Roaming\SomeGuySoftware\DownloaderForReddit\save_file"} {"levelname": "ERROR", "name": "DownloaderForReddit.GUI.DownloaderForRedditGUI", "filename": "DownloaderForRedditGUI.py", "module": "DownloaderForRedditGUI", "funcName": "load_state", "lineno": 1329, "message": "Load state error: No save file found", "asctime": "03/16/2018 09:11:25 AM", "exc_info": "Traceback (most recent call last):\n File \"DownloaderForReddit\GUI\DownloaderForRedditGUI.py\", line 1312, in load_state\nTypeError: 'NoneType' object is not subscriptable"} {"levelname": "INFO", "name": "DownloaderForReddit.GUI.DownloaderForRedditSettingsGUI", "filename": "DownloaderForRedditSettingsGUI.py", "module": "DownloaderForRedditSettingsGUI", "funcName": "init", "lineno": 47, "message": "Settings dialog opened", "asctime": "03/16/2018 09:11:31 AM"} {"levelname": "INFO", "name": "DownloaderForReddit.GUI.DownloaderForRedditSettingsGUI", "filename": "DownloaderForRedditSettingsGUI.py", "module": "DownloaderForRedditSettingsGUI", "funcName": "set_imgur_client", "lineno": 201, "message": "Imgur client_id and client_secret set", "asctime": "03/16/2018 09:11:36 AM", "valid_client_id": true, "valid_client_secret": true} {"levelname": "INFO", "name": "DownloaderForReddit.GUI.DownloaderForRedditSettingsGUI", "filename": "DownloaderForRedditSettingsGUI.py", "module": "DownloaderForRedditSettingsGUI", "funcName": "save_settings", "lineno": 307, "message": "Settings saved", "asctime": "03/16/2018 09:11:46 AM", "settings": {"imgur_client_valid": true, "restrict_by_score": false, "score_limit_operator": "GREATER", "score_limit": 3000, "subreddit_sort_method": "NEW", "subreddit_sort_top_method": "DAY", "post_limit": 1000, "restrict_by_date": false, "restrict_by_custom_date": false, "custom_date": 86400, "download_videos": true, "download_images": true, "avoid_duplicates": true, "nsfw_filter": "INCLUDE", "save_subreddits_by": "Subreddit Name", "name_downloads_by": "Image/Album Id", "save_directory": "U:/Downloads/Reddit Downloader/", "max_download_thread_count": 4, "save_undownloaded_content": true}} {"levelname": "INFO", "name": "DownloaderForReddit.GUI.DownloaderForRedditGUI", "filename": "DownloaderForRedditGUI.py", "module": "DownloaderForRedditGUI", "funcName": "update_user_settings", "lineno": 1056, "message": "User settings updated", "asctime": "03/16/2018 09:11:46 AM", "updated_users": 0, "total_users": 0} {"levelname": "INFO", "name": "DownloaderForReddit.GUI.DownloaderForRedditGUI", "filename": "DownloaderForRedditGUI.py", "module": "DownloaderForRedditGUI", "funcName": "update_subreddit_settings", "lineno": 1070, "message": "Subreddit settings updated", "asctime": "03/16/2018 09:11:46 AM", "updated_subreddits": 0, "total_subreddits": 0} {"levelname": "INFO", "name": "DownloaderForReddit.GUI.DownloaderForRedditGUI", "filename": "DownloaderForRedditGUI.py", "module": "DownloaderForRedditGUI", "funcName": "run_subreddit", "lineno": 474, "message": "Subreddit download initiated", "asctime": "03/16/2018 09:12:14 AM", "list_size": 2, "settings": {"imgur_client_valid": true, "restrict_by_score": false, "score_limit_operator": "GREATER", "score_limit": 3000, "subreddit_sort_method": "NEW", "subreddit_sort_top_method": "DAY", "post_limit": 1000, "restrict_by_date": false, "restrict_by_custom_date": false, "custom_date": 86400, "download_videos": true, "download_images": true, "avoid_duplicates": true, "nsfw_filter": "INCLUDE", "save_subreddits_by": "Subreddit Name", "name_downloads_by": "Image/Album Id", "save_directory": "U:/Downloads/Reddit Downloader/", "max_download_thread_count": 4, "save_undownloaded_content": true}} {"levelname": "INFO", "name": "DownloaderForReddit.GUI.DownloaderForRedditGUI", "filename": "DownloaderForRedditGUI.py", "module": "DownloaderForRedditGUI", "funcName": "start_reddit_extractor_thread", "lineno": 536, "message": "Downloader thread started", "asctime": "03/16/2018 09:12:14 AM"} {"levelname": "CRITICAL", "name": "DownloaderForReddit.main", "filename": "main.py", "module": "main", "funcName": "log_unhandled_exception", "lineno": 86, "message": "Unhandled exception", "asctime": "03/16/2018 09:13:02 AM", "exc_info": "Traceback (most recent call last):\n File \"lib\site-packages\urllib3\connectionpool.py\", line 601, in urlopen\n File \"lib\site-packages\urllib3\connectionpool.py\", line 346, in _make_request\n File \"lib\site-packages\urllib3\connectionpool.py\", line 850, in _validateconn\n File \"lib\site-packages\urllib3\connection.py\", line 326, in connect\n File \"lib\site-packages\urllib3\util\ssl.py\", line 329, in ssl_wrap_socket\n File \"ssl.py\", line 401, in wrap_socket\n File \"ssl.py\", line 808, in init\n File \"ssl.py\", line 1061, in do_handshake\n File \"ssl.py\", line 683, in do_handshake\nConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"lib\site-packages\requests\adapters.py\", line 440, in send\n File \"lib\site-packages\urllib3\connectionpool.py\", line 639, in urlopen\n File \"lib\site-packages\urllib3\util\retry.py\", line 357, in increment\n File \"lib\site-packages\urllib3\packages\six.py\", line 685, in reraise\n File \"lib\site-packages\urllib3\connectionpool.py\", line 601, in urlopen\n File \"lib\site-packages\urllib3\connectionpool.py\", line 346, in _make_request\n File \"lib\site-packages\urllib3\connectionpool.py\", line 850, in _validateconn\n File \"lib\site-packages\urllib3\connection.py\", line 326, in connect\n File \"lib\site-packages\urllib3\util\ssl.py\", line 329, in ssl_wrap_socket\n File \"ssl.py\", line 401, in wrap_socket\n File \"ssl.py\", line 808, in init\n File \"ssl.py\", line 1061, in do_handshake\n File \"ssl.py\", line 683, in do_handshake\nurllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"DownloaderForReddit\Core\DownloadRunner.py\", line 390, in run_extraction\n File \"DownloaderForReddit\Core\DownloadRunner.py\", line 414, in extract\n File \"DownloaderForReddit\Extractors\Extractor.py\", line 52, in run\n File \"DownloaderForReddit\Extractors\Extractor.py\", line 62, in extract\n File \"DownloaderForReddit\Extractors\ImgurExtractor.py\", line 56, in init\n File \"lib\site-packages\imgurpython\client.py\", line 85, in init\n File \"lib\site-packages\imgurpython\client.py\", line 94, in get_credits\n File \"lib\site-packages\imgurpython\client.py\", line 131, in make_request\n File \"lib\site-packages\requests\api.py\", line 72, in get\n File \"lib\site-packages\requests\api.py\", line 58, in request\n File \"lib\site-packages\requests\sessions.py\", line 508, in request\n File \"lib\site-packages\requests\sessions.py\", line 618, in send\n File \"lib\site-packages\requests\adapters.py\", line 490, in send\nrequests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))"}