Error while testing a filter in Stats editor



  • Hi! While I try to evaluate a filter in stats editor by using the button "Test" I get the following error, and after that H2note crashes.
    This filter worked fine with my PS database, but recently I created a new database for GG, imported the hands converted by your converter and tried to run the my filters, but unfortunately this the error that I always get.

    System.AggregateException: One or more errors occurred. ---> System.ArgumentException: An item with the same key has already been added.
    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
    at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at Hand2NoteCore.ActionSubsBuilder.BuildSubs(List1 streetDatas)
    at Hand2NoteCore.Analyzing.HandAnalyzer..ctor(K hand, IActionHitsStatRanges iActionHitsStatRanges)
    at Hand2NoteCore.FilterCheckHelper.CheckFilter(FilterCheckProxy filter, K hand, IActionHitsStatRanges iActionHitsStatRanges)
    at Hand2NoteCore.FilterCheckHelper.A.A(K )
    at System.Linq.Parallel.ForAllOperator1.ForAllEnumerator1.MoveNext(TInput& currentElement, Int32& currentKey)
    at System.Linq.Parallel.ForAllSpoolingTask2.SpoolingWork() at System.Linq.Parallel.SpoolingTaskBase.Work() at System.Linq.Parallel.QueryTask.BaseWork(Object unused) at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose) at System.Linq.Parallel.DefaultMergeHelper2.System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute()
    at System.Linq.Parallel.MergeExecutor1.Execute[TKey](PartitionedStream2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
    at System.Linq.Parallel.PartitionedStreamMerger1.Receive[TKey](PartitionedStream2 partitionedStream)
    at System.Linq.Parallel.ForAllOperator1.WrapPartitionedStream[TKey](PartitionedStream2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings) at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream) at System.Linq.Parallel.ScanQueryOperator1.ScanEnumerableQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient) at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient) at System.Linq.Parallel.QueryOperator1.GetOpenedEnumerator(Nullable1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings) at System.Linq.Parallel.ForAllOperator1.RunSynchronously()
    at Hand2NoteCore.FilterCheckHelper.CheckHands(FilterCheckProxy filter, IEnumerable1 hands, IFilterCheckObserver observer, CancellationToken cancellationToken, IRegHelper iRegHelper, IActionHitsStatRanges iActionHitsStatRanges) at Hand2NoteCore.FilterEditor.TestFilterViewModel.B() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Hand2NoteCore.FilterEditor.TestFilterViewModel.A.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ---> (Inner Exception #0) System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add)
    at Hand2NoteCore.ActionSubsBuilder.BuildSubs(List1 streetDatas) at Hand2NoteCore.Analyzing.HandAnalyzer..ctor(K hand, IActionHitsStatRanges iActionHitsStatRanges) at Hand2NoteCore.FilterCheckHelper.CheckFilter(FilterCheckProxy filter, K hand, IActionHitsStatRanges iActionHitsStatRanges) at Hand2NoteCore.FilterCheckHelper.A.A(K ) at System.Linq.Parallel.ForAllOperator1.ForAllEnumerator1.MoveNext(TInput& currentElement, Int32& currentKey) at System.Linq.Parallel.ForAllSpoolingTask2.SpoolingWork()
    at System.Linq.Parallel.SpoolingTaskBase.Work()
    at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
    at System.Threading.Tasks.Task.Execute()<---

    Inner exception
    System.ArgumentException: An item with the same key has already been added.
    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
    at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at Hand2NoteCore.ActionSubsBuilder.BuildSubs(List1 streetDatas)
    at Hand2NoteCore.Analyzing.HandAnalyzer..ctor(K hand, IActionHitsStatRanges iActionHitsStatRanges)
    at Hand2NoteCore.FilterCheckHelper.CheckFilter(FilterCheckProxy filter, K hand, IActionHitsStatRanges iActionHitsStatRanges)
    at Hand2NoteCore.FilterCheckHelper.A.A(K )
    at System.Linq.Parallel.ForAllOperator1.ForAllEnumerator1.MoveNext(TInput& currentElement, Int32& currentKey)
    at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
    at System.Linq.Parallel.SpoolingTaskBase.Work()
    at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
    at System.Threading.Tasks.Task.Execute()


  • Global Moderator

    Hand2Note doesn't support GG Network yet.
    Please contact the developer of your converter or try to rebuild your statistics:

    https://hand2note.com/Help/pages/RebuildingStats/



  • @keepcalm thanks for your reply. I am simply using this converter: https://hand2noteguide.com/ggpoker-hh/

    I also rebuild the stats many times but it does not help, the error persists.



  • Any idea on this?? At the moment I am stuck with this error


  • Global Moderator

    Please contact the developer of your converter



  • Dear @keepcalm the developer of the converter I use is H2Note! I am using YOUR official converter at this address: https://hand2noteguide.com/ggpoker-hh/

    Sorry, I need to correct myself, I think the developer of the converter is @NickJames


Log in to reply
 

Looks like your connection to Hand2Note was lost, please wait while we try to reconnect.