Read-only file system...

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
jassing
Posts: 94
Joined: 16 Jul 2017 01:42
Location: SF Bay Area

Read-only file system...

Post by jassing » 16 Dec 2019 13:30

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)

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Read-only file system...

Post by Desmanto » 16 Dec 2019 17:52

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.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
jassing
Posts: 94
Joined: 16 Jul 2017 01:42
Location: SF Bay Area

Re: Read-only file system...

Post by jassing » 16 Dec 2019 18:11

Several flows are writing to that directory... Only one to this file. It's option is set to Wait...

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Read-only file system...

Post by Desmanto » 21 Dec 2019 16:07

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).
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply