question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The system cannot find the file specified - Microsoft Edge WebView2 Runtime Registry path: Computer\HKEY_CURRENT_USER\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}

See original GitHub issue

Specification

  • pywebview version: 3.6.3
  • operating system: Windows 10
  • web renderer: edgechromium

Description

Get a blank screen without rendering anything. Code:

import webview

window = webview.create_window('Woah dude!', 'https://www.google.com')
webview.start(gui='edgechromium', debug=True)

Console:

[pywebview] [WinError 2] The system cannot find the file specified - Microsoft Edge WebView2 Runtime Registry path: Computer\HKEY_CURRENT_USER\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}        
[pywebview] Using WinForms / Chromium

I went to Windows Registry Editor, and this given path in the console is wrong. It should be Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\EdgeUpdate\Clients{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}

Any solutions?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
Endor-8commented, Apr 7, 2022

Yes, @kevinbevers, the message is still present in the log because pywebview first checks for the version in HKCU, which fails, and then in HKLM, which now succeeds (for me) in 3.6.3. Maybe this log could be suppressed if the version check succeeds in the end.

Incidentally, @FiveNine, you’re right about the key in the log being wrong, but looking at webview.platforms.winforms.py you can see it’s only wrong in the log. The actual key checked includes SOFTWARE in the path.

0reactions
github-actions[bot]commented, May 13, 2022

The message to post on the issue when closing it. If none provided, will not comment when closing an issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The system cannot find the file specified - Microsoft Edge ...
Based on this log, it seems that EdgeChromium is loaded, but it shows an error for a previous failed load attempt. This error...
Read more >
Distribute your app and the WebView2 Runtime
A WebView2 app cannot take a dependency on the browser during production, for the following reasons: Microsoft Edge isn't guaranteed to be ...
Read more >
Microsoft Edge WebView2 Runtime Registry path: Computer ...
The system cannot find the file specified - Microsoft Edge WebView2 Runtime Registry path: Computer\HKEY_CURRENT_USER\Microsoft\EdgeUpdate\ ...
Read more >
Detecting if WebView2 Runtime is installed with Inno Setup
The two registry locations to inspect on 32-bit Windows: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF- ...
Read more >
Snagit 2022 v22.0.1 x64 MSI fails to install "Microsoft Edge ...
But I can't see any relevant fixes for v22.0.2, thus I haven't tested it: ... of Microsoft Edge WebView2 Runtime, downloaded from here:....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found