I'm trying to run repetier Host AppImage on NixOS but it does not work. The error message says libgdiplus is missing so I tried installing it but it's already present on my system. (Found 2 thread with the same issue but it it did not help : this and this
Here is the log error I get:
henmir@nixos ~ [1]> appimage-run etc/nixos/appimages/Repetier-Host-x86_64-2.3.2.AppImage
Repetier-Host-x86_64-2.3.2.AppImage installed in /home/henmir/.cache/appimage-run/82f0b8df68a8500da56db24abfa0891c3d4e28c659b2a03b7548955f8ca06af7
LD_LIBRARY_PATH = /home/henmir/.cache/appimage-run/82f0b8df68a8500da56db24abfa0891c3d4e28c659b2a03b7548955f8ca06af7/usr/lib:
MONO_PATH = /home/henmir/.cache/appimage-run/82f0b8df68a8500da56db24abfa0891c3d4e28c659b2a03b7548955f8ca06af7/usr/lib
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.ThemeEngine' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000b0] in <855fb33ee0ce444c9734eb0dae83c706>:0
--- End of inner exception stack trace ---
at System.Drawing.StringFormat..ctor (System.Drawing.StringFormatFlags options, System.Int32 language) [0x00011] in <855fb33ee0ce444c9734eb0dae83c706>:0
at System.Drawing.StringFormat..ctor () [0x00000] in <855fb33ee0ce444c9734eb0dae83c706>:0
at (wrapper remoting-invoke-with-check) System.Drawing.StringFormat..ctor()
at System.Windows.Forms.ThemeWin32Classic.ResetDefaults () [0x0001f] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.ThemeWin32Classic..ctor () [0x00006] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.ThemeEngine..cctor () [0x00012] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.Control..ctor () [0x000d6] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control..ctor()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Control..ctor () [0x0000d] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.Form..ctor () [0x00012] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at RepetierHost.view.utils.SplashScreen..ctor () [0x00000] in <9a5f3ad3b87c46f4bf88150a6cb4c659>:0
at (wrapper remoting-invoke-with-check) RepetierHost.view.utils.SplashScreen..ctor()
at RepetierHost.view.utils.SplashScreen.run () [0x00049] in <9a5f3ad3b87c46f4bf88150a6cb4c659>:0
at RepetierHost.Program.Main (System.String[] args) [0x0000b] in <9a5f3ad3b87c46f4bf88150a6cb4c659>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.ThemeEngine' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000b0] in <855fb33ee0ce444c9734eb0dae83c706>:0
--- End of inner exception stack trace ---
at System.Drawing.StringFormat..ctor (System.Drawing.StringFormatFlags options, System.Int32 language) [0x00011] in <855fb33ee0ce444c9734eb0dae83c706>:0
at System.Drawing.StringFormat..ctor () [0x00000] in <855fb33ee0ce444c9734eb0dae83c706>:0
at (wrapper remoting-invoke-with-check) System.Drawing.StringFormat..ctor()
at System.Windows.Forms.ThemeWin32Classic.ResetDefaults () [0x0001f] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.ThemeWin32Classic..ctor () [0x00006] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.ThemeEngine..cctor () [0x00012] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.Control..ctor () [0x000d6] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control..ctor()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Control..ctor () [0x0000d] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at System.Windows.Forms.Form..ctor () [0x00012] in <25c2bdf9d79a43a599eb46bd15cd77fb>:0
at RepetierHost.view.utils.SplashScreen..ctor () [0x00000] in <9a5f3ad3b87c46f4bf88150a6cb4c659>:0
at (wrapper remoting-invoke-with-check) RepetierHost.view.utils.SplashScreen..ctor()
at RepetierHost.view.utils.SplashScreen.run () [0x00049] in <9a5f3ad3b87c46f4bf88150a6cb4c659>:0
at RepetierHost.Program.Main (System.String[] args) [0x0000b] in <9a5f3ad3b87c46f4bf88150a6cb4c659>:0