royo2015 / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

Unable To Start In Linux #445

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Attempted to run on Linux Mint 14 via Mono (mono OpenHardwareMonitor.exe), 
version 2.0 and 4.0 of mono installed. Version 0.5.1 of Open Hardware Monitor. 
Program does not start and the following output is produced:

Missing method System.Type::op_Equality(Type,Type) in assembly 
/usr/lib/mono/2.0/mscorlib.dll, referenced in assembly 
/usr/lib/mono/gac/UIAutomationProvider/3.0.0.0__31bf3856ad364e35/UIAutomationPro
vider.dll
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.MissingMethodException: Method not found: 'System.Type.op_Equality'.
  at System.Windows.Automation.Provider.BridgeManager.GetAutomationBridges () [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 (System.Reflection.MonoMethod,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 

Original issue reported on code.google.com by mbeaven...@gmail.com on 28 Feb 2013 at 7:31

GoogleCodeExporter commented 9 years ago
Issue 450 has been merged into this issue.

Original comment by moel.mich on 13 Mar 2013 at 7:56

GoogleCodeExporter commented 9 years ago
This might be a problem with runtime version 2.0 vs. version 4.0. Can you try 
if deleting OpenHardwareMonitor.exe.config from the application folder helps? 
This config basically tells the runtime, that the application can be run on a 
4.0 runtime as well if available (while the binaries target the 2.0 runtime).

Original comment by moel.mich on 13 Mar 2013 at 8:03