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

[Bug] "Cannot create a file when that file already exists." Error when editing JSON #132

Closed
kekivelez opened this issue Aug 1, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@kekivelez
Copy link

Description

After enabling JSON editing, when changing a data value for mission progress NomNom crashes with a System.IO.IOException and a message "Cannot create a file when that file already exists.".

Reproduce

Steps to reproduce the behavior:
1.Edit JSON for save
2. Search for timed mission (Bio_Ship2 is the mission I am encountering the issue with)
3. Set the "Data" key to 1
4. Click ok
5. Accept the prompt to save changes
6. Go to File > Save account
7. Profit?

Expected Behavior

json file changes saved without NomNom crashing. Additional clarity on whether the confirmation prompt (the one that pops up after editing the json and hitting ok) saves the changes to the save would be a nice bonus (is it supposed to save the account for me or is the user supposed to manually hit save account despite that confirmation?)

Files

NomNom 4.30.0.33-beta.3 Crash Report.pdf
save_with_bioship2_active.zip

Additional Context

Add any other context about the problem here or at least complete the following information.

  • Version: 4.30.0.33-beta.3
  • Platform: PC Gamepass
@kekivelez kekivelez added the bug Something isn't working label Aug 1, 2023
@cengelha cengelha added this to the libNOM.io (.NET 7) milestone Aug 3, 2023
@cengelha cengelha self-assigned this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants