imgbrd-grabber icon indicating copy to clipboard operation
imgbrd-grabber copied to clipboard

Separate log issues.

Open sedon-thurkon opened this issue 2 years ago • 2 comments

Steps to reproduce

in separate log, select "path and file name", specify filename and hope it will put the file in the output folder (or at least the grabber folder). unhandled crash with no logging, no crash report, no debugging, nothing. with path specified, if you use a save variable (ie: %artist%) does not save.

Context https://discord.com/channels/780466420877361156/780466421464694786/1062876084032524309 version: 7.10.1

sedon-thurkon avatar Jan 11 '23 23:01 sedon-thurkon

Do you have an exact separate log file config that would cause a crash?

I tried with this and while the behavior was weird it didn't crash: image

Bionus avatar Jan 14 '23 09:01 Bionus

I believe I've run into the issue the OP is having - at least, as far as I can tell (I don't do discord, so I don't see the context mentioned at that URL). This does NOT cause a crash for me, though. After some testing, I think I've deduced that tags are not allowed as folder names, unless the directory already exists. So, for example, I've been trying to use L:/Grabber/Output/%search_1%/text as the log file's directory and it doesn't work. If I put it in the filename (ie: %search_1%/%id.txt) it still doesn't work. However, if I don't use it as a folder name (ie: %search_1%-%id%.txt) it works. It seems to me that if the directory doesn't exist, it's not created. Because it's not created, the file can not be written.

This works fine for saving the images. I'm using "%search_1%/%id%.%ext%" as the filename for images, and I've had no issues there.

This is just my guess as to what's going on based on my own testing.

PrincipalSkinner avatar Aug 27 '23 21:08 PrincipalSkinner