You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
When attempt to open a file using the File.open(...) method, if an error occurs (such as a missing file) the return error will always be ERR_FILE_CANT_OPEN. It is not possible to determine the more specific error. The expected errors ERR_FILE_NOT_FOUND for a missing file, or ERR_FILE_ALREADY_IN_USE for an exclusively locked file are never returned.
Steps to reproduce:
Open a "valid" but missing file path using File.open. Check the return error value. It will always be 12 (the error code for the generic ERR_FILE_CANT_OPEN error).
ERR_FILE_ALREADY_IN_USE does not seem to be about "can't open an exclusively locked file". It's more like "there is already something in use", some examples:
Godot version:
3.1.1 (Mono)
OS/device including version:
Windows 10
Issue description:
When attempt to open a file using the
File.open(...)
method, if an error occurs (such as a missing file) the return error will always beERR_FILE_CANT_OPEN
. It is not possible to determine the more specific error. The expected errorsERR_FILE_NOT_FOUND
for a missing file, orERR_FILE_ALREADY_IN_USE
for an exclusively locked file are never returned.Steps to reproduce:
Open a "valid" but missing file path using
File.open
. Check the return error value. It will always be 12 (the error code for the genericERR_FILE_CANT_OPEN
error).Minimal reproduction project:
Testing-FileOpen.zip
The text was updated successfully, but these errors were encountered: