Crash after turning on Double Upscayl before switching to batch mode
Author: kispinCreated Jan 2, 2025Updated Sep 11, 2026
LabelsbugHIGH PRIORITY
Checklist
- I have searched for this in the issues tab.
- I have tried ALL of the steps mentioned in the troubleshooting guide.
Describe the Bug
I found a weird crash when I was trying to do a Batch upscale process, it would just crash out with no useful information, some additional poking around found that it was caused by the Double-Upscayle option being checked in the Single image processing section (that option dissapears when you go to Batch Mode) The error Generated was "Error: Input path and Output path both must be either a file or a directory!" which made no sense.
To Reproduce
Disable Batch Mode Select "Double Upscayl" Goto Batch Mode Set Folder options Hit Go
Upscayl Version (or commit hash)
2.15.0
Platform
Linux
OS Version
Debian 12
GPU Name
NVIDIA Corporation GP106GL [Quadro P2000]
Expected Behavior
The invalid option should have been ignored (or force set to false)
Screenshots
No response
Logs
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
DIRNAME /opt/Upscayl/resources/app.asar/export/electron
App Path: /opt/Upscayl/resources/app.asar
Checking for updates
22:27:26.989 › Upscayl version: 2.15.0 FOSS
22:27:26.991 › UPSCAYL EXEC PATH: /opt/Upscayl/resources/bin/upscayl-bin
22:27:26.991 › MODELS PATH: /opt/Upscayl/resources/models
22:27:26.992 › App Path: /opt/Upscayl/resources/app.asar
Auto Update is disabled
22:27:27.743 › System Info: {"platform":"linux","release":"6.1.0-17-amd64","arch":"x64","model":"AMD Ryzen 5 1600X Six-Core Processor","cpuCount":12,"gpu":{"active":true,"cudaComputeCapabilityMajor":0,"deviceId":7216,"driverVendor":"Nvidia","driverVersion":"535.183.01","gpuPreference":0,"vendorId":4318}}
22:27:32.304 › Resetting image paths
22:27:36.194 › Updating Folder Path: /home/karel/Pictures/1
22:27:36.195 › Selected Folder Path: /home/karel/Pictures/1
22:27:36.201 › BACKEND REPORTED: Updating Folder Path: /home/karel/Pictures/1
22:27:36.202 › BACKEND REPORTED: Updating Folder Path: /home/karel/Pictures/1
22:27:36.202 › Selected Folder Path: /home/karel/Pictures/1
22:27:36.203 › BACKEND REPORTED: Selected Folder Path: /home/karel/Pictures/1
22:27:36.203 › BACKEND REPORTED: Selected Folder Path: /home/karel/Pictures/1
22:27:44.725 › Resetting Upscaled Image Path
22:27:44.726 › Upscayl Command: [
'-i',
'/.',
'-o',
'/home/karel/Pictures/Upscaler/._upscayl_3x_digital-art-4x.png',
'-s',
'3',
'-m',
'/opt/Upscayl/resources/models',
'-n',
'digital-art-4x',
'-f',
'png'
]
22:27:44.737 › Updating Stopped: false
22:27:44.738 › DOUBLE_UPSCAYL
22:27:44.802 › BACKEND REPORTED: Upscayl Command: -i,/.,-o,/home/karel/Pictures/Upscaler/._upscayl_3x_digital-art-4x.png,-s,3,-m,/opt/Upscayl/resources/models,-n,digital-art-4x,-f,png
22:27:44.803 › BACKEND REPORTED: Upscayl Command: -i,/.,-o,/home/karel/Pictures/Upscaler/._upscayl_3x_digital-art-4x.png,-s,3,-m,/opt/Upscayl/resources/models,-n,digital-art-4x,-f,png
22:27:44.804 › BACKEND REPORTED: Updating Stopped: false
22:27:44.804 › BACKEND REPORTED: Updating Stopped: false
22:27:44.805 › DOUBLE_UPSCAYL_PROGRESS: Starting Upscayl - Copyright © 2024
Error: Input path and Output path both must be either a file or a directory!
22:27:44.806 › DOUBLE_UPSCAYL_PROGRESS: Starting Upscayl - Copyright © 2024
Error: Input path and Output path both must be either a file or a directory!
22:27:44.806 › DOUBLE_UPSCAYL_PROGRESS: Starting Upscayl - Copyright © 2024
Error: Input path and Output path both must be either a file or a directory!
22:27:44.807 › DOUBLE_UPSCAYL_PROGRESS: Starting Upscayl - Copyright © 2024
Error: Input path and Output path both must be either a file or a directory!
22:27:44.807 › Resetting image paths
22:27:44.807 › Resetting image pathsSource: upscayl/upscayl