Results 1 to 8 of 8

Thread: Can't run keepass installed from mono repo

  1. #1

    Default Can't run keepass installed from mono repo

    In a hurry to use keepass to fetch some password, I installed it from the MONO repo and this is the error I get when I run keepass (v 2.xx)in console,
    Code:
    KDE colorscheme read failure, using built-in colorschemeSystem.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
      at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0 
      at System.Drawing.Image.CreateFromHandle (IntPtr handle) [0x00000] in <filename unknown>:0 
      at System.Drawing.Image.LoadFromStream (System.IO.Stream stream, Boolean keepAlive) [0x00000] in <filename unknown>:0 
      at System.Drawing.Icon.GetInternalBitmap () [0x00000] in <filename unknown>:0 
      at System.Drawing.Icon.ToBitmap () [0x00000] in <filename unknown>:0 
      at (wrapper remoting-invoke-with-check) System.Drawing.Icon:ToBitmap ()
      at System.Windows.Forms.XplatUIX11.SetIcon (System.Windows.Forms.Hwnd hwnd, System.Drawing.Icon icon) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.XplatUIX11.SetIcon (IntPtr handle, System.Drawing.Icon icon) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.XplatUI.SetIcon (IntPtr handle, System.Drawing.Icon icon) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.Form.set_Icon (System.Drawing.Icon value) [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
    openSUSE Leap 15.0

  2. #2
    Join Date
    Jun 2008
    Location
    Inzago, Italy
    Posts
    108

    Default Re: Can't run keepass installed from mono repo

    You may try uninstalling KeePass and reinstalling with this command:

    zypper in keepass*

    Maybe some dependency got not installed. I'm using KeePass 2.21 installed from Index of /repositories/Mono:/Community/openSUSE_12.3 and it works.
    OpenSuse 13.1 with KDE 4.11 on Intel I7 930 motherboard Asus P6T SE - RAM 6 Gb
    - video card NVIDIA GT220 1GB - TV card Hauppauge WinTV Nova T stick

  3. #3

    Default Re: Can't run keepass installed from mono repo

    Well I uninstalled that and installed keepassx and it worked on keepass.db well, though I have no idea what are the difference.
    openSUSE Leap 15.0

  4. #4

    Default Re: Can't run keepass installed from mono repo

    Maybe a bit late but I just installed Keepass 2.21 but had to install the Mono_Complete package to get it to run. All
    the missing libraries you displayed are Microsoft.net files, Mono is a Linux port of .NET. I installed via the software manager
    it's easier to see what dependencies are required.

    Typically even a simple MS program requires countless dependencies to run.

  5. #5

    Default Re: Can't run keepass installed from mono repo

    i have similar problem, Fatal error when start keepass:
    Object reference not set to an instance of an object
    Code:
    KeePass
      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.NativeWindow.OnThreadException (System.Exception e) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd hwnd, WindowType windows) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.Control.CreateHandle () [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.Form.CreateHandle () [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.Control.CreateControl () [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] in <filename unknown>:0 
      at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool)
      at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <filename unknown>:0 
      at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
    Void CleanUpEx()

  6. #6

    Lightbulb Re: Can't run keepass installed from mono repo

    I would suggest using keepassx instead. You can install it from security repo:
    http://download.opensuse.org/repositories/security/

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,397
    Blog Entries
    2

    Default Re: Can't run keepass installed from mono repo

    Quote Originally Posted by Pay87 View Post
    I would suggest using keepassx instead. You can install it from security repo:
    http://download.opensuse.org/repositories/security/
    When suggesting a repo, you can also provide the command line that adds the repo for the people who are new to openSUSE. If you are running openSUSE 13.1 the following adds the Security repo to your system and refreshes your repos so you're immediately ready to search for apps in that repo. Accept the GPG key when you're prompted. If you're running a different system, typically you only need to modify that part of the URL followed by modifying the repo name you've chosen.
    Code:
    zypper ar http://download.opensuse.org/reposit...openSUSE_13.1/ openSUSE_13.1:Security && zypper refresh
    TSU

  8. #8

    Default Re: Can't run keepass installed from mono repo

    I was not sure which version he is using and that that he could reply if he ran into any problems!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •