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

Crashes on save settings #4

Closed sewil closed 6 years ago

sewil commented 6 years ago

Just trying to save settings without changing anything and it crashes lmao. Also why is the default save path C:\Users\<user>/Downloads/. Windows 7 btw https://vgy.me/DF1Mum.png

MalloyDelacroix commented 6 years ago

This is a known issue for which a solution is currently being worked on. It involves Windows permissions changing for the executable after it is unzipped.

As for the default save path: I assume you're asking why there are two different types of slashes in the path. This is because Windows separates its paths with a backslash whereas every other OS separates their paths with a forward slash. At first this app was tested on Linux where the paths all displayed correctly.

In that particular instance, the reason that there are two different kinds of slashes in the default save path is because to get the users home directory pythons os.path.expanduser("~") is used which takes the OS standard path separator. This is then concatenated with "/Downloads/" to make the full path. Thus it ended up with the two different slashes.

I'll change this for future versions.

MalloyDelacroix commented 6 years ago

I believe that this issue has been solved.

I would like to ask that you download the newest release (v2.0.1) and verify that this has in fact been solved.