-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENOENT: no such file or directory when folder uses non-Roman characters #452
Labels
Comments
I can reproduce with simplified Chinese chars. ⚙️ Getting saveImageAs from localStorage png
⚙️ Getting model from localStorage {"label":"General Photo (Ultramix Balanced)","value":"ultramix_balanced"}
⚙️ Setting gpuId to empty string
🔀 Setting model to
🎯 GET_MODELS_LIST:
🔄 Resetting image paths
🔀 Setting model to ultramix_balanced
⚙️ Getting saveImageAs from localStorage png
⚙️ Getting model from localStorage {"label":"General Photo (Ultramix Balanced)","value":"ultramix_balanced"}
⚙️ Setting gpuId to empty string
⚙️ Getting rememberOutputFolder from localStorage false
⚙️ Getting saveImageAs from localStorage png
⚙️ Getting model from localStorage {"label":"General Photo (Ultramix Balanced)","value":"ultramix_balanced"}
⚙️ Setting gpuId to empty string
🔀 Setting model to
🔀 Setting model to ultramix_balanced
🔄 Resetting image paths
🐞 BACKEND REPORTED: 📄 Selected File Path: C:\Users\aaron\测试\78221_2.jpg
🖼 Selected Image Path: C:\Users\aaron\测试\78221_2.jpg
📁 Selected Image Directory: C:\Users\aaron\测试
🖼 imagePath: C:\Users\aaron\测试\78221_2.jpg
🔤 Extension: jpg
🔄 Resetting Upscaled Image Path
🏁 UPSCAYL
🐞 BACKEND REPORTED: 📢 Upscayl Command: -i,C:\Users\aaron\测试\78221_2.jpg,-o,C:\Users\aaron\测试\78221_2_upscayl_2x_ultramix_balanced.png,-s,4,-m,C:\Program Files\Upscayl\resources\models,-n,ultramix_balanced,,,-f,png
🐞 BACKEND REPORTED: image upscayl: [0 Radeon RX 580 Series] queueC=1[2] queueG=0[1] queueT=2[2]
[0 Radeon RX 580 Series] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 Radeon RX 580 Series] fp16-p/s/a=1/1/0 int8-p/s/a=1/1/1
[0 Radeon RX 580 Series] subgroup=64 basic=1 vote=1 ballot=1 shuffle=1
🚧 UPSCAYL_PROGRESS: [0 Radeon RX 580 Series] queueC=1[2] queueG=0[1] queueT=2[2]
[0 Radeon RX 580 Series] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 Radeon RX 580 Series] fp16-p/s/a=1/1/0 int8-p/s/a=1/1/1
[0 Radeon RX 580 Series] subgroup=64 basic=1 vote=1 ballot=1 shuffle=1
🐞 BACKEND REPORTED: image upscayl: 0.00%
🚧 UPSCAYL_PROGRESS: 0.00%
🐞 BACKEND REPORTED: 💯 Done upscaling
🐞 BACKEND REPORTED: ♻ Scaling and converting now...
🐞 BACKEND REPORTED: ❌ Error reading original image metadata Error: ENOENT: no such file or directory, open 'C:\Users\aaron\测试\78221_2_upscayl_2x_ultramix_balanced.png'
🚧 UPSCAYL_PROGRESS: Error: ENOENT: no such file or directory, open 'C:\Users\aaron\测试\78221_2_upscayl_2x_ultramix_balanced.png'
🛑 Stopping Upscayl
🔄 Resetting image paths
🔄 Resetting image paths
🐞 BACKEND REPORTED: 🛑 Stopping Upscaling Process 25036 |
High priority since this is a kinda a regression (see #217), may be related to other failings of JIMP which we currently use for compression. |
We're going to use sharp.js instead of jimp. We really need to nail down this path issue as well. Sometimes the real-esrgan binary doesn't play nice with non-english letters. |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
Paste the logs
Describe the Bug
When converting a file that is in a folder that uses Japanese characters, I get an error. I'm not sure if the folder's parent folder would still cause this error, but the base folder where the input/output reside being in Japanese will definitely cause an error.
Notably, it doesn't matter what the
To Reproduce
Create a folder called
あ
. Place your input image in there, and drag it into Upscayl. Convert (I used General Photo). It will (probably) fail.Version/Commit Hash
2.7.5
OS Specifics
Windows 11, RTX 4080
Expected Behavior
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: