{"action":"reopened","issue":{"url":"https://api.github.com/repos/MalloyDelacroix/DownloaderForReddit/issues/46","repository_url":"https://api.github.com/repos/MalloyDelacroix/DownloaderForReddit","labels_url":"https://api.github.com/repos/MalloyDelacroix/DownloaderForReddit/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/MalloyDelacroix/DownloaderForReddit/issues/46/comments","events_url":"https://api.github.com/repos/MalloyDelacroix/DownloaderForReddit/issues/46/events","html_url":"https://github.com/MalloyDelacroix/DownloaderForReddit/issues/46","id":388822170,"node_id":"MDU6SXNzdWUzODg4MjIxNzA=","number":46,"title":"Unable to save user list","user":{"login":"MelanieTanaka","id":45699059,"node_id":"MDQ6VXNlcjQ1Njk5MDU5","avatar_url":"https://avatars0.githubusercontent.com/u/45699059?v=4","gravatar_id":"","url":"https://api.github.com/users/MelanieTanaka","html_url":"https://github.com/MelanieTanaka","followers_url":"https://api.github.com/users/MelanieTanaka/followers","following_url":"https://api.github.com/users/MelanieTanaka/following{/other_user}","gists_url":"https://api.github.com/users/MelanieTanaka/gists{/gist_id}","starred_url":"https://api.github.com/users/MelanieTanaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MelanieTanaka/subscriptions","organizations_url":"https://api.github.com/users/MelanieTanaka/orgs","repos_url":"https://api.github.com/users/MelanieTanaka/repos","events_url":"https://api.github.com/users/MelanieTanaka/events{/privacy}","received_events_url":"https://api.github.com/users/MelanieTanaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-12-07T21:34:41Z","updated_at":"2018-12-13T17:05:18Z","closed_at":null,"author_association":"NONE","body":"I am having a lot of trouble saving the user list.\r\nIf I add users then immediately save, it's all good.\r\nIf I add users and then start the download, then one of 2 things happens:\r\n1) the final download to complete is a success (an image on a host supported by the app) -> then all is good, the user list and progress can be saved.\r\n\r\n2) if the final download to process is a failure (unsupported type) -> unable to save, any users added if not saved before starting the download are lost. The modification date on the save file is not changed.\r\n\r\nWhen  scenario 2 happens, the \"download\" button remains stuck, clicking it to stop does nothing. Attempting to save via the file menu gives a failure message.\r\n\r\nThe biggest issue with this is not only are users added to the list discarded if not saved before starting the download, but the same content is downloaded over and over again until a scenario # 1 happens and a save can be done properly.\r\n\r\nthe log shows this when attempting to save, also URL to screen capture of pop up error.\r\n\r\n`{\"levelname\": \"ERROR\", \"name\": \"DownloaderForReddit.DownloaderForReddit.Persistence.ObjectStateHandler\", \"filename\": \"ObjectStateHandler.py\", \"module\": \"ObjectStateHandler\", \"funcName\": \"save_pickled_state\", \"lineno\": 129, \"message\": \"Unable to save to save_file\", \"asctime\": \"12/07/2018 04:32:02 PM\", \"exc_info\": \"Traceback (most recent call last):\\n  File \\\"DownloaderForReddit\\\\Persistence\\\\ObjectStateHandler.py\\\", line 121, in save_pickled_state\\n  File \\\"shelve.py\\\", line 124, in __setitem__\\nTypeError: can't pickle Content objects\", \"save_file_location\": \"C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\SomeGuySoftware\\\\DownloaderForReddit\\\\save_file\"}`\r\n\r\n[url](https://i.imgur.com/jVF4wp1.png)"}}
{"actor":{"display_login":"MalloyDelacroix"}}