WalkerMx / AutoCrispy

Automatically apply AI Upscaling on Dumped Textures
GNU General Public License v3.0
100 stars 9 forks source link

AutoCrispy Pathing Issue #12

Closed WalkerMx closed 1 year ago

WalkerMx commented 2 years ago

Hello same issue happened to me! It seems when I try to upscale an image it tries to upscale every time an image that has failed. AutoCrispy_uXabvOffZE

I tried to upscale a different image and saved it as exam room. But the error is stuck at justin serious.png

Originally posted by @Laezor in https://github.com/WalkerMx/AutoCrispy/issues/7#issuecomment-950804620

WalkerMx commented 2 years ago

This issue is related to how AutoCrispy generates the paths to files and folders. This system needed to generate paths compatible with all backends - some don't like quotes, some don't like spaces, some can only use 8.3 filenames.

This could be patched quickly, but, I might rewrite the entire path system to save us all from patch hell.

Laezor commented 2 years ago

So I fixed the error in my part without needing to reinstall python or have to reinstall gpu driver. What I did was delete the Justin serious.png file. It was hidden I think in the temp folder or in the localappdata. Then the program works fine again.

WalkerMx commented 2 years ago

Yes, it sounds like, you found the manual fix! I'm glad, you got it working!

In theory, AutoCrispy can detect and correct that issue, but, in this case it didn't, it had to be fixed manually. Might as well fix the bug, since I know it's there!

If you end up with the same issue, yes, the offending files will be in folders named like 'Temp_0', 'Chain_0', 'Chain_1', 'Chain_2' etc.

Thank you for taking the time to let me know about this!

WalkerMx commented 1 year ago

As per #13, this issue should be resolved and the fix will be included in the next Release of AutoCrispy.