Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An unhandled IOException occurred #71

Open
carlbennett opened this issue Feb 1, 2024 · 0 comments
Open

An unhandled IOException occurred #71

carlbennett opened this issue Feb 1, 2024 · 0 comments
Assignees
Milestone

Comments

@carlbennett
Copy link
Owner

carlbennett commented Feb 1, 2024

This error was caused by a read-only filesystem under Linux. BNRBot was launched from /mnt/Storage/Projects/BNRBot/ on a filesystem mounted with ro flag. The fix should be to handle the IOException when attempting to create the settings file, rather than assuming it would always succeed.


image

Error #5

TextOutputStream.!Create%o<TextOutputStream>%o<FolderItem>
Settings.CreateFile%b%o<FolderItem>s
Settings.Save%%o<FolderItem>
ConfigWindow.ConfigWindow.Resave%%o<ConfigWindow.ConfigWindow>
ConfigWindow.ConfigWindow.Event_Close%%o<ConfigWindow.ConfigWindow>
Window.Close%%o<Window>
ConfigWindow.ConfigWindow.btnClose_Action%%o<ConfigWindow.ConfigWindow>o<PushButton>
Delegate.IM_Invoke%%o<PushButton>
AddHandler.Stub.15%%
@carlbennett carlbennett added this to the BNRBot v2 milestone Feb 1, 2024
@carlbennett carlbennett self-assigned this Feb 1, 2024
@carlbennett carlbennett changed the title An unhandled IOException occurred. An unhandled IOException occurred Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant