PicoScope 7 Software
Available on Windows, Mac and Linux
Code: Select all
Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /opt/picoscope/include/libps5000-1.5: cpio: chown failed - Operation not permitted
error: libps5000-1.5.1-3r02.x86_64: install failed
Code: Select all
mkdir -p /usr/local/picoscope
Code: Select all
mkdir /opt/picoscope
Code: Select all
mount --bind /usr/local/picoscope /opt/picoscope
Code: Select all
/usr/local/picoscope /opt/picoscope none bind 0 0
Code: Select all
gzunder:~ # X -version
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.14.3.901 (1.14.4 RC 1)
Release Date: 2013-10-26
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux gzunder 3.11.10-17-desktop #1 SMP PREEMPT Mon Jun 16 15:28:13 UTC 2014 (fba7c1f) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.10-17-desktop root=UUID=fc65b592-4b18-42f5-af86-28af4c8d081f splash=verbose showopts i8042.nopnp
Build Date: 17 April 2014 05:37:34AM
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
gzunder:~ #
Code: Select all
gzunder:~ # echo "$DISPLAY"
:0
gzunder:~ #
Code: Select all
mprowe@gzunder:~> /opt/picoscope/share/doc/libps3000a/usbtest
****************************************************************************
* Pico Technology Linux USB Diagnostics *
****************************************************************************
This script looks for Pico USB devices connected to your computer
and checks whether you are able to access them. If your user account
does not have permission to access the devices, the script will try
to suggest how to correct this for your particular Linux installation.
Press enter to continue...
Getting user and group information...
- You are running this script as mprowe.
- You are in the following groups:
users sys lp pico vboxusers
Please connect your Pico USB device and press enter to continue...
Pico USB device found: /dev/bus/usb/002/007
- It belongs to root (which is not you) who has permissions rw-
- The members of group pico (which you are in) have permissions rw-
- Everyone else has permissions r--
- You can write to this device and so will be able to use it.
mprowe@gzunder:~>
Code: Select all
mprowe@gzunder:~> sudo picoscope
root's password:
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.ArgumentNullException: Could not open display (X-Server required. Check you DISPLAY environment variable)
Parameter name: Display
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in :0
at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in :0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in :0
at System.Windows.Forms.XplatUI..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in :0
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in :0
at System.Windows.Forms.Control..ctor () [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.Control..ctor () [0x00000] in :0
at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in :0
at System.Windows.Forms.ContainerControl..ctor () [0x00000] in :0
at System.Windows.Forms.UserControl..ctor () [0x00000] in :0
at fN..ctor () [0x00000] in :0
at (wrapper remoting-invoke-with-check) fN:.ctor ()
at cD.a () [0x00000] in :0
at ax.a () [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.ArgumentNullException: Could not open display (X-Server required. Check you DISPLAY environment variable)
Parameter name: Display
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in :0
at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in :0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in :0
at System.Windows.Forms.XplatUI..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in :0
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in :0
at System.Windows.Forms.Control..ctor () [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.Control..ctor () [0x00000] in :0
at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in :0
at System.Windows.Forms.ContainerControl..ctor () [0x00000] in :0
at System.Windows.Forms.UserControl..ctor () [0x00000] in :0
at fN..ctor () [0x00000] in :0
at (wrapper remoting-invoke-with-check) fN:.ctor ()
at cD.a () [0x00000] in :0
at ax.a () [0x00000] in :0
mprowe@gzunder:~>
Code: Select all
gzunder:~ # X -version
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.14.3.901 (1.14.4 RC 1)
Release Date: 2013-10-26
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux gzunder 3.11.10-17-desktop #1 SMP PREEMPT Mon Jun 16 15:28:13 UTC 2014 (fba7c1f) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.10-17-desktop root=UUID=fc65b592-4b18-42f5-af86-28af4c8d081f splash=verbose showopts i8042.nopnp
Build Date: 17 April 2014 05:37:34AM
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
gzunder:~ #
Code: Select all
gzunder:~ # echo "$DISPLAY"
:0
gzunder:~ #
Code: Select all
cd /opt/picoscope/lib
mono PicoScope.GTK.exe
Code: Select all
cd /usr/local/picoscope/lib
export LD_LIBRARY_PATH=/usr/local/picoscope/lib
mono PicoScope.GTK.exe
Code: Select all
export MONO_PATH=/opt/picoscope/lib
cd /opt/picoscope/lib
exec sg $PICO_GROUP -c "$RUN_CMD /opt/picoscope/lib/PicoScope.GTK.exe" 2>&1 >/dev/null
Code: Select all
export MONO_PATH=/usr/local/picoscope/lib
cd /usr/local/picoscope/lib
exec sg $PICO_GROUP -c "$RUN_CMD /usr/local/picoscope/lib/PicoScope.GTK.exe" 2>&1 >/dev/null
Code: Select all
Exception: Error: Unhandled Exception:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: picoipp
Code: Select all
cd /usr/local/picoscope/lib
export LD_LIBRARY_PATH=/usr/local/picoscope/lib
mono PicoScope.GTK.exe
Code: Select all
export MONO_PATH=/opt/picoscope/lib
cd /opt/picoscope/lib
exec sg $PICO_GROUP -c "$RUN_CMD /opt/picoscope/lib/PicoScope.GTK.exe" 2>&1 >/dev/null
Code: Select all
export MONO_PATH=/usr/local/picoscope/lib
cd /usr/local/picoscope/lib
exec sg $PICO_GROUP -c "$RUN_CMD /usr/local/picoscope/lib/PicoScope.GTK.exe" 2>&1 >/dev/null
Right on the money Mario!! No libpicoipp.so to be found on my system?Is /opt/picoscope/lib/libpicoipp.so present on your system? Should, it comes as dependency during installation... Unless the situation with /opt being on NFS manifested itself on loader cache side. Try running picoscope from mapped directory source (assuming /usr/local/picoscope):
Code: Select all
gzunder:~ # ldconfig -p | grep /opt/picoscope
libps6000.so.2 (libc6,x86-64) => /opt/picoscope/lib/libps6000.so.2
libps6000.so (libc6,x86-64) => /opt/picoscope/lib/libps6000.so
libps5000a.so.2 (libc6,x86-64) => /opt/picoscope/lib/libps5000a.so.2
libps5000a.so (libc6,x86-64) => /opt/picoscope/lib/libps5000a.so
libps5000.so.2 (libc6,x86-64) => /opt/picoscope/lib/libps5000.so.2
libps5000.so (libc6,x86-64) => /opt/picoscope/lib/libps5000.so
libps4000a.so.2 (libc6,x86-64) => /opt/picoscope/lib/libps4000a.so.2
libps4000a.so (libc6,x86-64) => /opt/picoscope/lib/libps4000a.so
libps4000.so.2 (libc6,x86-64) => /opt/picoscope/lib/libps4000.so.2
libps4000.so (libc6,x86-64) => /opt/picoscope/lib/libps4000.so
libps3000a.so.2 (libc6,x86-64) => /opt/picoscope/lib/libps3000a.so.2
libps3000a.so (libc6,x86-64) => /opt/picoscope/lib/libps3000a.so
libps3000.so.2 (libc6,x86-64) => /opt/picoscope/lib/libps3000.so.2
libps3000.so (libc6,x86-64) => /opt/picoscope/lib/libps3000.so
libps2000a.so.2 (libc6,x86-64) => /opt/picoscope/lib/libps2000a.so.2
libps2000a.so (libc6,x86-64) => /opt/picoscope/lib/libps2000a.so
libps2000.so.2 (libc6,x86-64) => /opt/picoscope/lib/libps2000.so.2
libps2000.so (libc6,x86-64) => /opt/picoscope/lib/libps2000.so
libpicoipp.so.1 (libc6,x86-64) => /opt/picoscope/lib/libpicoipp.so.1
libpicoipp.so (libc6,x86-64) => /opt/picoscope/lib/libpicoipp.so
libiomp5.so (libc6,x86-64) => /opt/picoscope/lib/libiomp5.so
gzunder:~ #