Official-Husko / NN-Downloader

Easily download all of your favorite Naughty images from multiple sites.
Mozilla Public License 2.0
48 stars 9 forks source link

[BUG] Errno 13 permission denied when trying to download a fav: tag #5

Closed masuteri closed 11 months ago

masuteri commented 11 months ago

Errno 13 when trying to download fav:masuteri tag

To Reproduce

  1. run the app for the first time
  2. Set the blacklists to [], put in api key and name and save
  3. Run it again, choose e621 and as the tag fav:masuteri with pagecount left empty
  4. Observe

Expected behavior All media should get downloaded

Screenshots kuva

Desktop

Used Parameters and Settings (please complete the following information):

runtime.log

Official-Husko commented 11 months ago

It looks like its not allowed to access the database file. Try running it in administrator mode and see if it works. Depending on where you stored the tool this issue might appear. Where is it located exactly?

Also please check if there is a folder called db where the app is and if there is a file in it called e621.db

masuteri commented 11 months ago

It's located on the desktop and yep there's a file called like that with a size of 1kb

Official-Husko commented 11 months ago

It's located on the desktop and yep there's a file called like that with a size of 1kb

did you try to run it as admin?

Edit: I have tried the provided tag and it worked on my end. There is definitely an issue with read and write on your end. Maybe try to run it in your downloads folder if admin worked.

masuteri commented 11 months ago

Running it on desktop as an admin in its dedicated folder didn't work, but moving the folder inside downloads worked without admin.

Official-Husko commented 11 months ago

Running it on desktop as an admin in its dedicated folder didn't work, but moving the folder inside downloads worked without admin.

glad to hear you got it working. it somehow got blocked in the process then. I will add an additional safety net in the next update that informs the user if read & write permission is missing. If you consider this issue resolved please close it.