Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotSupportedException: Specified method is not supported. #30

Closed
JohanLarsson opened this issue May 31, 2024 · 0 comments
Closed

NotSupportedException: Specified method is not supported. #30

JohanLarsson opened this issue May 31, 2024 · 0 comments

Comments

@JohanLarsson
Copy link
Contributor

JohanLarsson commented May 31, 2024

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.

@JohanLarsson JohanLarsson closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant