Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Start on fedora fails.

Help
johannes
2014-01-26
2014-01-29
  • johannes
    johannes
    2014-01-26

    When I start with mono ./KeePass.exe I get:
    Unhandled Exception: System.TypeLoadException: Could not load type 'KeePass.Program' from assembly 'KeePass, Version=2.24.0.19501, Culture=neutral, PublicKeyToken=fed2ed7716aecf5c'.
    [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'KeePass.Program' from assembly 'KeePass, Version=2.24.0.19501, Culture=neutral, PublicKeyToken=fed2ed7716aecf5c'.

    this is with version 2.24

    mono is:
    Mono JIT compiler version 2.10.8 (tarball Sat Aug 3 13:17:40 UTC 2013)
    Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
    TLS: __thread
    SIGSEGV: altstack
    Notifications: epoll
    Architecture: amd64
    Disabled: none
    Misc: debugger softdebug
    LLVM: supported, not enabled.
    GC: Included Boehm (with typed GC and Parallel Mark)

     
  • Paul
    Paul
    2014-01-26

    Have you tried the full path to KeePass rather than a relative path?
    Check the help page for more info: http://keepass.info/help/v2/setup.html#mono

    cheers, Paul

     
  • johannes
    johannes
    2014-01-26

    Thanks, yes I checked that page and it didn't help me.

    using a full path gave me

    mono /home/j/Downloads/KeePass.exe

    Unhandled Exception: System.TypeLoadException: Could not load type 'KeePass.Program' from assembly 'KeePass, Version=2.24.0.19501, Culture=neutral, PublicKeyToken=fed2ed7716aecf5c'.
    [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'KeePass.Program' from assembly 'KeePass, Version=2.24.0.19501, Culture=neutral, PublicKeyToken=fed2ed7716aecf5c'.

    could it be that the namespace of Program is not complete?

     
    Last edit: johannes 2014-01-27
  • Paul
    Paul
    2014-01-27

    I suspect a mono problem as KeePass is known to work on *nix under mono.
    Try the debug switch for KeePass, --debug

    cheers, Paul

     
  • johannes
    johannes
    2014-01-28

    thanks Paul. this gave the same result.

     
  • johannes
    johannes
    2014-01-28

    On Fedora20 an additional (huge) package "mono-devel" needs to be installed.

    So for F20 install mono-core and mono-devel and xdotool to get KeePass2 working.

    Cheers

     
  • Paul
    Paul
    2014-01-29

    Thanks for the update.

    cheers, Paul