[GH-ISSUE #110] [BUG] OpenTrace does not run properly on Debian 13 #229

Open
opened 2026-03-14 20:37:19 +03:00 by kerem · 0 comments
Owner

Originally created by @surf5726 on GitHub (Mar 14, 2026).
Original GitHub issue: https://github.com/Archeb/opentrace/issues/110

Describe the bug 描述你遇到的BUG
(如果您遇到了 websocket: bad handshake,请参考这里

z@debian:~/Desktop/OpenTrace$ ./OpenTrace

Unhandled exception. System.TypeInitializationException: The type initializer for 'Eto.GtkSharp.Forms.Controls.WebViewHandler' threw an exception.

---> System.DllNotFoundException: Unable to load shared library 'libwebkit2gtk-4.0.so.37' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
/home/z/Desktop/OpenTrace/libwebkit2gtk-4.0.so.37: Unable to open shared target file: No such file or directory
/home/z/Desktop/OpenTrace/liblibwebkit2gtk-4.0.so.37: Unable to open shared target file: No such file or directory
/home/z/Desktop/OpenTrace/libwebkit2gtk-4.0.so.37.so: Cannot open shared target file: No such file or directory
/home/z/Desktop/OpenTrace/liblibwebkit2gtk-4.0.so.37.so: Cannot open shared target file: No such file or directory
at Eto.GtkSharp.NativeMethods.NMLinux.webkit_javascript_result_get_type()
at Eto.GtkSharp.NativeMethods.webkit_javascript_result_get_type()
at Eto.GtkSharp.Forms.Controls.WebKitJavascriptResult.get_GType()
at Eto.GtkSharp.Forms.Controls.WebViewHandler..cctor()
--- End of inner exception stack trace ---

at Eto.GtkSharp.Forms.Controls.WebViewHandler..ctor() 
at Eto.GtkSharp.Platform.<>c.<AddTo>b__12_61() 
at Eto.Widget..ctor() 
at Eto.Forms.BindableWidget..ctor() 
at Eto.Forms.Control..ctor() 
at Eto.Forms.WebView..ctor() 
at OpenTrace.UI.MainForm.CreateMapWebView() 
at OpenTrace.UI.MainForm.CreateControls() 
at OpenTrace.UI.MainForm.BuildUI(Boolean IsInitialize) 
at OpenTrace.UI.MainForm.InitializeComponent() 
at OpenTrace.UI.MainForm..ctor() 
at OpenTrace.Program.Main(String[] args)
Aborted (core dumped)

To Reproduce 复现方法

Screenshots (If applicable) 截图(如果有)

Environment 使用环境

  • OS 操作系统:Debian 13 amd64
  • Version 程序版本:1.5.1

Additional context 补充说明
I can no longer install libwebkit2gtk-4.0.so.37 on Debian 13 because this package no longer exists.

Originally created by @surf5726 on GitHub (Mar 14, 2026). Original GitHub issue: https://github.com/Archeb/opentrace/issues/110 **Describe the bug 描述你遇到的BUG** (如果您遇到了 websocket: bad handshake,请[参考这里](https://www.github.com/Archeb/opentrace/issues/44)) ``` z@debian:~/Desktop/OpenTrace$ ./OpenTrace Unhandled exception. System.TypeInitializationException: The type initializer for 'Eto.GtkSharp.Forms.Controls.WebViewHandler' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'libwebkit2gtk-4.0.so.37' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: /home/z/Desktop/OpenTrace/libwebkit2gtk-4.0.so.37: Unable to open shared target file: No such file or directory /home/z/Desktop/OpenTrace/liblibwebkit2gtk-4.0.so.37: Unable to open shared target file: No such file or directory /home/z/Desktop/OpenTrace/libwebkit2gtk-4.0.so.37.so: Cannot open shared target file: No such file or directory /home/z/Desktop/OpenTrace/liblibwebkit2gtk-4.0.so.37.so: Cannot open shared target file: No such file or directory at Eto.GtkSharp.NativeMethods.NMLinux.webkit_javascript_result_get_type() at Eto.GtkSharp.NativeMethods.webkit_javascript_result_get_type() at Eto.GtkSharp.Forms.Controls.WebKitJavascriptResult.get_GType() at Eto.GtkSharp.Forms.Controls.WebViewHandler..cctor() --- End of inner exception stack trace --- at Eto.GtkSharp.Forms.Controls.WebViewHandler..ctor() at Eto.GtkSharp.Platform.<>c.<AddTo>b__12_61() at Eto.Widget..ctor() at Eto.Forms.BindableWidget..ctor() at Eto.Forms.Control..ctor() at Eto.Forms.WebView..ctor() at OpenTrace.UI.MainForm.CreateMapWebView() at OpenTrace.UI.MainForm.CreateControls() at OpenTrace.UI.MainForm.BuildUI(Boolean IsInitialize) at OpenTrace.UI.MainForm.InitializeComponent() at OpenTrace.UI.MainForm..ctor() at OpenTrace.Program.Main(String[] args) Aborted (core dumped) ``` **To Reproduce 复现方法** **Screenshots (If applicable) 截图(如果有)** **Environment 使用环境** - OS 操作系统:Debian 13 amd64 - Version 程序版本:1.5.1 **Additional context 补充说明** I can no longer install libwebkit2gtk-4.0.so.37 on Debian 13 because this package no longer exists.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentrace#229
No description provided.