Skip to content

🐞 File Saving Throwing "Modified By Another Program" Error #2033

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

Open
shpatter opened this issue Apr 20, 2025 · 2 comments
Open

🐞 File Saving Throwing "Modified By Another Program" Error #2033

shpatter opened this issue Apr 20, 2025 · 2 comments
Labels
bug Something isn't working triage needed

Comments

@shpatter
Copy link

Description

I can't save the file with either the save button or the shortcut. Only when I exit the application does it say that the file was modified by another program, even though it wasn't modified by another program, and then it suggests saving.

To Reproduce

  1. Go to file
  2. Change something
  3. Try to save

Expected Behavior

this is supposed to save the changes to the file

Version Information

CodeEdit: 0.3.4-alpha (45)
macOS: 15.4.1

Additional Context

No response

Screenshots

No response

@shpatter shpatter added the bug Something isn't working label Apr 20, 2025
@thecoolwinter thecoolwinter moved this from 🆕 New to 📋 Todo in CodeEdit Project Apr 25, 2025
@thecoolwinter
Copy link
Collaborator

There appears to be something wrong with autosave and saving files. I suspect the error mentioned has something to do with it.

@thecoolwinter thecoolwinter changed the title 🐞 Can't save the file. 🐞 File Saving Throwing "Modified By Another Program" Error Apr 25, 2025
@thecoolwinter
Copy link
Collaborator

Another note, it appears that errors thrown by the autosave are being logged but not handled. The noted error message when exiting may be due to that being the first the CodeFileDocument.save was called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage needed
Projects
Status: 📋 Todo
Development

No branches or pull requests

2 participants