i have installed the Picoscope software from the repository. If i want to start the software i get this error message:
File: trace.xml
Path: /home/phil/.local/share/Pico Technology/260a68f1-c314-451b-830f-0a5e01d65514/trace.xml
Contents: Trace opened 10.11.2019. Application 'PicoScope 6 Beta' (version 6.13.7.707) starting. 60BFBF01CAA739640A71C8DDD600E6AD User is not Guest No Administrator Privileges Failed to detect access rights Host Operating System - Linux OS Version - Unix 5.0.0.32 .net Version - 4.0.30319.42000 Running on Mono - True Mono Display Name - 4.6.2 (Stable 4.6.2.16/ac9e222 Thu Apr 20 10:05:37 BST 2017) Current Directory - /opt/picoscope/lib Processor Count - 2 64Bit Operating System - True 64Bit Process - True Command Line - /opt/picoscope/lib/PicoScope.GTK.exe Settings file version - 11.3.1 Preferences file version - 2.0.0 Probes file version - 1.0.0 Data file binary header version - 1 Creating Preferences file. Using default culture: English (United States). Unhandled Exception 1:System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: /opt/picomono/lib/libgdiplus.so
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000cc] in <1917aa1c39d94b1a91807b8cd9f03350>:0
--- End of inner exception stack trace ---
at System.Drawing.Icon.GetInternalBitmap () [0x0000b] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at System.Drawing.Icon.ToBitmap () [0x0001b] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Icon:ToBitmap ()
at Pico...ctor () [0x00097] in <6b774d82131044baaefb7b6415580f0b>:0
at Pico.. () [0x00044] in <6b774d82131044baaefb7b6415580f0b>:0
at Pico..RunApplication (System.Collections.Generic.List`1[T] startupErrors) [0x00037] in <2ee687ea0fcb44359ca9fe09ef46e18c>:0
at Pico.. () [0x00103] in <6b774d82131044baaefb7b6415580f0b>:0
at Pico..Main () [0x00040] in <6b774d82131044baaefb7b6415580f0b>:0 Inner Exception:System.DllNotFoundException: /opt/picomono/lib/libgdiplus.so
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000cc] in <1917aa1c39d94b1a91807b8cd9f03350>:0 Trace Closing
I'am using Linux Ubuntu 18.04 LTS. So what can i do?
Trace opened 11/20/2019.Application 'PicoScope 6 Beta' (version 6.13.7.707) starting.C5076770FE2CF38082C8B59678A0A28AUser is not GuestAdministrator PrivilegesFailed to detect access rightsHost Operating System - LinuxOS Version - Unix 5.0.0.36.net Version - 4.0.30319.42000Running on Mono - TrueMono Display Name - 4.6.2 (Stable 4.6.2.16/ac9e222 Thu Apr 20 10:05:37 BST 2017)Current Directory - /opt/picoscope/libProcessor Count - 464Bit Operating System - True64Bit Process - TrueCommand Line - /opt/picoscope/lib/PicoScope.GTK.exeSettings file version - 11.3.1Preferences file version - 2.0.0Probes file version - 1.0.0Data file binary header version - 1Creating Preferences file.Using default culture: English (United States).Unhandled Exception 1:System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: /opt/picomono/lib/libgdiplus.so
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000cc] in <1917aa1c39d94b1a91807b8cd9f03350>:0
--- End of inner exception stack trace ---
at System.Drawing.Icon.GetInternalBitmap () [0x0000b] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at System.Drawing.Icon.ToBitmap () [0x0001b] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Icon:ToBitmap ()
at Pico...ctor () [0x00097] in <6b774d82131044baaefb7b6415580f0b>:0
at Pico.. () [0x00044] in <6b774d82131044baaefb7b6415580f0b>:0
at Pico..RunApplication (System.Collections.Generic.List`1[T] startupErrors) [0x00037] in <2ee687ea0fcb44359ca9fe09ef46e18c>:0
at Pico.. () [0x00103] in <6b774d82131044baaefb7b6415580f0b>:0
at Pico..Main () [0x00040] in <6b774d82131044baaefb7b6415580f0b>:0 Inner Exception:System.DllNotFoundException: /opt/picomono/lib/libgdiplus.so
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000cc] in <1917aa1c39d94b1a91807b8cd9f03350>:0 Trace Closing
The package does not have any ownership. I just reinstalled the picoscope package with all it's supplementing packages, but the outcome of the commands is the very same.
OK, I'm not sure why, but on my system it's linked to library in /lib64. On your system it's linked to the file in the same directory. Check if you have that library somewhere else in the system. It's part of libgdiplus - if you don't have it installed - install it and try to use it (replace the links with links pointing the the newly installed libgdiplus). I don't know if it's going to help, but it's worth a try.
I had the same problem on Linux Mint 19.3. Solution to this issue for me was fresh install of Picoscope Software with libc6-dev and libgdiplus installed before fresh install:
I had the same problem on Linux Mint 19.3. Solution to this issue for me was fresh install of Picoscope Software with libc6-dev and libgdiplus installed before fresh install: