KeePass 2 / Ubuntu 10.10 not starting

Help
2010-10-10
2012-11-19
  • Thomas Müller

    Thomas Müller - 2010-10-10

    Hello,

    Since Ubuntu 10.10 Maverick Meerkat was released today, I installed and wanted to use KeePass 2 with it.
    I thought that would be an easier task, because 10.10 comes with mono 2.6 bundled:

    mono --version
    Mono JIT compiler version 2.6.7 (Debian 2.6.7-3ubuntu1)
    Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC and Parallel Mark)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none
    

    I downloaded the Portable KeePass 2.13 ZIP Package, unzipped it, but when I try to run mono KeePass.exe the following error appears:

    no implementation for interface method Atk.TableImplementor::get_SelectedColumns() in class UiaAtkBridge.Table
    METHOD .ctor(System.Windows.Automation.Provider.IRawElementProviderFragment)
    METHOD RaiseAutomationEvent(System.Windows.Automation.AutomationEvent,System.Windows.Automation.AutomationEventArgs)
    METHOD RaiseStructureChangedEvent(object,System.Windows.Automation.StructureChangedEventArgs)
    METHOD RaiseAutomationPropertyChangedEvent(System.Windows.Automation.AutomationPropertyChangedEventArgs)
    METHOD RefAt(int,int)
    METHOD GetIndexAt(int,int)
    METHOD GetColumnAtIndex(int)
    METHOD GetRowAtIndex(int)
    METHOD get_NColumns()
    METHOD get_NRows()
    METHOD GetColumnExtentAt(int,int)
    METHOD GetRowExtentAt(int,int)
    METHOD get_Caption()
    METHOD set_Caption(Atk.Object)
    METHOD GetColumnDescription(int)
    METHOD GetColumnHeader(int)
    METHOD GetRowDescription(int)
    METHOD GetRowHeader(int)
    METHOD get_Summary()
    METHOD set_Summary(Atk.Object)
    METHOD SetColumnDescription(int,string)
    METHOD SetColumnHeader(int,Atk.Object)
    METHOD SetRowDescription(int,string)
    METHOD SetRowHeader(int,Atk.Object)
    METHOD GetSelectedColumns(int&)
    METHOD GetSelectedColumns(int[]&)
    METHOD GetSelectedRows(int&)
    METHOD GetSelectedRows(int[]&)
    METHOD IsColumnSelected(int)
    METHOD IsRowSelected(int)
    METHOD IsSelected(int,int)
    METHOD AddRowSelection(int)
    METHOD RemoveRowSelection(int)
    METHOD AddColumnSelection(int)
    METHOD RemoveColumnSelection(int)
    METHOD EmitRowReorderingSignal()
    METHOD OnRefStateSet()
    ** (Downloads/KeePass2.13/KeePass.exe:5336): WARNING **: The class UiaAtkBridge.Table could not be loaded, used in UiaAtkBridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812
    Error setting up UIA: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Automation.Provider.AutomationInteropProvider ---> System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
      at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
      at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0 
      at System.Windows.Automation.Provider.BridgeManager.GetAutomationBridge () [0x00000] in <filename unknown>:0 
      at System.Windows.Automation.Provider.AutomationInteropProvider..cctor () [0x00000] in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at Mono.UIAutomation.Winforms.FormListener.Initialize () [0x00000] in <filename unknown>:0 
      at Mono.UIAutomation.Winforms.Global.Initialize () [0x00000] in <filename unknown>:0 
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
      at System.Windows.Forms.Application.InitializeUIAutomation () [0x00000] in <filename unknown>:0 
    Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Automation.Provider.AutomationInteropProvider ---> System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
      at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
      at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0 
      at System.Windows.Automation.Provider.BridgeManager.GetAutomationBridge () [0x00000] in <filename unknown>:0 
      at System.Windows.Automation.Provider.AutomationInteropProvider..cctor () [0x00000] in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at Mono.UIAutomation.Winforms.FormListener.Initialize () [0x00000] in <filename unknown>:0 
      at Mono.UIAutomation.Winforms.Global.Initialize () [0x00000] in <filename unknown>:0 
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0 
      at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
    

    There seems to be something missing, but I am not quite sure what it is.

     
  • Dominik Reichl

    Dominik Reichl - 2010-10-12

    I've just tried Ubuntu 10.10, and after installing the 'libmono-winforms2.0-cil' and 'libmono-system-runtime2.0-cil' packages, KeePass seems to run fine.

    Best regards
    Dominik

     
  • Thomas Müller

    Thomas Müller - 2010-10-15

    Thanks for testing KeePass on Maverick. I'm using Maverick RC, which was updated to the release Version. Maybe that's the Problem?

    The packages you mentioned are installed as well, is it possible there is a conflict with another mono-package?

    apt-cache pkgnames | grep mono | sort
    gnuradio-radar-mono
    kde-icons-mono
    kio-monodoc
    libapache2-mod-mono
    libggi-target-monotext
    libghc6-monoid-transformer-dev
    libghc6-monoid-transformer-doc
    libghc6-monoid-transformer-prof
    libkimono4.1-cil
    libkimono-cil-dev
    libmono0
    libmono0-dbg
    libmono1.0-cil
    libmono2.0-cil
    libmono-accessibility1.0-cil
    libmono-accessibility2.0-cil
    libmono-addins0.2-cil
    libmono-addins-cil-dev
    libmono-addins-gui0.2-cil
    libmono-addins-gui-cil-dev
    libmono-bytefx0.7.6.1-cil
    libmono-bytefx0.7.6.2-cil
    libmono-c5-1.0-cil
    libmono-c5-1.1-cil
    libmono-cairo1.0-cil
    libmono-cairo2.0-cil
    libmono-cecil-cil
    libmono-cecil-cil-dev
    libmono-cecil-flowanalysis0.1a-cil
    libmono-cecil-flowanalysis-cil-dev
    libmono-cecil-private-cil
    libmono-cil-dev
    libmono-corlib1.0-cil
    libmono-corlib2.0-cil
    libmono-cscompmgd7.0-cil
    libmono-cscompmgd8.0-cil
    libmono-data1.0-cil
    libmono-data2.0-cil
    libmono-data-tds1.0-cil
    libmono-data-tds2.0-cil
    libmono-db2-1.0-cil
    libmono-debugger-soft0.0-cil
    libmono-dev
    libmono-firebirdsql1.7-cil
    libmono-fuse-cil
    libmono-getoptions1.0-cil
    libmono-getoptions2.0-cil
    libmono-i18n1.0-cil
    libmono-i18n2.0-cil
    libmono-i18n-west1.0-cil
    libmono-i18n-west2.0-cil
    libmono-ldap1.0-cil
    libmono-ldap2.0-cil
    libmono-management2.0-cil
    libmono-messaging2.0-cil
    libmono-messaging-rabbitmq2.0-cil
    libmono-microsoft7.0-cil
    libmono-microsoft8.0-cil
    libmono-microsoft-build2.0-cil
    libmono-microsoft-visualbasic8.0-cil
    libmono-npgsql1.0-cil
    libmono-npgsql2.0-cil
    libmono-oracle1.0-cil
    libmono-oracle2.0-cil
    libmono-peapi1.0-cil
    libmono-peapi2.0-cil
    libmono-posix1.0-cil
    libmono-posix2.0-cil
    libmono-profiler
    libmono-rabbitmq2.0-cil
    libmono-relaxng1.0-cil
    libmono-relaxng2.0-cil
    libmono-security1.0-cil
    libmono-security2.0-cil
    libmono-sharpzip0.6-cil
    libmono-sharpzip0.84-cil
    libmono-sharpzip2.6-cil
    libmono-sharpzip2.84-cil
    libmono-simd2.0-cil
    libmono-sqlite1.0-cil
    libmono-sqlite2.0-cil
    libmono-system1.0-cil
    libmono-system2.0-cil
    libmono-system-data1.0-cil
    libmono-system-data2.0-cil
    libmono-system-ldap1.0-cil
    libmono-system-ldap2.0-cil
    libmono-system-messaging1.0-cil
    libmono-system-messaging2.0-cil
    libmono-system-runtime1.0-cil
    libmono-system-runtime2.0-cil
    libmono-system-web1.0-cil
    libmono-system-web2.0-cil
    libmono-system-web-mvc1.0-cil
    libmono-system-web-mvc2.0-cil
    libmono-tasklets2.0-cil
    libmono-uia3.0-cil
    libmono-uia-atkbridge1.0-cil
    libmono-uia-cil-dev
    libmono-uia-winforms1.0-cil
    libmono-wcf3.0-cil
    libmono-webbrowser0.5-cil
    libmono-windowsbase3.0-cil
    libmono-windowsbase-cil-dev
    libmono-winforms1.0-cil
    libmono-winforms2.0-cil
    libmono-zeroconf1.0-cil
    libmono-zeroconf-cil-dev
    mono-1.0-devel
    mono-1.0-gac
    mono-1.0-service
    mono-2.0-devel
    mono-2.0-gac
    mono-2.0-service
    mono-addins-utils
    mono-apache-server
    mono-apache-server1
    mono-apache-server2
    mono-basic-dbg
    monobristol
    mono-complete
    mono-csharp-shell
    mono-dbg
    mono-debugger
    mono-devel
    monodevelop
    monodevelop-boo
    monodevelop-database
    monodevelop-debugger-gdb
    monodevelop-debugger-mdb
    monodevelop-java
    monodevelop-moonlight
    monodevelop-nunit
    monodevelop-python
    monodevelop-vala
    monodevelop-versioncontrol
    monodoc-avahi-manual
    monodoc-banshee-manual
    monodoc-base
    monodoc-browser
    monodoc-db4o-manual
    monodoc-gdata-manual
    monodoc-gkeyfile-manual
    monodoc-gmime2.4-manual
    monodoc-gnome-keyring-manual
    monodoc-gtk2.0-manual
    monodoc-gudev-manual
    monodoc-http
    monodoc-hyena-manual
    monodoc-ipod-manual
    monodoc-manual
    monodoc-mono-fuse-manual
    monodoc-mono-zeroconf-manual
    monodoc-moonlight-manual
    monodoc-mysql6.0-manual
    monodoc-mysql-manual
    monodoc-njb-manual
    monodoc-nlog-manual
    monodoc-notify-sharp-manual
    monodoc-nunit-manual
    monodoc-poppler-manual
    monodoc-semweb-manual
    monodoc-taglib-manual
    monodoc-taoframework-manual
    monodoc-webkit-manual
    mono-fastcgi-server
    mono-fastcgi-server1
    mono-fastcgi-server2
    mono-gac
    mono-gmcs
    mono-jay
    mono-mcs
    mono-mjs
    monopd
    mono-profiler
    mono-runtime
    mono-runtime-dbg
    monotone
    monotone-doc
    monotone-server
    monotone-viz
    mono-tools-devel
    mono-tools-gui
    mono-uia-dbg
    mono-utils
    mono-vbnc
    mono-winforms-a11y
    mono-xbuild
    mono-xsp
    mono-xsp1
    mono-xsp2
    mono-xsp2-base
    mono-xsp-base
    mythtv-theme-mono-osd
    plasma-scriptengine-kimono
    themonospot
    ubuntu-mono
    
     
  • Dominik Reichl

    Dominik Reichl - 2010-10-15

    Very mysterious. I have exactly the same packages installed, with one mini difference: I don't have libmono-c5-1.0-cil, but I doubt that's causing the problem. Anyway, I did a clean install of Ubuntu 10.10, so maybe there indeed something went wrong when upgrading from the RC.

    Best regards
    Dominik

     
  • Tom Carpenter

    Tom Carpenter - 2010-10-15

    FWIW I have KeePass running on Ubuntu 10.10 (amd64). This is the list of installed mono packages on my system:

    dpkg -l | grep mono
    ii  libmono-accessibility2.0-cil         2.6.7-3ubuntu1                                  Mono Accessibility library (for CLI 2.0)
    ii  libmono-addins-gui0.2-cil            0.4-6                                           GTK# frontend library for Mono.Addins
    ii  libmono-addins0.2-cil                0.4-6                                           addin framework for extensible CLI applications/libraries
    ii  libmono-cairo2.0-cil                 2.6.7-3ubuntu1                                  Mono Cairo library (for CLI 2.0)
    ii  libmono-corlib2.0-cil                2.6.7-3ubuntu1                                  Mono core library (for CLI 2.0)
    ii  libmono-data-tds2.0-cil              2.6.7-3ubuntu1                                  Mono Data Library (for CLI 2.0)
    ii  libmono-i18n-west2.0-cil             2.6.7-3ubuntu1                                  Mono I18N.West library (for CLI 2.0)
    ii  libmono-management2.0-cil            2.6.7-3ubuntu1                                  Mono Management library (for CLI 2.0)
    ii  libmono-messaging2.0-cil             2.6.7-3ubuntu1                                  Mono Messaging library (for CLI 2.0)
    ii  libmono-posix2.0-cil                 2.6.7-3ubuntu1                                  Mono.Posix library (for CLI 2.0)
    ii  libmono-security2.0-cil              2.6.7-3ubuntu1                                  Mono Security library (for CLI 2.0)
    ii  libmono-sharpzip2.84-cil             2.6.7-3ubuntu1                                  Mono SharpZipLib library (for CLI 2.0)
    ii  libmono-sqlite2.0-cil                2.6.7-3ubuntu1                                  Mono Sqlite library (for CLI 2.0)
    ii  libmono-system-data2.0-cil           2.6.7-3ubuntu1                                  Mono System.Data Library (for CLI 2.0)
    ii  libmono-system-messaging2.0-cil      2.6.7-3ubuntu1                                  Mono System.Messaging Library (for CLI 2.0)
    ii  libmono-system-runtime2.0-cil        2.6.7-3ubuntu1                                  Mono System.Runtime Library (for CLI 2.0)
    ii  libmono-system-web2.0-cil            2.6.7-3ubuntu1                                  Mono System.Web Library (for CLI 2.0)
    ii  libmono-system2.0-cil                2.6.7-3ubuntu1                                  Mono System libraries (for CLI 2.0)
    ii  libmono-wcf3.0-cil                   2.6.7-3ubuntu1                                  Mono WCF libraries (for CLI 2.0)
    ii  libmono-webbrowser0.5-cil            2.6.7-3ubuntu1                                  Mono Web Browser library
    ii  libmono-winforms2.0-cil              2.6.7-3ubuntu1                                  Mono System.Windows.Forms library (for CLI 2.0)
    ii  libmono2.0-cil                       2.6.7-3ubuntu1                                  Mono libraries (for CLI 2.0)
    ii  mono-2.0-gac                         2.6.7-3ubuntu1                                  Mono GAC tool (for CLI 2.0)
    ii  mono-csharp-shell                    2.6.7-3ubuntu1                                  interactive C# shell
    ii  mono-gac                             2.6.7-3ubuntu1                                  Mono GAC tool
    ii  mono-gmcs                            2.6.7-3ubuntu1                                  Mono C# 2.0 and C# 3.0 compiler for CLI 2.0
    ii  mono-runtime                         2.6.7-3ubuntu1                                  Mono runtime
    ii  ubuntu-mono                          0.0.22                                          Ubuntu Mono Icon theme

    - Tom

     
  • Thomas Müller

    Thomas Müller - 2010-10-15

    I think KeePass works for you, tlcarpenter? I have all of those packages installed, too. Plus some more, mostly the 1.0-versions of some of the mentioned packages. Are those versions conflicting?

    ii  libmono-accessibility1.0-cil              2.6.7-3ubuntu1                                  Mono Accessibility library (for CLI 1.0)
    ii  libmono-accessibility2.0-cil              2.6.7-3ubuntu1                                  Mono Accessibility library (for CLI 2.0)
    ii  libmono-addins-gui0.2-cil                 0.4-6                                           GTK# frontend library for Mono.Addins
    ii  libmono-addins0.2-cil                     0.4-6                                           addin framework for extensible CLI applications/libraries
    ii  libmono-cairo2.0-cil                      2.6.7-3ubuntu1                                  Mono Cairo library (for CLI 2.0)
    ii  libmono-cecil-private-cil                 2.6.7-3ubuntu1                                  Mono.Cecil library
    ii  libmono-corlib1.0-cil                     2.6.7-3ubuntu1                                  Mono core library (for CLI 1.0)
    ii  libmono-corlib2.0-cil                     2.6.7-3ubuntu1                                  Mono core library (for CLI 2.0)
    ii  libmono-data-tds1.0-cil                   2.6.7-3ubuntu1                                  Mono Data library (for CLI 1.0)
    ii  libmono-data-tds2.0-cil                   2.6.7-3ubuntu1                                  Mono Data Library (for CLI 2.0)
    ii  libmono-dev                               2.6.7-3ubuntu1                                  Mono JIT library - Development files
    ii  libmono-i18n-west1.0-cil                  2.6.7-3ubuntu1                                  Mono I18N.West library (for CLI 1.0)
    ii  libmono-i18n-west2.0-cil                  2.6.7-3ubuntu1                                  Mono I18N.West library (for CLI 2.0)
    ii  libmono-management2.0-cil                 2.6.7-3ubuntu1                                  Mono Management library (for CLI 2.0)
    ii  libmono-messaging2.0-cil                  2.6.7-3ubuntu1                                  Mono Messaging library (for CLI 2.0)
    ii  libmono-microsoft8.0-cil                  2.6.7-3ubuntu1                                  Mono Microsoft libraries (for CLI 2.0)
    ii  libmono-peapi2.0-cil                      2.6.7-3ubuntu1                                  Mono PEAPI library (for CLI 2.0)
    ii  libmono-posix1.0-cil                      2.6.7-3ubuntu1                                  Mono.Posix library (for CLI 1.0)
    ii  libmono-posix2.0-cil                      2.6.7-3ubuntu1                                  Mono.Posix library (for CLI 2.0)
    ii  libmono-security1.0-cil                   2.6.7-3ubuntu1                                  Mono Security library (for CLI 1.0)
    ii  libmono-security2.0-cil                   2.6.7-3ubuntu1                                  Mono Security library (for CLI 2.0)
    ii  libmono-sharpzip0.84-cil                  2.6.7-3ubuntu1                                  Mono SharpZipLib library (for CLI 1.0)
    ii  libmono-sharpzip2.84-cil                  2.6.7-3ubuntu1                                  Mono SharpZipLib library (for CLI 2.0)
    ii  libmono-sqlite2.0-cil                     2.6.7-3ubuntu1                                  Mono Sqlite library (for CLI 2.0)
    ii  libmono-system-data1.0-cil                2.6.7-3ubuntu1                                  Mono System.Data library (for CLI 1.0)
    ii  libmono-system-data2.0-cil                2.6.7-3ubuntu1                                  Mono System.Data Library (for CLI 2.0)
    ii  libmono-system-messaging2.0-cil           2.6.7-3ubuntu1                                  Mono System.Messaging Library (for CLI 2.0)
    ii  libmono-system-runtime2.0-cil             2.6.7-3ubuntu1                                  Mono System.Runtime Library (for CLI 2.0)
    ii  libmono-system-web1.0-cil                 2.6.7-3ubuntu1                                  Mono System.Web library (for CLI 1.0)
    ii  libmono-system-web2.0-cil                 2.6.7-3ubuntu1                                  Mono System.Web Library (for CLI 2.0)
    ii  libmono-system1.0-cil                     2.6.7-3ubuntu1                                  Mono System libraries (for CLI 1.0)
    ii  libmono-system2.0-cil                     2.6.7-3ubuntu1                                  Mono System libraries (for CLI 2.0)
    ii  libmono-uia-atkbridge1.0-cil              1.0-2                                           Bridge between UIA providers and ATK
    ii  libmono-uia-cil-dev                       1.0-2                                           Implementations of members and interfaces based on MS UIA API
    ii  libmono-uia-winforms1.0-cil               1.0-2                                           UIA providers for WinForms on Mono
    ii  libmono-uia3.0-cil                        1.0-2                                           Implementations of members and interfaces based on MS UIA API
    ii  libmono-wcf3.0-cil                        2.6.7-3ubuntu1                                  Mono WCF libraries (for CLI 2.0)
    ii  libmono-webbrowser0.5-cil                 2.6.7-3ubuntu1                                  Mono Web Browser library
    ii  libmono-windowsbase3.0-cil                2.6.7-3ubuntu1                                  Mono WindowsBase library (for CLI 2.0)
    ii  libmono-winforms1.0-cil                   2.6.7-3ubuntu1                                  Mono System.Windows.Forms library (for CLI 1.0)
    ii  libmono-winforms2.0-cil                   2.6.7-3ubuntu1                                  Mono System.Windows.Forms library (for CLI 2.0)
    ii  libmono0                                  2.6.7-3ubuntu1                                  Mono JIT library
    ii  libmono2.0-cil                            2.6.7-3ubuntu1                                  Mono libraries (for CLI 2.0)
    ii  mono-2.0-devel                            2.6.7-3ubuntu1                                  Mono development tools for CLI 2.0
    ii  mono-2.0-gac                              2.6.7-3ubuntu1                                  Mono GAC tool (for CLI 2.0)
    ii  mono-csharp-shell                         2.6.7-3ubuntu1                                  interactive C# shell
    ii  mono-gac                                  2.6.7-3ubuntu1                                  Mono GAC tool
    ii  mono-gmcs                                 2.6.7-3ubuntu1                                  Mono C# 2.0 and C# 3.0 compiler for CLI 2.0
    ii  mono-runtime                              2.6.7-3ubuntu1                                  Mono runtime
    ii  mono-winforms-a11y                        1.0-2                                           Accessibility support for WinForms applications in Mono
    ii  monodoc-base                              2.6.7-3ubuntu1                                  shared MonoDoc binaries
    ii  monodoc-browser                           2.6.2-2ubuntu1                                  MonoDoc GTK+ based viewer
    ii  monodoc-gtk2.0-manual                     2.12.10-1                                       compiled XML documentation for GTK# 2.10
    ii  monodoc-manual                            2.6.7-3ubuntu1                                  compiled XML documentation from the Mono project
    ii  ubuntu-mono                               0.0.22                                          Ubuntu Mono Icon theme
    
     
  • Thomas Müller

    Thomas Müller - 2010-10-16

    Fixed it by uninstalling libmono-uia-atkbridge1.0-cil and mono-winforms-a11y. Don't know what the problem with those packages might be.

     
  • Ryan Reed

    Ryan Reed - 2010-10-19

    I'm having a pretty similar problem, actually.  I receive the following error.  Note, this is a fresh install that I installed about an hour ago. 

    user:~/Applications/KeePass-2.13$ mono KeePass.exe 
    Error loading UIA bridge (UiaAtkBridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812): System.IO.FileNotFoundException: Could not load file or assembly 'UiaAtkBridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812' or one of its dependencies. The system cannot find the file specified.
    File name: 'UiaAtkBridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812'
      at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00000] in <filename unknown>:0 
      at System.AppDomain.Load (System.String assemblyString) [0x00000] in <filename unknown>:0 
      at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
      at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in <filename unknown>:0 
      at System.Windows.Automation.Provider.BridgeManager.GetAutomationBridge () [0x00000] in <filename unknown>:0 
    ** (KeePass.exe:3690): WARNING **: The following assembly referenced from /home/user/Applications/KeePass-2.13/KeePass.exe could not be loaded:
         Assembly:   System.Runtime.Remoting    (assemblyref_index=5)
         Version:    2.0.0.0
         Public Key: b77a5c561934e089
    The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/user/Applications/KeePass-2.13/).
    ** (KeePass.exe:3690): WARNING **: Could not load file or assembly 'System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
    System.TypeLoadException: A type load exception has occurred.
      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 
    ** (KeePass.exe:3690): WARNING **: The class KeePass.Util.IpcBroadcast could not be loaded, used in KeePass, Version=2.1.3.17119, Culture=neutral, PublicKeyToken=fed2ed7716aecf5c
    Unhandled Exception: System.TypeLoadException: Could not load type 'KeePass.Util.IpcBroadcast' from assembly 'KeePass, Version=2.1.3.17119, Culture=neutral, PublicKeyToken=fed2ed7716aecf5c'.
      at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
    

    I have the following packages installed

    ii  libmono-accessibility1.0-cil         2.6.7-3ubuntu1                                  Mono Accessibility library (for CLI 1.0)
    ii  libmono-accessibility2.0-cil         2.6.7-3ubuntu1                                  Mono Accessibility library (for CLI 2.0)
    ii  libmono-addins-gui0.2-cil            0.4-6                                           GTK# frontend library for Mono.Addins
    ii  libmono-addins0.2-cil                0.4-6                                           addin framework for extensible CLI applications/libraries
    ii  libmono-cairo2.0-cil                 2.6.7-3ubuntu1                                  Mono Cairo library (for CLI 2.0)
    ii  libmono-corlib1.0-cil                2.6.7-3ubuntu1                                  Mono core library (for CLI 1.0)
    ii  libmono-corlib2.0-cil                2.6.7-3ubuntu1                                  Mono core library (for CLI 2.0)
    ii  libmono-data-tds1.0-cil              2.6.7-3ubuntu1                                  Mono Data library (for CLI 1.0)
    ii  libmono-data-tds2.0-cil              2.6.7-3ubuntu1                                  Mono Data Library (for CLI 2.0)
    ii  libmono-i18n-west1.0-cil             2.6.7-3ubuntu1                                  Mono I18N.West library (for CLI 1.0)
    ii  libmono-i18n-west2.0-cil             2.6.7-3ubuntu1                                  Mono I18N.West library (for CLI 2.0)
    ii  libmono-management2.0-cil            2.6.7-3ubuntu1                                  Mono Management library (for CLI 2.0)
    ii  libmono-messaging2.0-cil             2.6.7-3ubuntu1                                  Mono Messaging library (for CLI 2.0)
    ii  libmono-posix1.0-cil                 2.6.7-3ubuntu1                                  Mono.Posix library (for CLI 1.0)
    ii  libmono-posix2.0-cil                 2.6.7-3ubuntu1                                  Mono.Posix library (for CLI 2.0)
    ii  libmono-security1.0-cil              2.6.7-3ubuntu1                                  Mono Security library (for CLI 1.0)
    ii  libmono-security2.0-cil              2.6.7-3ubuntu1                                  Mono Security library (for CLI 2.0)
    ii  libmono-sharpzip2.84-cil             2.6.7-3ubuntu1                                  Mono SharpZipLib library (for CLI 2.0)
    ii  libmono-sqlite2.0-cil                2.6.7-3ubuntu1                                  Mono Sqlite library (for CLI 2.0)
    ii  libmono-system-data1.0-cil           2.6.7-3ubuntu1                                  Mono System.Data library (for CLI 1.0)
    ii  libmono-system-data2.0-cil           2.6.7-3ubuntu1                                  Mono System.Data Library (for CLI 2.0)
    ii  libmono-system-messaging2.0-cil      2.6.7-3ubuntu1                                  Mono System.Messaging Library (for CLI 2.0)
    ii  libmono-system-web1.0-cil            2.6.7-3ubuntu1                                  Mono System.Web library (for CLI 1.0)
    ii  libmono-system-web2.0-cil            2.6.7-3ubuntu1                                  Mono System.Web Library (for CLI 2.0)
    ii  libmono-system1.0-cil                2.6.7-3ubuntu1                                  Mono System libraries (for CLI 1.0)
    ii  libmono-system2.0-cil                2.6.7-3ubuntu1                                  Mono System libraries (for CLI 2.0)
    ii  libmono-uia-winforms1.0-cil          1.0-2                                           UIA providers for WinForms on Mono
    ii  libmono-uia3.0-cil                   1.0-2                                           Implementations of members and interfaces based on MS UIA API
    ii  libmono-wcf3.0-cil                   2.6.7-3ubuntu1                                  Mono WCF libraries (for CLI 2.0)
    ii  libmono-webbrowser0.5-cil            2.6.7-3ubuntu1                                  Mono Web Browser library
    ii  libmono-windowsbase3.0-cil           2.6.7-3ubuntu1                                  Mono WindowsBase library (for CLI 2.0)
    ii  libmono-winforms2.0-cil              2.6.7-3ubuntu1                                  Mono System.Windows.Forms library (for CLI 2.0)
    ii  libmono2.0-cil                       2.6.7-3ubuntu1                                  Mono libraries (for CLI 2.0)
    ii  mono-2.0-gac                         2.6.7-3ubuntu1                                  Mono GAC tool (for CLI 2.0)
    ii  mono-csharp-shell                    2.6.7-3ubuntu1                                  interactive C# shell
    ii  mono-gac                             2.6.7-3ubuntu1                                  Mono GAC tool
    ii  mono-gmcs                            2.6.7-3ubuntu1                                  Mono C# 2.0 and C# 3.0 compiler for CLI 2.0
    ii  mono-runtime                         2.6.7-3ubuntu1                                  Mono runtime
    ii  ubuntu-mono                          0.0.22                                          Ubuntu Mono Icon theme
    
     
  • Ryan Reed

    Ryan Reed - 2010-10-19

    Note:  This is a on Macbook Pro 5.1 i386.

     
  • Dominik Reichl

    Dominik Reichl - 2010-10-19

    This should be much easier to solve. Look for a Mono package related to "System.Runtime" and install it (under Ubuntu it's called "libmono-system-runtime2.0-cil").

    Best regards
    Dominik

     
  • Anonymous - 2010-12-11

    For me it helped to remove the packages
    'libmono-winforms1.0-cil' and 'libmono-system-runtime1.0-cil'.

    Good luck!
    Chris

     
  • nd9

    nd9 - 2010-12-21

    sudo apt-get install libmono-system-runtime2.0-cil
    and for the windows forms
    sudo apt-get install libmono-winforms2.0-cil

     
  • nd9

    nd9 - 2010-12-21

    just noticed it was for version 1  :
    sudo apt-get install libmono-system-runtime1.0-cil libmono-winforms1.0-cil

     
  • Chin Kung

    Chin Kung - 2011-01-04

    You have to remove UIA package out !

    Using following command :-
    sudo apt-get remove libmono-uia-* mono-mcs

    Enjoy,
    Kung

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks