Closed awmartin closed 6 years ago
I should also add that the Python open()
command also fails, but with file not found, where it succeeds on macOS. I've also tried with "data\hello.txt" and the full path: "C:\Users\awmartin\Documents\Processing\pytest\data\hello.txt"
I can confirm loadStrings() is OK on Mac OS, so can anyone else test on Windows, please?
I've tested it on Windows 10 and cannot reproduce the bug.
I filed a parallel issue on the processing.py repo. I produced it on two Windows machines but not on a third I tested. I'm assuming it has to do with something specific to those machines though, until I find a more consistent repro. Closing this one and keeping the other open.
A new sketch with the following contents:
Prints the value None when executed. This behavior is the same whether the relevant code is placed in
setup()
or in the root level of an empty sketch. The "hello.txt" file is present in the data/ folder of the sketch folder.This is the case in both the 64-bit and 32-bit versions of Processing for Windows 3.3.6.