I/O Error

Post your questions and help other users.

Moderator: Martin

Post Reply
Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

I/O Error

Post by Ankit Bindal » 08 Feb 2017 10:17

Hi,
I am getting an I/O Error whenever i use action write to file. I don't know why??
It was working fine few days ago .
Attachments
Screenshot_2017-02-08-12-46-03.jpg
Screenshot_2017-02-08-12-46-03.jpg (325.28 KiB) Viewed 15845 times

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: I/O Error

Post by Martin » 08 Feb 2017 20:43

Hi,

Please check that the path to the file is correct and that Automagic has the permission to write to this file. Maybe you have to grant 'External SD card access' in the preferences of Automagic, otherwise Automagic might just have read access.

Regards,
Martin

Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Re: I/O Error

Post by Ankit Bindal » 09 Feb 2017 01:53

Hi Martin,
I have already granted permission to automagic and i have sd fix installed and my path is also correct.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: I/O Error

Post by Martin » 10 Feb 2017 21:31

Try to write the text to some other file, for example to /storage/emulated/0/test.txt. The system does not allow Automagic to append a text to /storage/MicroSD/Miscallaneous/Balance.txt for some reason.
When you use the [...]-button of the action to select the file, is the file visible and looks like a regular file?

Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Re: I/O Error

Post by Ankit Bindal » 11 Feb 2017 10:49

Hi Martin,
This action works fine 95%, but sometimes it gives this error.

It write perfectly to the file everything.

Is this error due to some hardware issue or automagic issue??

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: I/O Error

Post by Martin » 12 Feb 2017 14:37

Hi,

When it works in 95% of cases, it's likely a system problem since the system allows/denies writing to the file. Could you please activate Debug Log in the preferences of Automagic and send a log to me after the error occurred again so I can check if the error contains some more information about the reason. You could try to mitigate the problem by catching the error with an exception-connection and try to write the text a second time after a short delay of one second.

Regards,
Martin

Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Re: I/O Error

Post by Ankit Bindal » 13 Feb 2017 01:36

Ok, sure martin.

Post Reply