Techsola/tfvc-migrator

NotSupportedException: Specified method is not supported.

Closed this issue · 0 comments

Connecting...
Downloading changeset and label metadata...
Downloading changesets and converting to commits...
CS322971 (19,6 %, 2 154 ms/changeset, ETA 3,4 hours)...Unhandled exception: System.NotSupportedException: Specified method is not supported.
   at TfvcMigrator.EnumerableExtensions.SelectAwait[TSource,TResult](IEnumerable`1 source, Func`2 selector)+System.IAsyncDisposable.DisposeAsync()
   at TfvcMigrator.EnumerableExtensions.LookaheadEnumerator`1.DisposeAsync() in C:\SandvikGit\Gus.GitHubMigration\tfvc-migrator\src\TfvcMigrator\EnumerableExtensions.WithLookahead.cs:line 86
   at TfvcMigrator.Program.EnumerateMappingStatesAsync(TfvcHttpClient client, ImmutableArray`1 rootPathChanges, IReadOnlyList`1 changesets, BranchIdentity initialBranch)+MoveNext() in C:\SandvikGit\Gus.GitHubMigration\tfvc-migrator\src\TfvcMigrator\Program.cs:line 472
   at TfvcMigrator.Program.EnumerateMappingStatesAsync(TfvcHttpClient client, ImmutableArray`1 rootPathChanges, IReadOnlyList`1 changesets, BranchIdentity initialBranch)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   at TfvcMigrator.EnumerableExtensions.SelectAwait[TSource,TResult](IAsyncEnumerable`1 source, Func`2 selector)+MoveNext() in C:\SandvikGit\Gus.GitHubMigration\tfvc-migrator\src\TfvcMigrator\EnumerableExtensions.cs:line 15
   at TfvcMigrator.EnumerableExtensions.SelectAwait[TSource,TResult](IAsyncEnumerable`1 source, Func`2 selector)+MoveNext() in C:\SandvikGit\Gus.GitHubMigration\tfvc-migrator\src\TfvcMigrator\EnumerableExtensions.cs:line 15
   at TfvcMigrator.EnumerableExtensions.SelectAwait[TSource,TResult](IAsyncEnumerable`1 source, Func`2 selector)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   at TfvcMigrator.Program.MigrateAsync(Uri projectCollectionUrl, String rootPath, String authors, String outDir, Nullable`1 minChangeset, Nullable`1 maxChangeset, ImmutableArray`1 rootPathChanges, String pat) in C:\SandvikGit\Gus.GitHubMigration\tfvc-migrator\src\TfvcMigrator\Program.cs:line 155
   at TfvcMigrator.Program.MigrateAsync(Uri projectCollectionUrl, String rootPath, String authors, String outDir, Nullable`1 minChangeset, Nullable`1 maxChangeset, ImmutableArray`1 rootPathChanges, String pat) in C:\SandvikGit\Gus.GitHubMigration\tfvc-migrator\src\TfvcMigrator\Program.cs:line 342
   at System.CommandLine.NamingConventionBinder.CommandHandler.GetExitCodeAsync(Object returnValue, InvocationContext context)
   at System.CommandLine.NamingConventionBinder.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()

This looks like it is from the framework, logging it any way.
Been manually filtering out commits trying to work around #28, not sure it has anything to do with this.
Trying running without RootCommand next.