Bionus / imgbrd-grabber

Very customizable imageboard/booru downloader with powerful filenaming features.
https://www.bionus.org/imgbrd-grabber/
Apache License 2.0
2.57k stars 220 forks source link

"No path could be generated for filename" using %md5%.%ext% #2898

Open TessierCraft opened 1 year ago

TessierCraft commented 1 year ago

Bug description

When I try to download any set of images - either from Get All or Get Selected - I immediately get an error when starting the download: "An error occurred saving the image. Please solve the issue before resuming the download." The images don't download. if I skip or resume, the error recurs I've set the folder to a local hard disk on my machine that has more than enough space and am using the %md5%.%ext% name.

Steps to reproduce

  1. Search for any tag on Danbooru or Gelbooru - in this case, f-14_tomcat
  2. Click on Get All
  3. Click on Downloads tab
  4. Right-click on the download in question -> click Download
  5. Error occurs

Expected behavior

Either the download begins and runs or an error message is provided for me to troubleshoot.

Context

Note that both main.log and settings.ini files can be found in C:/Users/%USERNAME%/AppData/Local/Bionus/Grabber in Windows, and in the installation directory on Linux.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

Additional context

Add any other context about the bug report here.

Elusivo commented 1 year ago

I also had this issue today and i fixed it by editing settings.ini and fixing the 2 paths that were there.

They had a double \ in the path, like for ex: "D:\Pics\folder". Changing them to "D:\Pics\folder" allowed me to start downloading without any error.

TomLucidor commented 12 months ago

same here for windows, checked and it was NOT a backslash issue, and the disk is half empty. Thinking there is something about file path parsing that caused this