PicoScope 7 Software
Available on Windows, Mac and Linux
Code: Select all
Unhandled Exception: System.TypeLoadException: Could not load type 'az' from assembly 'PicoScope.GTK, Version=6.10.1.8, Culture=neutral, PublicKeyToken=d07fd3de7c3ccbb2'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'az' from assembly 'PicoScope.GTK, Version=6.10.1.8, Culture=neutral, PublicKeyToken=d07fd3de7c3ccbb2'.
Code: Select all
/usr/lib/mono/4.0/mscorlib.dll
/usr/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
/usr/lib/mono/gac/atk-sharp/2.12.0.0__35e10195dab3c99f/atk-sharp.dll
/usr/lib/mono/gac/gdk-sharp/2.12.0.0__35e10195dab3c99f/gdk-sharp.dll
/usr/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll
/usr/lib/mono/gac/gtk-dotnet/2.12.0.0__35e10195dab3c99f/gtk-dotnet.dll
/usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll
/usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll
/usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll
/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
/usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
/usr/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
/usr/lib/mono/gac/System.Management/4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
/usr/lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
/usr/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll
/usr/lib/mono/gac/UiaAtkBridge/1.0.0.0__f4ceacb585d99812/UiaAtkBridge.dll
/usr/lib/mono/gac/UIAutomationBridge/3.0.0.0__31bf3856ad364e35/UIAutomationBridge.dll
/usr/lib/mono/gac/UIAutomationClient/3.0.0.0__31bf3856ad364e35/UIAutomationClient.dll
/usr/lib/mono/gac/UIAutomationProvider/3.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
/usr/lib/mono/gac/UIAutomationSource/3.0.0.0__31bf3856ad364e35/UIAutomationSource.dll
/usr/lib/mono/gac/UIAutomationTypes/3.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
/usr/lib/mono/gac/UIAutomationWinforms/1.0.0.0__f4ceacb585d99812/UIAutomationWinforms.dll
/usr/lib/mono/gac/WindowsBase/4.0.0.0__31bf3856ad364e35/WindowsBase.dll
Thank you for this information, I was indeed missing several DLLs. In addition to installing mono, I had to install the following Gentoo packages:mario_ wrote:here is the list of DLLs that should your mono installation provide
Thanks, good to know as it's not obvious (but I probably failed to read some doc).mario_ wrote:Also, please note that correct driver for 2204a is libps2000.
Code: Select all
cd /opt/picoscope/lib
mono PicoScope.GTK.exe
Code: Select all
[...]
Device: Info: No of Devices Found: 0
InitalDeviceLoadSequence: Info: Complete
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
Marshaling show signal
Exception: Error: Unhandled Exception:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at pL.a () [0x00000] in :0
at eH.a (jT , ProbeCategories ) [0x00000] in :0
at eH.a (jT , Boolean ) [0x00000] in :0
at dm.m (Boolean ) [0x00000] in :0
at ap.a () [0x00000] in :0
at az.a (System.Object , System.EventArgs ) [0x00000] in :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 :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 :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in :0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in :0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in :0
at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in :0
at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in :0
at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in :0
Exception: Error: Inner Exception:System.NullReferenceException: Object reference not set to an instance of an object
at pL.a () [0x00000] in :0
at eH.a (jT , ProbeCategories ) [0x00000] in :0
at eH.a (jT , Boolean ) [0x00000] in :0
at dm.m (Boolean ) [0x00000] in :0
at ap.a () [0x00000] in :0
at az.a (System.Object , System.EventArgs ) [0x00000] in :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 :0
Code: Select all
[...]
Finished loading ps2000a.dll
Attempting to load ps2000.dll
Finished loading ps2000.dll
Opening device using DLL ps2000.dll
Opening device successful. Error NoError.
Device opened CZ413/199: PS2000 PS2204A PS2000
Attempting to load ps2000.dll
Finished loading ps2000.dll
Opening device using DLL ps2000.dll
Opening device unsuccessful. Error UnitNotFound
Attempting to load usbdrdaq.dll
usbdrdaq.dll System.DllNotFoundException: usbdrdaq.dll
at (wrapper managed-to-native) cx/a:a (int16,int16)
at cx.LoadDll () [0x00000] in :0
at u.DoIsDllAvaialable () [0x00000] in :0
Finished loading usbdrdaq.dll
Attempting to load pl1000.dll
pl1000.dll System.DllNotFoundException: pl1000.dll
at (wrapper managed-to-native) cw/a:a (int16,int16)
at cw.LoadDll () [0x00000] in :0
at u.DoIsDllAvaialable () [0x00000] in :0
Finished loading pl1000.dll
No of Devices Found: 1
Device selected: PS2204A, CZ413/199
Driver: ps2000.dll Version: PS2000 Linux Driver, 2.1.2.4
Kernel driver: picopp.sys Version: 0.0
Complete
Unhandled Exception:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at pL.a () [0x00000] in :0
at eH.a (jT , ProbeCategories ) [0x00000] in :0
at eH.a (jT , Boolean ) [0x00000] in :0
at dm.m (Boolean ) [0x00000] in :0
at ap.a () [0x00000] in :0
at az.a (System.Object , System.EventArgs ) [0x00000] in :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 :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 :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in :0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in :0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in :0
at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in :0
at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in :0
at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in :0
Inner Exception:System.NullReferenceException: Object reference not set to an instance of an object
at pL.a () [0x00000] in :0
at eH.a (jT , ProbeCategories ) [0x00000] in :0
at eH.a (jT , Boolean ) [0x00000] in :0
at dm.m (Boolean ) [0x00000] in :0
at ap.a () [0x00000] in :0
at az.a (System.Object , System.EventArgs ) [0x00000] in :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 :0
Trace Closing
Code: Select all
mono-runtime (>= 2.10.8.1), libmono-system-core4.0-cil (>= 2.10.8.1), libmono-system-management4.0-cil (>= 2.10.8.1), libmono-system-windows-forms4.0-cil (>= 2.10.8.1), libmono-system-runtime-serialization4.0-cil (>= 2.10.8.1), libmono-windowsbase4.0-cil (>= 2.10.8.1), libgtk2.0-cil (>= 2.12.10)
Code: Select all
Hi cyril (or anyone else running Gentoo hitting upon this post as I did): Please note that I've now made Gentoo ebuilds for Picoscope available in my portage overlay at layman[mercurial]:k_f ( https://bitbucket.org/kristianf/portage-overlay/src ). Once the packages are stabilized enough I might consider bringing them into the regular portage tree as well. If you (or anyone else) use these packages and encounter issues, please report them in the bitbucket bugtracker. Testing is much appreciated.cyril42e wrote: I'm running Gentoo distribution, so I used the RPM packages that I manually installed by disabling the dependencies check, after resolving them manually (rpm -i --nodeps).