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 .
I/O Error
Moderator: Martin
-
- Posts: 90
- Joined: 12 Feb 2016 03:23
I/O Error
- Attachments
-
- Screenshot_2017-02-08-12-46-03.jpg (325.28 KiB) Viewed 15847 times
Re: I/O Error
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
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
-
- Posts: 90
- Joined: 12 Feb 2016 03:23
Re: I/O Error
Hi Martin,
I have already granted permission to automagic and i have sd fix installed and my path is also correct.
I have already granted permission to automagic and i have sd fix installed and my path is also correct.
Re: I/O Error
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?
When you use the [...]-button of the action to select the file, is the file visible and looks like a regular file?
-
- Posts: 90
- Joined: 12 Feb 2016 03:23
Re: I/O Error
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??
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??
Re: I/O Error
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
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