Picoscope not starting with RHEL 7.2

Discussion forum for the Picoscope 6 Linux software
Post Reply
DeJe
Newbie
Posts: 0
Joined: Thu Oct 12, 2017 11:49 am

Picoscope not starting with RHEL 7.2

Post by DeJe »

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 () [0x00094] in <89dac5b0980f4cf6907dd70dd80d8a00>:0 at Pico.î.î () [0x00044] in <89dac5b0980f4cf6907dd70dd80d8a00>:0 at Pico.î.Run (System.Collections.Generic.List`1[T] startupErrors) [0x0001b] in :0 at Pico.î.Main () [0x00161] in <89dac5b0980f4cf6907dd70dd80d8a00>: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 Unhandled Exception:System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPl us' 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.Dispose () [0x00017] in <1917aa1c39d94b1a91807b8cd9f03350>:0 at Pico.î¬..ctor () [0x000b2] in <89dac5b0980f4cf6907dd70dd80d8a00>:0 at Pico.î.î () [0x00044] in <89dac5b0980f4cf6907dd70dd80d8a00>:0 at Pico.î.Run (System.Collections.Generic.List`1[T] startupErrors) [0x0001b] in :0 at Pico.î.Main () [0x00161] in <89dac5b0980f4cf6907dd70dd80d8a00>: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 double checked that both picoscope and picomono is there and also "/opt/picomono/lib/libgdiplus.so" definitely exists with all required links.

Any idea what could be wrong?

regards,
DeJe
-->
We do have an issue with latest Version.
I have install PicoScope on one Workstation in September this year and this install works great.
No I installed it on 2 more workstations and it fails to start. I followed the installation instructions for RHEL (https://www.picotech.com/downloads/linux) and the installation itself went well.
I did also adjusted the user to be in group pico.
All three workstation have same RHEL 7.2 installed (it's an unattended setup routine).

But if I start picoscope (from console) nothing happens on the two newer workstations. Here is the trace.xml:

Code: Select all


    Trace opened 10/17/2017.
    Application 'PicoScope 6 Beta' (version 6.12.9.35) starting.
    9646EFB8CFF12D953BA0B91A35D83FB3
    User is not Guest
    No Administrator Privileges
    Failed to detect access rights
    Host Operating System - Linux
    OS Version - Unix 3.10.0.327
    .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 08:23:38 BST 2017)
    Current Directory - /opt/picoscope/lib
    Processor Count - 8
    64Bit Operating System - True
    64Bit Process - True
    Command Line - /opt/picoscope/lib/PicoScope.GTK.exe
    Settings file version - 11.3.0
    Preferences file version - 2.0.0
    Probes file version - 1.0.0
    Data file binary header version - 1
    Using default culture: English (United States).
    Unhandled Exception:System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPl
us' 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 () [0x00094] in <89dac5b0980f4cf6907dd70dd80d8a00>:0 
  at Pico.î.î () [0x00044] in <89dac5b0980f4cf6907dd70dd80d8a00>:0 
  at Pico.î.Run (System.Collections.Generic.List`1[T] startupErrors) [0x0001b] in :0 
  at Pico.î.Main () [0x00161] in <89dac5b0980f4cf6907dd70dd80d8a00>: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 
    Unhandled Exception:System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPl
us' 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.Dispose () [0x00017] in <1917aa1c39d94b1a91807b8cd9f03350>:0 
  at Pico.î¬..ctor () [0x000b2] in <89dac5b0980f4cf6907dd70dd80d8a00>:0 
  at Pico.î.î () [0x00044] in <89dac5b0980f4cf6907dd70dd80d8a00>:0 
  at Pico.î.Run (System.Collections.Generic.List`1[T] startupErrors) [0x0001b] in :0 
  at Pico.î.Main () [0x00161] in <89dac5b0980f4cf6907dd70dd80d8a00>: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 double checked that both picoscope and picomono is there and also "/opt/picomono/lib/libgdiplus.so" definitely exists with all required links.

Any idea what could be wrong?

regards,
DeJe