KeePass / Mono під Yosemite не працює


5

Я встановив KeePass, як описано тут, але KeePass не запускається - Монітор активності говорить мені, що Mono не відповідає. Я ніколи раніше не використовував KeePass (якщо це актуально).

Я використовую Yosemite

Я не впевнений, що це випуск Mono чи KeePass, але я також спробував Mono 3.10 версії, і те саме сталося.

Будь-який досвід роботи з KeePass / Mono під Yosemite або ідеї, як я можу усунути неполадки, що відбувається?

Я знаю про KeePassX - але, здається, існує консенсус, що KeePass - кращий варіант?

Редагувати:

Я просто запустив утримує з командного рядка і отримав наступний висновок (поняття не маю, що це означає ...):

 System.EntryPointNotFoundException: GdipCreateFromContext_macosx
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdipCreateFromContext_macosx (intptr,int,int,intptr&)
  at System.Drawing.Graphics.FromHwnd (IntPtr hwnd) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.CreateGraphics () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.CreateGraphicsInternal () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.TextBoxBase:CreateGraphicsInternal ()
  at System.Windows.Forms.Document.owner_HandleCreated (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.OnHandleCreated (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.OnHandleCreated (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.RichTextBox.OnHandleCreated (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.RichTextBox.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
System.EntryPointNotFoundException: GdipCreateFromContext_macosx
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdipCreateFromContext_macosx (intptr,int,int,intptr&)
  at System.Drawing.Graphics.FromHwnd (IntPtr hwnd) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.CreateGraphics () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.CreateGraphicsInternal () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.TextBoxBase:CreateGraphicsInternal ()
  at System.Windows.Forms.Document.owner_HandleCreated (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.OnHandleCreated (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.OnHandleCreated (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBox.OnHandleCreated (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBox.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
System.EntryPointNotFoundException: GdipCreateFromContext_macosx
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdipCreateFromContext_macosx (intptr,int,int,intptr&)
  at System.Drawing.Graphics.FromHwnd (IntPtr hwnd) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.CreateGraphics () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.CreateGraphicsInternal () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.TextBoxBase_FontOrColorChanged (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.OnFontChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBoxBase.OnFontChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.TextBox.OnFontChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.set_Font (System.Drawing.Font value) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ComboBox.OnFontChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.OnParentFontChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.OnFontChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStrip.OnFontChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.set_Font (System.Drawing.Font value) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ToolStrip.set_Font (System.Drawing.Font value) [0x00000] in <filename unknown>:0
  at KeePass.UI.GlobalWindowManager.CustomizeFont (System.Windows.Forms.Control c, System.Drawing.Font font) [0x00000] in <filename unknown>:0
  at KeePass.UI.GlobalWindowManager.CustomizeFont (System.Windows.Forms.Control c, System.Drawing.Font font) [0x00000] in <filename unknown>:0
  at KeePass.UI.GlobalWindowManager.CustomizeControl (System.Windows.Forms.Control c) [0x00000] in <filename unknown>:0
  at KeePass.Forms.MainForm.OnFormLoad (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00000] in <filename unknown>:0
System.NullReferenceException: Object reference not set to an instance of an object
  at KeePass.Forms.MainForm.CleanUpEx () [0x00000] in <filename unknown>:0
  at KeePass.Forms.MainForm.OnFormClosing (System.Object sender, System.Windows.Forms.FormClosingEventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form.FireClosingEvents (CloseReason reason, Boolean cancel) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:FireClosingEvents (System.Windows.Forms.CloseReason,bool)
  at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Application.Exit () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form.OnCreateControl () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.CreateControl () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at KeePass.Forms.MainForm.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0

Unhandled Exception:
System.EntryPointNotFoundException: GdipCreateFromContext_macosx
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdipCreateFromContext_macosx (intptr,int,int,intptr&)
  at System.Drawing.Graphics.FromHwnd (IntPtr hwnd) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.CreateGraphics () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm.InitFormsSize () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox/MessageBoxForm:RunDialog ()
  at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) [0x00000] in <filename unknown>:0
  at KeePassLib.Utility.MessageService.SafeShowMessageBox (System.String strText, System.String strTitle, MessageBoxButtons mb, MessageBoxIcon mi, MessageBoxDefaultButton mdb) [0x00000] in <filename unknown>:0
  at KeePassLib.Utility.MessageService.ShowFatal (System.Object[] vLines) [0x00000] in <filename unknown>:0
  at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: GdipCreateFromContext_macosx
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdipCreateFromContext_macosx (intptr,int,int,intptr&)
  at System.Drawing.Graphics.FromHwnd (IntPtr hwnd) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control.CreateGraphics () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm.InitFormsSize () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox/MessageBoxForm:RunDialog ()
  at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) [0x00000] in <filename unknown>:0
  at KeePassLib.Utility.MessageService.SafeShowMessageBox (System.String strText, System.String strTitle, MessageBoxButtons mb, MessageBoxIcon mi, MessageBoxDefaultButton mdb) [0x00000] in <filename unknown>:0
  at KeePassLib.Utility.MessageService.ShowFatal (System.Object[] vLines) [0x00000] in <filename unknown>:0
  at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

Відповіді:


2

Проблему можна вирішити, встановивши нову версію моно, яка виправляє цю проблему, як пояснено тут :

Спробуйте встановити цю монографічну версію 3.10 та змусити відновити свою програму.

https://www.dropbox.com/s/wrjnv7p8zj1rh5u/MonoFramework-MDK-3.10.0.26.macos10.xamarin.x86.pkg?dl=0

Один із розробників монокоманди наполегливо працював над тим, щоб знайти та виправити цю проблему. Сподіваємось, це має бути кінцем випусків GDI для користувачів Xamarin.Mac.

Дякую, - Кріс Н



0

Щойно зіткнувся з цією проблемою і спробував поточну версію моно, 4.0.5.1, але це не вийшло, тому я запустив сценарій видалення .

mono 3.10.0.26 звучало багатообіцяюче, але я хотів завантажити його від розробників. Найближча знайдена версія - 3.10.0.31 , яка працювала!

Використовуючи наш веб-сайт, ви визнаєте, що прочитали та зрозуміли наші Політику щодо файлів cookie та Політику конфіденційності.
Licensed under cc by-sa 3.0 with attribution required.