r0x0r / pywebview

Build GUI for your Python program with JavaScript, HTML, and CSS
https://pywebview.flowrl.com
BSD 3-Clause "New" or "Revised" License
4.78k stars 555 forks source link

Microsoft Edge WebView2 Runtime 130.0.2849.52 start eorr #1514

Open 534146825 opened 4 weeks ago

534146825 commented 4 weeks ago

Specification

Description

import webview

try: webview.create_window('Example', 'http://example.com') webview.start() except Exception as e: print(f"An error occurred: {e}")

eorr: [pywebview] WebView2 initialization failed with exception: (0x80080005): 服务器运行失败 (异常来自 HRESULT:0x80080005 (CO_E_SERVER_EXEC_FAILURE)) 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) 在 Microsoft.Web.WebView2.Core.CoreWebView2Environment.d8.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Microsoft.Web.WebView2.WinForms.WebView2.d26.MoveNext()

r0x0r commented 4 days ago

See https://github.com/MicrosoftEdge/WebView2Feedback/issues/4884