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

使用PyWebview>=4.0初始化错误 #10

Open
BeetSoup128 opened this issue Aug 9, 2023 · 0 comments
Open

使用PyWebview>=4.0初始化错误 #10

BeetSoup128 opened this issue Aug 9, 2023 · 0 comments

Comments

@BeetSoup128
Copy link

在使用tkwebview2==3.5.0&PyWebview>=4.0时, 发生

[pywebview] WebView2 initialization failed with exception:
  (0x800700AA): 请求的资源在使用中。 (异常来自 HRESULT:0x800700AA)
   在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   在 Microsoft.Web.WebView2.Core.CoreWebView2Environment.<CreateCoreWebView2ControllerAsync>d__84.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Microsoft.Web.WebView2.WinForms.WebView2.<InitCoreWebView2Async>d__25.MoveNext()

降级到tkwebview2==3.4.0&PyWebview==3.7可正常运行.
此时Python==3.10.11, Edge==115.0.1901.200, 已使用管理员权限运行进程

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

1 participant