Find the answer to your Linux question:
Results 1 to 6 of 6
I use KeePass on my Mac and phone and have searched for it in the Software Manager. There's a green tick next to it suggesting it's installed but I can't ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2012
    Location
    UK
    Posts
    6

    KeepAss - can't find it


    I use KeePass on my Mac and phone and have searched for it in the Software Manager. There's a green tick next to it suggesting it's installed but I can't find it in my Applications.

    I have put my KeePass database in my docs folder but when I dbl click it I'm asked what app I want to open it with.

    Is KeePass installed or not? How do I access it?

    openSUSE 12.2
    KDE

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Hello,

    How did you install it?

    I see that version 2.20.1 of the package keepass is available in the Mono Community unstable package repo for openSUSE 12.2:

    Index of /repositories/Mono:/Community/openSUSE_12.2

    In openSUSE there are various ways to install, and thus verify, packages. Since the packages are RPMS, you can always rely upon it. Open a terminal and run:
    Code:
    rpm -qv keepass
    If installed, it will show you the version installed. You can list the files belonging to the package like this:
    Code:
    rpm -ql keepass
    To see executable files:
    Code:
    rpm -ql keepass|grep bin/
    In that list you should see:
    Code:
    /usr/bin/keepass
    You can execute it from the terminal, just as shown. As a regular user, run:
    Code:
    /usr/bin/keepass
    Or, since /usr/bin is surely in your path, just:
    Code:
    keepass
    Not sure why no menu item for it was not created. Are you using GNOME as your DM? If so, do you see this file?
    Code:
    /usr/share/applications/keepass.desktop

  3. #3
    Just Joined!
    Join Date
    Nov 2012
    Location
    UK
    Posts
    6
    Hi. Thanks for getting back to me.

    Quote Originally Posted by atreyu View Post
    Hello,

    How did you install it?
    It was already there. When I searched for it, it was already installed.

    I see that version 2.20.1 of the package keepass is available in the Mono Community unstable package repo for openSUSE 12.2:
    Does that mean it won't work? (See below)

    In openSUSE there are various ways to install, and thus verify, packages. Since the packages are RPMS, you can always rely upon it. Open a terminal and run:
    Code:
    rpm -qv keepass
    If installed, it will show you the version installed. You can list the files belonging to the package like this:
    Code:
    rpm -ql keepass
    To see executable files:
    Code:
    rpm -ql keepass|grep bin/
    In that list you should see:
    Code:
    /usr/bin/keepass
    Yes I can see all those files in those places.

    You can execute it from the terminal, just as shown. As a regular user, run:
    Code:
    /usr/bin/keepass
    Or, since /usr/bin is surely in your path, just:
    Code:
    keepass
    Not sure why no menu item for it was not created. Are you using GNOME as your DM? If so, do you see this file?
    Code:
    /usr/share/applications/keepass.desktop
    I'm using KDE - not sure if this means I'm using GNOME as my DM. I'm a linux rookie!

    I have uninstalled it and installed again from the repository you liked to above. A menu item appeared, but whether I run it from there or just type keepass as you suggest it won't run - I get an error...

    Object reference not set to an instance of an object.

    The extended error report contains lots of <filename unknown>.

    Is it expecting my database to be in a specific place? Just grasping at straws.

    I guess KeePass for 12.2 just needs more work and I'll have to wait.

    Many thanks for your help.

    Gil.

  4. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Quote Originally Posted by linux-box View Post
    Does that mean it won't work?
    It usually means that is *might* work, but don't be surprised if it doesn't.

    I'm using KDE - not sure if this means I'm using GNOME as my DM.
    DM = Desktop Manager. KDE and GNOME are the two big DMs in Linux, though many other lighter weight alternatives exist and are becoming more common-place.

    I have uninstalled it and installed again from the repository you liked to above. A menu item appeared, but whether I run it from there or just type keepass as you suggest it won't run - I get an error...

    Object reference not set to an instance of an object.

    The extended error report contains lots of <filename unknown>.
    Can you cut-and-paste the exact error messages you are getting? It will help us greatly.

    Edit: Forgot to ask - is mono installed? E.g.:

    Code:
    yum install mono-core
    Edit2: Have you looked at KeePassX? It is a Linux alternative to the KeePass Windows program. Thus it would not require mono to run. May be worth a try:

    http://software.opensuse.org/package..._term=keepassx
    Last edited by atreyu; 11-04-2012 at 07:09 PM. Reason: KeePassX?

  5. #5
    Just Joined!
    Join Date
    Nov 2012
    Location
    UK
    Posts
    6
    Aha! I didn't realise this wasn't a native linux app and I didn't know that Mono was a windows thing. I suspect I haven't got Mono installed correctly, and Windows (in any form) is not installed on this machine.

    I'd be much happier with KeePassX. I'll give it a try.

    The exact error message was...

    A fatal error has occurred!
    An extended error report has been copied to the clipboard.
    Object reference not set to an instance of an object

    The extended report is...


    Object reference not set to an instance of an object
    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.OnThreadExceptio n
    (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
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    yeah, those are definitely .NET framework methods.

    let us know how you get on w/keepassx.

Posting Permissions

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