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

No effective warning when saving sketch fails due to full disk #2580

Open
3 tasks done
mervinvb opened this issue Nov 26, 2024 · 0 comments
Open
3 tasks done

No effective warning when saving sketch fails due to full disk #2580

mervinvb opened this issue Nov 26, 2024 · 0 comments
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@mervinvb
Copy link

Describe the problem

When the Arduino IDE is used with a full disk (0 bytes space left) the error message "The file 'file.ino' has been changed on the file system" incorrectly appears when trying to save the file. Pressing save in the resulting dialog doesn't save anything. Running "save as" creates an empty .ino file with no errors appearing. There appears to be no handling of a full disk. It took me far too long to debug this on the user's PC because of the incorrect error message.

To reproduce

Fully fill up your computer's drive. Try to save the Arduino file. See the incorrect error message. Try using "save as", watch the .ino file contents dissappear.

Expected behavior

The IDE should display a user-friendly warning message when the user tries to save the .ino file on a full disk. Something like "Could not save file: no space available" would suffice.

Arduino IDE version

2.3.3

Operating system

Windows

Operating system version

10

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@mervinvb mervinvb added the type: imperfection Perceived defect in any part of project label Nov 26, 2024
@per1234 per1234 added the topic: code Related to content of the project itself label Nov 30, 2024
@per1234 per1234 changed the title IDE does not handle full disk properly No effective warning when saving sketch fails due to full disk Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants