Mutagen-Modding / Synthesis

A patcher pipeline framework and GUI. Run collections of code-based mods to create content customized for your load order
GNU General Public License v3.0
241 stars 17 forks source link

CTD if startup backup fails #452

Open Noggog opened 4 months ago

Noggog commented 4 months ago
[0.4] (): dotnet --version
[0.5] =================================================================
[0.5] ============== Opening Synthesis v0.28.0+9cf67392d ==============
[0.5] =================================================================
[0.5] 5/15/2024 6:25:37 AM
[0.5] Start Path: G:\Modding\Modding Programs\Synthesis\Synthesis.exe
[0.5] Args: 
[0.5] Mutagen version: 0.44+711e8dbedb6ccbca709b2b1fe6f6ea9750b150b9
[0.5] Mutagen sha: 
[0.5] Synthesis version: 0.28.0+9cf67392d
[0.5] Synthesis sha: 9cf67392d0501c025f0f38ec2c965f07b2725ef9
[0.5] Newtonsoft version: 13.0.3+0a2e291c0d9c0c7675d445703e51750363a549ef
[0.6] Error initializing app
System.AggregateException: One or more errors occurred. (programdata configuration file owner is not valid)
 ---> LibGit2Sharp.LibGit2SharpException: programdata configuration file owner is not valid
   at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
   at LibGit2Sharp.Core.Proxy.ConvertPath(Func`2 pathRetriever)
   at LibGit2Sharp.Core.Proxy.git_config_find_programdata()
   at LibGit2Sharp.Configuration..ctor(Repository repository, String repositoryConfigurationFileLocation, String globalConfigurationFileLocation, String xdgConfigurationFileLocation, String systemConfigurationFileLocation)
   at LibGit2Sharp.Repository.<>c__DisplayClass25_1.<.ctor>b__3()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.get_Value()
   at LibGit2Sharp.Repository.get_Config()
   at LibGit2Sharp.Core.PathCase..ctor(IRepository repo)
   at LibGit2Sharp.RepositoryExtensions.BuildRelativePathFrom(IRepository repo, String path)
   at LibGit2Sharp.Repository.ToFilePaths(IEnumerable`1 paths)
   at LibGit2Sharp.Diff.BuildDiffList(ObjectId oldTreeId, ObjectId newTreeId, TreeComparisonHandleRetriever comparisonHandleRetriever, DiffModifiers diffOptions, IEnumerable`1 paths, ExplicitPathsOptions explicitPathsOptions, CompareOptions compareOptions)
   at LibGit2Sharp.Diff.Compare[T](DiffModifiers diffOptions, IEnumerable`1 paths, ExplicitPathsOptions explicitPathsOptions, CompareOptions compareOptions)
   at LibGit2Sharp.Commands.Stage(IRepository repository, IEnumerable`1 paths, StageOptions stageOptions)
   at LibGit2Sharp.Commands.Stage(IRepository repository, String path)
   at Noggog.GitRepository.GitRepository.Stage(String path)
   at Synthesis.Bethesda.GUI.Settings.BackupSettings.StageIfExists(FilePath path, IGitRepository repo) in D:\a\Synthesis\Synthesis\Synthesis.Bethesda.GUI\Settings\BackupSettings.cs:line 61
   at Synthesis.Bethesda.GUI.Settings.BackupSettings.Start() in D:\a\Synthesis\Synthesis\Synthesis.Bethesda.GUI\Settings\BackupSettings.cs:line 35
   at Synthesis.Bethesda.GUI.Services.Startup.Startup.<>c__DisplayClass8_0.<Initialize>b__2() in D:\a\Synthesis\Synthesis\Synthesis.Bethesda.GUI\Services\Startup\Startup.cs:line 71
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Synthesis.Bethesda.GUI.Services.Startup.Startup.Initialize() in D:\a\Synthesis\Synthesis\Synthesis.Bethesda.GUI\Services\Startup\Startup.cs:line 71
[1.1] DotNet SDK: DotNetVersion { Version = 8.0.300, Acceptable = True }
[1.1] Querying for latest published library versions
[1.1] Creating Version Query Project
[1.1] Restoring Version Query Project
[1.1] (): dotnet restore "C:\Users\kenpe\AppData\Local\Temp\Synthesis\VersionQuery\VersionQuery.csproj"
[1.5] App was unable to start up.  Not saving settings