gordonwatts / LINQtoROOT

Convert a LINQ query into a ROOT TSelector, and run it
GNU Lesser General Public License v2.1
1 stars 0 forks source link

Missing scheme error should list everything it knows about #238

Closed gordonwatts closed 6 years ago

gordonwatts commented 6 years ago

So that this exception gives us a bit more of a clue.

LINQToTTreeLib.TTreeQueryExecutor.DataSchemeNotKnonwException occurred
  HResult=0x80131500
  Message=Uri with scheme 'tagcollection' can't be processed - don't know how to deal with the Uri scheme!
  Source=<Cannot evaluate the exception source>
  StackTrace:
   at LINQToTTreeLib.Utils.ExceptionUtils.ThrowIfNull[T,E](T obj, Func`1 generateException)
   at LINQToTTreeLib.TTreeQueryExecutor.GetDataHandler(Uri f)
   at LINQToTTreeLib.TTreeQueryExecutor.<.ctor>b__35_1(Uri f)
   at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
  at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
  at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at LINQToTTreeLib.TTreeQueryExecutor..ctor(Uri[] rootFiles, String treeName, Type baseNtupleObject, Type startingNtupeObjectType)
   at LINQToTTreeLib.QueriableTTree`1..ctor(Uri[] rootFiles, String treeName)
   at DiVertAnalysis.QueryablerecoTree.CreateQueriable(Uri[] rootURLs, String treeName) in C:\Users\gordonwatts\Documents\Code\calratio\JetCutStudies\libDataAccess\obj\x86\Debug\user.gwatts.8747115._000001.hist-outputDiVertAnalysis.dm.cs:line 1100
   at libDataAccess.Utils.BIBSamples.GetBIBSamples(Int32 requestedNumberOfEvents, DataEpoc epoc, Double pTCut, String[] avoidPlaces) in C:\Users\gordonwatts\Documents\Code\calratio\JetCutStudies\libDataAccess\Utils\BIBSamples.cs:line 30
   at JetMVAClassifierTraining.Program.Main(String[] args) in C:\Users\gordonwatts\Documents\Code\calratio\JetCutStudies\JetMVAClassifierTraining\Program.cs:line 104