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
511 stars 48 forks source link

Importing save files and user lists v2.3.2 #76

Closed ph4nt0mphr34k42 closed 4 years ago

ph4nt0mphr34k42 commented 4 years ago

On Win7.1, after every update to DFR, I'm greeted with a blank interface and have to manually re-add all my user lists. I'm sure I'm just misisng a step during the upgrade process--probably not a bug--but can anyone help me out with this? It's a pain to re-add hundreds of users over tens of lists.

Right now I'm updating from v2.2.2 to v2.3.2.

When I try to "Import Save File" and select \AppData\Roaming\SomeGuySoftware\DownloaderForReddit\save_file.dat, the program asks for permission to overwrite and then crashes (exits). At next start, it gives me the attached message box. "Save Permission Denied: A save file could not be created at this location...This likely means the application does not have permission..." error

Thanks!

MalloyDelacroix commented 4 years ago

There shouldn't be any additional steps to upgrade. The import save file function is only intended for when it is necessary to import the save file from another location such as a flash drive, and is really only a convenience method as moving the file manually will accomplish the same thing.

I can't reproduce what you're seeing with a clean save file. Would it be possible for you to attach your log file? It can be found in the same location as the save file.

ph4nt0mphr34k42 commented 4 years ago

DownloaderForReddit.log

Thanks for the quick reply. I'm glad I made a copy of the original .log and .dat files. When the newest version starts up and closes, it wipes the .dat file.

MalloyDelacroix commented 4 years ago

After looking at your log file, I can see that the problem is related to the peculiarities of the pickle module that this application uses to save data. It is a known issue that randomly shows up in some systems when users migrate between versions. This is my "white whale" issue for this application. I have been trying to fix this problem for a while now, and have as of yet been unsuccessful. It is one of the reasons that the application is moving to an sqlite back end in the future.

I'm sorry I don't have better news. If you re-enter the users in the newest version of the app, this should not be a problem going forward.

zacker150 commented 4 years ago

Do you still have the .DAT files?