Skip to content

Error "Saving Failed" while trying to save a project #84

@Evaguy

Description

@Evaguy

While using Storybrew's latest version (1.92.9014.28033), and previous version before this one, on Windows 11 24H2 26100.4351, I've encountered an error when I try to save a project.

Image

Here's the full error message that I saw in the "trace.log" file :

Saving failed (<saveProject>b__40_0): System.IO.IOException: Access to the path '\\?\C:\Users\gabin\OneDrive\Bureau\storyboards\projects\it doesnt feel like home to me\.sbrew.tmp' is denied.
   at StorybrewEditor.Program.RunMainThread(Action action) in E:\Dev\storybrew\editor\Program.cs:line 331
   at StorybrewEditor.ScreenLayers.ProjectMenu.<saveProject>b__40_0() in E:\Dev\storybrew\editor\ScreenLayers\ProjectMenu.cs:line 484
   at StorybrewEditor.ScreenLayers.Util.LoadingScreen.<Load>b__6_0() in E:\Dev\storybrew\editor\ScreenLayers\Util\LoadingScreen.cs:line 32

This would happen everytime I try to save using "CTRL+S", but if I let the editor prompt me the "Do you wish to save the project?" window, and click on "Yes", this time, I get this error message :

Image

Saving failed (<withSavePrompt>b__1): System.IO.IOException: Access to the path '\\?\C:\Users\gabin\OneDrive\Bureau\storyboards\projects\it doesnt feel like home to me\.sbrew.tmp' is denied.
   at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
   at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
   at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
   at System.IO.Directory.Delete(String path, Boolean recursive)
   at BrewLib.Util.SafeDirectoryWriter..ctor(String targetDirectory) in E:\Dev\storybrew\brewlib\Util\SafeDirectoryWriter.cs:line 23
   at StorybrewEditor.Storyboarding.Project.saveText(String path) in E:\Dev\storybrew\editor\Storyboarding\Project.cs:line 635
   at StorybrewEditor.Storyboarding.Project.Save() in E:\Dev\storybrew\editor\Storyboarding\Project.cs:line 522
   at StorybrewEditor.ScreenLayers.ProjectMenu.<>c__DisplayClass50_0.<withSavePrompt>b__1() in E:\Dev\storybrew\editor\ScreenLayers\ProjectMenu.cs:line 667
   at StorybrewEditor.ScreenLayers.Util.LoadingScreen.<Load>b__6_0() in E:\Dev\storybrew\editor\ScreenLayers\Util\LoadingScreen.cs:line 32

I've already try to save the project as an admin, and move the Storybrew's root directory somewhere else, but again, I would get the same error in both methods.

I also don't think it's a project issue, because I'm getting the same error while saving another project :

Image

Saving failed (<saveProject>b__40_0): System.IO.IOException: Access to the path '\\?\C:\Users\gabin\OneDrive\Bureau\storyboards\projects\take you down\.sbrew.tmp' is denied.
   at StorybrewEditor.Program.RunMainThread(Action action) in E:\Dev\storybrew\editor\Program.cs:line 331
   at StorybrewEditor.ScreenLayers.ProjectMenu.<saveProject>b__40_0() in E:\Dev\storybrew\editor\ScreenLayers\ProjectMenu.cs:line 484
   at StorybrewEditor.ScreenLayers.Util.LoadingScreen.<Load>b__6_0() in E:\Dev\storybrew\editor\ScreenLayers\Util\LoadingScreen.cs:line 32

I've try to look everywhere to see if someone had the same issue as mine, but sadly, I couldn't find anything…

Thanks, any help would be highly appreciated :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions