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

"We're having trouble displaying widgets. Restarting Dev Home may help." error when launching Dev Home on Windows 10 #2945

Open
adrastogi opened this issue May 16, 2024 · 2 comments
Labels
Area-Dashboard Related to the Dashboard feature Issue-Bug Something isn't working or needs investigation Priority-2

Comments

@adrastogi
Copy link
Contributor

Dev Home version

0.1401.501.0

Windows build number

10.0.19045.4412

Other software

OS Build Version: 10.0.19045.4412.amd64fre.vb_release.191206-1406
.NET Version: .NET 8.0.4

Steps to reproduce the bug

On the latest Dev Home build, launch Dev Home and observe the dashboard

Expected result

I'd expect to see some system widgets pinned there along with any other widgets I had previously pinned.

Actual result

Dev Home isn't showing any widgets and displays an error message that reads, "We're having trouble displaying widgets. Restarting Dev Home may help.". The error is persistent, though.

Included System Information

CPU: Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
Physical Memory: 15.93GB (10.79GB free)
Processor Architecture: x64

Included Extensions Information

Extensions:
Microsoft.Windows.DevHomeGitHubExtension.Canary_0.1400.500.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Canary))
Microsoft.Windows.DevHomeAzureExtension.Canary_0.900.501.0_x64__8wekyb3d8bbwe (Dev Home Azure Extension (Canary))
Microsoft.Windows.DevHome.Canary_0.1401.501.0_x64__8wekyb3d8bbwe (Core Widget Extension)
Microsoft.Windows.DevHome.Canary_0.1401.501.0_x64__8wekyb3d8bbwe (Hyper-V Extension)

Widget Service:
Microsoft.WidgetsPlatformRuntime_1.2.0.0_x64__8wekyb3d8bbwe

@adrastogi adrastogi added the Issue-Bug Something isn't working or needs investigation label May 16, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage New issue that the core contributors need to triage label May 16, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@adrastogi
Copy link
Contributor Author

The logs have this interesting snippet.

[2024/05/16 11:23:51.447 ERR] (WidgetHostingService) Exception in GetWidgetDefinitionAsync:
System.UnauthorizedAccessException: Access is denied.

Access is denied.

   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.Microsoft.Windows.Widgets.Hosts.IWidgetCatalogStaticsMethods.GetDefault(IObjectReference _obj)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   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.Dashboard.Services.WidgetHostingService.GetWidgetCatalogAsync()
[2024/05/16 11:23:51.545 ERR] (WidgetHostingService) Exception in GetWidgetDefinitionAsync:
System.UnauthorizedAccessException: Access is denied.

@krschau krschau added Area-Dashboard Related to the Dashboard feature Priority-2 and removed Needs-Triage New issue that the core contributors need to triage labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Dashboard Related to the Dashboard feature Issue-Bug Something isn't working or needs investigation Priority-2
Projects
None yet
Development

No branches or pull requests

2 participants