triwinds / ns-emu-tools

一个用于安装/更新 NS 模拟器的工具
GNU Affero General Public License v3.0
4.22k stars 150 forks source link

無法啟動?啟動後白畫面... #47

Closed ainods closed 1 year ago

ainods commented 1 year ago

2023-05-08 12:49:56.369|INFO|config|config.py:35|log_versions|system version: Windows-10-10.0.19045-SP0 2023-05-08 12:49:56.370|INFO|config|config.py:36|log_versions|current version: 0.3.9 2023-05-08 12:49:56.373|INFO|main|main.py:65|main|args: Namespace(mode=None, switch_mode=None, no_sentry=False) 2023-05-08 12:49:56.432|INFO|main|main.py:81|main|ui mode: auto 2023-05-08 12:49:56.481|INFO|utils.webview2|webview2.py:74|ensure_runtime_components|dot net version: 528372 2023-05-08 12:49:56.481|INFO|utils.webview2|webview2.py:63|is_chromium|webview2 version: 112.0.1722.68, description: Microsoft Edge WebView2 Runtime 2023-05-08 12:49:56.587|DEBUG|httpx|_config.py:79|load_ssl_context|load_ssl_context verify=True cert=None trust_env=True http2=False 2023-05-08 12:49:56.589|DEBUG|httpx|_config.py:146|load_ssl_context_verify|load_verify_locations cafile='C:\Users\Admin\AppData\Local\Temp\_MEI162842\certifi\cacert.pem' 2023-05-08 12:49:56.598|DEBUG|requests_cache.backends|init.py:63|init_backend|Initializing backend: memory http_cache 2023-05-08 12:49:56.617|INFO|ui_webview|ui_webview.py:31|main|eel init starting... 2023-05-08 12:49:57.364|INFO|ui_webview|ui_webview.py:33|main|eel init finished. 2023-05-08 12:49:59.392|INFO|ui_webview|ui_webview.py:40|main|start webview with url: http://localhost:28349/index.html [pywebview] WebView2 initialization failed with exception: 系統找不到指定的檔案。 (發生例外狀況於 HRESULT: 0x80070002) 於 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.d25.MoveNext() 2023-05-08 12:49:59.747|ERROR|pywebview|edgechromium.py:178|on_webview_ready|WebView2 initialization failed with exception: 系統找不到指定的檔案。 (發生例外狀況於 HRESULT: 0x80070002) 於 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.d25.MoveNext() 2023-05-08 12:49:59.800|DEBUG|utils.doh|doh.py:120|_query_address|doh answer of [o527477.ingest.sentry.io in A]: [<DNS o527477.ingest.sentry.io. IN A RRset: [<34.120.195.249>]>]

triwinds commented 1 year ago

试试 0.3.8 版本?不知道是不是因为 pywebview 版本更新出的问题

或者也可以试试重新安装一下 webview2 组件:https://developer.microsoft.com/en-us/microsoft-edge/webview2/

triwinds commented 1 year ago

Fixed in 0.4.0