- Messages
- 1,637
- Country

Hey Arno,
After editing my spc file to the new 2.0 specs my process crashed at first attempt. The entire script after re-worked is not showing a single "ERROR" message. It crashed at the first attempt to:
CreateAGNLibObj Information Creating autogen library objects with filter FROMFILE="SOCAL_CU63_barn.shp" AND id="0"...
Crash error message:
12:21 PM SceneryProcessor Error One or more errors occurred.
12:21 PM SceneryProcessor Error at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
at ASToFra.scenProc.CreateAGNLibObj.Process(List`1 cells, String[] arguments)
at ASToFra.scenProc.SceneryProcessor.Process()
at ASToFra.scenProc.SceneryProcessor.ProcessFile(String filename, Boolean errorReporting)
12:21 PM SceneryProcessor Error CompareElement: Operation 'Equal' is not defined for types 'Int32' and 'String'
12:21 PM SceneryProcessor Error at Ciloci.Flee.ExpressionElement.ThrowCompileException(String messageKey, CompileExceptionReason reason, Object[] arguments)
at Ciloci.Flee.BinaryExpressionElement.CreateElement(IList childValues, Type elementType)
at Ciloci.Flee.FleeExpressionAnalyzer.ExitCompareExpression(Production node)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.Parser.ExitNode(Node node)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseStart()
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.Parser.Parse()
at Ciloci.Flee.ExpressionContext.DoParse()
at Ciloci.Flee.ExpressionContext.Parse(String expression, IServiceProvider services)
at Ciloci.Flee.Expression`1.Compile(String expression, ExpressionOptions options)
at Ciloci.Flee.Expression`1..ctor(String expression, ExpressionContext context, Boolean isGeneric)
at ASToFra.scenProc.FilterEvaluator..ctor(String filter, FilterObjectType type)
at ASToFra.scenProc.GridCell.FilteredFeatures(String filter)
at ASToFra.scenProc.CreateAGNLibObj.<>c__DisplayClass1.<Process>b__0(GridCell cell)
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0)
After editing my spc file to the new 2.0 specs my process crashed at first attempt. The entire script after re-worked is not showing a single "ERROR" message. It crashed at the first attempt to:
CreateAGNLibObj Information Creating autogen library objects with filter FROMFILE="SOCAL_CU63_barn.shp" AND id="0"...
Crash error message:
12:21 PM SceneryProcessor Error One or more errors occurred.
12:21 PM SceneryProcessor Error at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
at ASToFra.scenProc.CreateAGNLibObj.Process(List`1 cells, String[] arguments)
at ASToFra.scenProc.SceneryProcessor.Process()
at ASToFra.scenProc.SceneryProcessor.ProcessFile(String filename, Boolean errorReporting)
12:21 PM SceneryProcessor Error CompareElement: Operation 'Equal' is not defined for types 'Int32' and 'String'
12:21 PM SceneryProcessor Error at Ciloci.Flee.ExpressionElement.ThrowCompileException(String messageKey, CompileExceptionReason reason, Object[] arguments)
at Ciloci.Flee.BinaryExpressionElement.CreateElement(IList childValues, Type elementType)
at Ciloci.Flee.FleeExpressionAnalyzer.ExitCompareExpression(Production node)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.Parser.ExitNode(Node node)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseElement(Production node, ProductionPatternElement elem)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseAlternative(ProductionPatternAlternative alt)
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.RecursiveDescentParser.ParseStart()
at Ciloci.Flee.PerCederberg.Grammatica.Runtime.Parser.Parse()
at Ciloci.Flee.ExpressionContext.DoParse()
at Ciloci.Flee.ExpressionContext.Parse(String expression, IServiceProvider services)
at Ciloci.Flee.Expression`1.Compile(String expression, ExpressionOptions options)
at Ciloci.Flee.Expression`1..ctor(String expression, ExpressionContext context, Boolean isGeneric)
at ASToFra.scenProc.FilterEvaluator..ctor(String filter, FilterObjectType type)
at ASToFra.scenProc.GridCell.FilteredFeatures(String filter)
at ASToFra.scenProc.CreateAGNLibObj.<>c__DisplayClass1.<Process>b__0(GridCell cell)
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0)



