hello, I am using “system.util.playSoundClip” in Centos7, while it looks like that the file url is always inaccessible for the function.
But I’ve done “chmod +777” to the file in the url . Would you please give some advice to address the problem? Thank you so much.Based on the error message, you’re entering a code path where Ignition/Java don’t recognize the path you’re giving as a file that exists. Try this:
from java.io import File
file = File("/home/tts/demo.wav")
print file.exists()
The File object has other attributes that may help figure out why Java apparently can’t read it: