-
Notifications
You must be signed in to change notification settings - Fork 465
Open
Description
Acknowledgement
- I have read Getting-Started and FAQ
- If dealing with version 0.1.549 or higher, you have installed the .NET 8 runtime
🐛 Describe the bug
Projects cannot save to Documents on v0.1.568.0; an error pop-up appears
If you close a project, the Exit OpenUtau pop-up appears and, when clicking on the button to save, it opens the save location selection menu and, when the location in Documents is selected, the pop-up will appear but the application will close before the pop-up finishes loading, and all unsaved changes are lost
Explains how to reproduce the bug
Creating a new project:
- Create a new project
- Press Ctrl+S to save
- Select a location in Documents and a name for the file
- An error pop-up will appear saying it failed to save
- OpenUtau is unaware of this and believes there are no unsaved changes
Error pop-up:
Failed to save: C:\Users\Gungyphant\Documents\abc.ustx
Could not find file 'C:\Users\Gungyphant\Documents\abc.ustx'.
System.IO.FileNotFoundException: Could not find file 'C:\Users\Gungyphant\Documents\abc.ustx'.
File name: 'C:\Users\Gungyphant\Documents\abc.ustx'
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.File.WriteToFile(String path, FileMode mode, String contents, Encoding encoding)
at OpenUtau.Core.Format.Ustx.Save(String filePath, UProject project) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\Format\USTx.cs:line 101
0.1.568.0
Opening a pre-existing project (created on a previous version):
- Open the project
- Make a change
- Press Ctrl+S to save
- An error pop-up will appear
- OpenUtau believes there are no unsaved changes
Error pop-up:
Failed to save: C:\Users\Gungyphant\Documents\Videos\Tenna covers\WIP\Tenna SMOTS\smots gaming.ustx
Access to the path 'C:\Users\Gungyphant\Documents\Videos\Tenna covers\WIP\Tenna SMOTS\smots gaming.ustx' is denied.
System.UnauthorizedAccessException: Access to the path 'C:\Users\Gungyphant\Documents\Videos\Tenna covers\WIP\Tenna SMOTS\smots gaming.ustx' is denied.
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
at System.IO.File.WriteToFile(String path, FileMode mode, String contents, Encoding encoding)
at OpenUtau.Core.Format.Ustx.Save(String filePath, UProject project) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\Format\USTx.cs:line 101
0.1.568.0
OS & Version
Windows 10
Logs
I deleted all the log files and reproduced the bug; no log file was created
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels