I just installed the latest version of Mono
and XQuartz
. I downloaded Keepass-2.29
portable edition. And when I try to run it, I get the following exceptions :
$ mono KeePass.exe System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /Library/Frameworks/Mono.framework/Versions/3.12.1/lib/libgdiplus.dylib at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x00000] in :0 --- End of inner exception stack trace --- at System.Drawing.KnownColors..cctor () [0x00000] in :0 --- End of inner exception stack trace --- at System.Drawing.Color.get_Black () [0x00000] in :0
at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in :0 --- End of inner exception stack trace ---
at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in :0 at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in :0 --- End of inner exception stack trace --- at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in :0 at System.Windows.Forms.Control..ctor () [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor () at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in :0 --- End of inner exception stack trace --- at System.Windows.Forms.Control..ctor () [0x00000] in :0 at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in :0 at System.Windows.Forms.ContainerControl..ctor () [0x00000] in :0 at System.Windows.Forms.Form..ctor () [0x00000] in :0
at KeePass.Forms.MainForm..ctor () [0x00000] in :0
at (wrapper remoting-invoke-with-check) KeePass.Forms.MainForm:.ctor () at KeePass.Program.Main (System.String[] args) [0x00000] in :0Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /Library/Frameworks/Mono.framework/Versions/3.12.1/lib/libgdiplus.dylib at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x00000] in :0 --- End of inner exception stack trace --- at System.Drawing.KnownColors..cctor () [0x00000] in :0
Need some more guidance here on what is this indicating and how to proceed to resolve this.