headswe / Swifty-Issue-Tracker

Swifty Issue Tracker
21 stars 4 forks source link

Error: One or more errors occured #141

Closed CToaster closed 8 years ago

CToaster commented 8 years ago

When downloading a repo update, whilst Swifty was working with the PBOs it threw and error and now keeps giving Error: One or more errors occurred, when I try and run a repo update.

headswe commented 8 years ago

Please provide logs. %appdata%/swifty/swifty.log

ToasterBR commented 8 years ago

Also, don´t update the repos with Arma 3 running...

LeanderCouplez commented 8 years ago

I'm getting the same error, and can't seem to understand what the logs are on about.

2016-05-26 19:35:30,653 [7] INFO SwiftUpdater.Controls.NewRepoBox - One or more errors occurred. System.AggregateException: One or more errors occurred. ---> System.Exception: size is wrong at SwiftAddon.PboData..ctor(FileInfo info, DirectoryInfo source, String addonName) in c:\Users\Sebastian\Documents\Visual Studio 2012\Projects\SwiftAddon\SwiftAddon\PboData.cs:line 31 at SwiftAddon.Addon.GetData(FileInfo info, DirectoryInfo source, String addonName) in c:\Users\Sebastian\Documents\Visual Studio 2012\Projects\SwiftAddon\SwiftAddon\Addon.cs:line 73 at SwiftAddon.Addon..ctor(String path) in c:\Users\Sebastian\Documents\Visual Studio 2012\Projects\SwiftAddon\SwiftAddon\Addon.cs:line 55 at SwiftUpdater.AddonNet.<>cDisplayClass7.b5(Addon serverAddon) in h:\Development\C#\Arma\AddonLoader\SwiftUpdater\SwiftUpdater\AddonNet.cs:line 282 at System.Threading.Tasks.Parallel.<>cDisplayClass17_0`1.b1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>cDisplayClass176_0.b0(Object ) --- 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.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable1 source, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action1 body) at SwiftUpdater.AddonNet.ProcessChanges(RepoData data) in h:\Development\C#\Arma\AddonLoader\SwiftUpdater\SwiftUpdater\AddonNet.cs:line 289 at SwiftUpdater.AddonNet.GetChangesHttp() in h:\Development\C#\Arma\AddonLoader\SwiftUpdater\SwiftUpdater\AddonNet.cs:line 198 at SwiftUpdater.Controls.NewRepoBox.GetChanges_DoWork(Object sender, DoWorkEventArgs e) in h:\Development\C#\Arma\AddonLoader\SwiftUpdater\SwiftUpdater\Controls\NewRepoBox.cs:line 169 ---> (Inner Exception #0) System.Exception: size is wrong at SwiftAddon.PboData..ctor(FileInfo info, DirectoryInfo source, String addonName) in c:\Users\Sebastian\Documents\Visual Studio 2012\Projects\SwiftAddon\SwiftAddon\PboData.cs:line 31 at SwiftAddon.Addon.GetData(FileInfo info, DirectoryInfo source, String addonName) in c:\Users\Sebastian\Documents\Visual Studio 2012\Projects\SwiftAddon\SwiftAddon\Addon.cs:line 73 at SwiftAddon.Addon..ctor(String path) in c:\Users\Sebastian\Documents\Visual Studio 2012\Projects\SwiftAddon\SwiftAddon\Addon.cs:line 55 at SwiftUpdater.AddonNet.<>c__DisplayClass7.<ProcessChanges>b__5(Addon serverAddon) in h:\Development\C#\Arma\AddonLoader\SwiftUpdater\SwiftUpdater\AddonNet.cs:line 282 at System.Threading.Tasks.Parallel.<>c__DisplayClass17_01.b1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>cDisplayClass176_0.b__0(Object )<---

headswe commented 8 years ago

Likely caused by some sort of fudged pbo.

Could both of you post your mod lists?

headswe commented 8 years ago

Size is wrong can be caused by certain mission pbos.

LeanderCouplez commented 8 years ago

Apparently it was a problem on our end. Sorry for wasting your time.