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

Error WebView2 initialization failed with exception after updating to 5.0.1 #1323

Closed
lixuelong135 opened this issue Mar 3, 2024 · 2 comments

Comments

@lixuelong135
Copy link
Contributor

Specification

  • pywebview version: 5.0.1
  • operating system: Windows
  • web renderer:edge HTML

Description

[pywebview] WebView2 initialization failed with exception:
'CoreWebView2Settings' object is not subscriptable
在 Python.Runtime.PythonException.ThrowLastAsClrException()
在 Python.Runtime.Dispatcher.TrueDispatch(Object[] args)
在 Python.Runtime.Dispatcher.Dispatch(Object[] args)
在 __System_EventHandler`1[[Microsoft_Web_WebView2_Core_CoreWebView2InitializationCompletedEventArgs, Microsoft_Web_WebView2_Core, Version=1_0_2045_28, Culture=neutral, PublicKeyToken=2a8ab48044d2601e]]Dispatcher.Invoke(Object , CoreWebView2InitializationCompletedEventArgs )
在 Microsoft.Web.WebView2.WinForms.WebView2.d__26.MoveNext()

Practicalities

  • YES/NO I am willing to work on this issue myself.

  • YES/NO I am prepared to support this issue financially.

@r0x0r
Copy link
Owner

r0x0r commented Mar 3, 2024

Fixed in master. A new release will follow soonish.

@r0x0r
Copy link
Owner

r0x0r commented Mar 3, 2024

Released

@r0x0r r0x0r closed this as completed Mar 3, 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

2 participants