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

Compilation [ERROR] "Key already added" causing UI issues #2503

Closed
EzioTheDeadPoet opened this issue Feb 5, 2024 · 1 comment
Closed

Compilation [ERROR] "Key already added" causing UI issues #2503

EzioTheDeadPoet opened this issue Feb 5, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@EzioTheDeadPoet
Copy link
Contributor

Describe the bug

Compilation screen gets set to failed state while WJ continues on with the compile due to an "harmless/expected" error that isn't caught properly. This error might also be the reason why WJ doesn't properly delete temporary data during compilation resulting in the high storage requirement.

Wabbajack Version

3.5.0.1

Logs

Wabbajack.current.log

00:01:42.700 [ERROR] (Wabbajack.VFS.Context) Error while examining the contents of Bighorner - Textures.BA2|System.ArgumentException: An item with the same key has already been added. Key: 
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Wabbajack.FileExtractor.FileExtractor.GatheringExtractWithBSA[T](IStreamFactory sFn, FileType sig, Predicate`1 shouldExtract, Func`3 mapFn, CancellationToken token) in C:\oss\wabbajack\Wabbajack.FileExtractor\FileExtractor.cs:line 254
   at Wabbajack.FileExtractor.FileExtractor.GatheringExtract[T](IStreamFactory sFn, Predicate`1 shouldExtract, Func`3 mapfn, CancellationToken token, HashSet`1 onlyFiles, Action`1 progressFunction) in C:\oss\wabbajack\Wabbajack.FileExtractor\FileExtractor.cs:line 117
   at Wabbajack.FileExtractor.FileExtractor.GatheringExtract[T](IStreamFactory sFn, Predicate`1 shouldExtract, Func`3 mapfn, CancellationToken token, HashSet`1 onlyFiles, Action`1 progressFunction) in C:\oss\wabbajack\Wabbajack.FileExtractor\FileExtractor.cs:line 133
   at Wabbajack.VFS.VirtualFile.Analyze(Context context, VirtualFile parent, IStreamFactory extractedFile, IPath relPath, CancellationToken token, Int32 depth, IJob job) in C:\oss\wabbajack\Wabbajack.VFS\VirtualFile.cs:line 233
@EzioTheDeadPoet EzioTheDeadPoet self-assigned this Feb 5, 2024
@EzioTheDeadPoet EzioTheDeadPoet added the bug Something isn't working label Feb 5, 2024
@Hotiraripha
Copy link

Wabbajack.current.log

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