microsoft / devhome

The new Dev Home experience for Windows!
https://aka.ms/devhomedocs
MIT License
3.59k stars 316 forks source link

Dev Home crashes when trying to link GitHub account #3883

Open cal-dobrzynski opened 2 weeks ago

cal-dobrzynski commented 2 weeks ago

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

When user goes into 'machine configuration' flow, selects 'clone repositories', selects 'add repository', selects 'account', selects ' Dev Home GitHub Extension' and clicks on 'Connect', Dev Home application crashes

Expected result

No response

Actual result

Dev Home crashes

Included System Information

No response

Included Extensions Information

No response

krschau commented 1 week ago

@cal-dobrzynski Can you include what version of Dev Home and the Dev Home GitHub Extension you have installed?

vineeththomasalex commented 1 week ago

/logs

krschau commented 1 week ago

I am unable to repro this with Dev Home 0.1801.624.0 and GitHub Extension 0.1800.621.0.

cal-dobrzynski commented 1 week ago

Hi Kristen,

Apologies for the late reply:

Dev Home Version: 0.1801.625.0 Dev Home GitHub Extension Version: 0.1801.625.0

OneDrive Link with Dev Home logs (no private repos): [https://res.public.onecdn.static.microsoft/assets/mail/file-icon/png/folder_16x16.png] Dev Home Foldershttps://microsoft-my.sharepoint.com/:f:/p/cdobrzynski/EhAVcPak_bVKmS_9kTqLvCEBe0yERErBtkKUOFHFg9drEg?e=yurznP

* Cal


vineeththomasalex commented 1 week ago

devhome20240918_001.zip Looks like something is up with the extensions.

Message: Could not get repository provider from extension. Exception: System.AggregateException: One or more errors occurred. (Access is denied.) ---> System.UnauthorizedAccessException: Access is denied. at DevHome.Models.ExtensionWrapper.b__34_0() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)--- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)--- End of stack trace from previous location --- at DevHome.Models.ExtensionWrapper.StartExtensionAsync() at DevHome.Models.ExtensionWrapper.GetProviderAsync[T]() --- End of inner exception stack trace --- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at DevHome.SetupFlow.Models.RepositoryProvider.StartIfNotRunning()