Picoscope not starting with RHEL 7.2

Discussion forum for the new Picoscope 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 » Tue Oct 17, 2017 1:01 pm

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

Hitesh
Advanced User
Advanced User
Posts: 2856
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Picoscope not starting with RHEL 7.2

Post by Hitesh » Thu Oct 19, 2017 12:28 pm

Hi Deje,

Have you tried running the software as a standard and super user?

I will submit the trace file to the Development Team and hope to provide an update once I have further information.

Regards,
Hitesh

Software Dev. Engineer

DeJe
Newbie
Posts: 0
Joined: Thu Oct 12, 2017 11:49 am

Re: Picoscope not starting with RHEL 7.2

Post by DeJe » Fri Oct 27, 2017 12:04 pm

Sorry for delay.
Yes I tried both su and standard user. Same thing happen for both.

regards,
DeJe

Hitesh
Advanced User
Advanced User
Posts: 2856
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Picoscope not starting with RHEL 7.2

Post by Hitesh » Fri Nov 24, 2017 9:31 am

Hi Deje,

Apologies for the late response too :oops:

I have had some discussions with colleagues in our Development Team who will investigate. Have you upgraded to the latest version of RHEL?

Regards,

Hitesh
Hitesh

Software Dev. Engineer

DeJe
Newbie
Posts: 0
Joined: Thu Oct 12, 2017 11:49 am

Re: Picoscope not starting with RHEL 7.2

Post by DeJe » Wed Dec 13, 2017 10:29 am

Well, I think the workstations are all upgraded from RHEL 7.x to 7.2
It's a nightly unattended update running.
As said, on one of the workstations picoscope is running OK. But on this one I had it installed some time ago. The other two picoscope was installed later, may be with RHEL 7.2 already upgraded.

DeJe
Newbie
Posts: 0
Joined: Thu Oct 12, 2017 11:49 am

Re: Picoscope not starting with RHEL 7.2

Post by DeJe » Thu Dec 14, 2017 12:18 pm

8) SOLVED!! :D

Hi again.
I solved the issue! I did investigate it again and found that libpng12.so was not installed on both failing hosts.
So I installed and picoscope got working instantly.

Thanks for your help.

Hitesh
Advanced User
Advanced User
Posts: 2856
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Picoscope not starting with RHEL 7.2

Post by Hitesh » Thu Dec 14, 2017 3:54 pm

Hi Deje,

Good to hear you found the cause of the issue. :)

Regards,
Hitesh

Software Dev. Engineer

Post Reply