Page 1 of 1

Read-only file system...

Posted: 16 Dec 2019 13:30
by jassing
I have some flows and occasionally I get a Read-only file system... The flow collection shares an initialize script to ensure that they all use the same folder

It's a seemingly random error

Any ideas?

Code: Select all

java.io.IOException: Read-only file system
	at java.io.UnixFileSystem.createFileExclusively0(Native Method)
	at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:281)
	at java.io.File.createNewFile(File.java:1008)
	at ch.gridvision.ppam.androidautomagiclib.util.c.d.b(SourceFile:173)
	at ch.gridvision.ppam.androidautomagiclib.util.c.a.a(SourceFile:513)
	at ch.gridvision.ppam.androidautomagic.model.a.ht$1.a(SourceFile:112)
	at ch.gridvision.ppam.androidautomagic.model.a.ht$1.c(SourceFile:100)
	at ch.gridvision.ppam.androidautomagiclib.util.cj$1.run(SourceFile:40)
	at java.lang.Thread.run(Thread.java:798)

Re: Read-only file system...

Posted: 16 Dec 2019 17:52
by Desmanto
I don't have any idea about the real error cause there. But I think it might be something with your concurrent access. Maybe 1 flow is read/writing to certain file , lock it. Then other flow is trying to access the same file. Since you have several flows that compete for the same file, maybe you can try to shrink the cause down by disabling some of them temporary just for testing.

Re: Read-only file system...

Posted: 16 Dec 2019 18:11
by jassing
Several flows are writing to that directory... Only one to this file. It's option is set to Wait...

Re: Read-only file system...

Posted: 21 Dec 2019 16:07
by Desmanto
Since I can't see all your flows, it is better to do the test, by disabling all related flows and only enable one at a time. Or you can try to set only that one flow to write to different folder (if it is possible).