Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Eugenio F. Carrasco  
#1 Posted : 21 August 2024 05:51:26(UTC)
Eugenio F. Carrasco

Rank: Newbie

Groups: Registered
Joined: 21/08/2024(UTC)
Posts: 3
Spain
Location: Lugo

Hi all,

I have been using SMath Studio for several months, running as an AppImage on Linux Mint 21, without any problems. Recently, I upgraded to Linux Mint 22 and SMath Studio crashes when running. All errors are the following:

Quote:

eugenio@TARDIS:~ $ ./SMathStudioDesktop.1_1_8763.Mono.x86_64.ubuntu-22_04.glibc2.35.AppImage

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly:<unknown assembly> type:<unknown type> memberSadnull)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&Wink
at System.Drawing.GDIPlus..cctor () [0x000d4] in <728fbd68fe594062895e1f819791e76a>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at System.Drawing.Graphics.FromHdcInternal (System.IntPtr hdc) [0x00000] in <728fbd68fe594062895e1f819791e76a>:0
at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x0007e] in <a3daa9b84fd241a497578a25f68bc3c7>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <a3daa9b84fd241a497578a25f68bc3c7>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <a3daa9b84fd241a497578a25f68bc3c7>:0
at System.Windows.Forms.XplatUI..cctor () [0x000e3] in <a3daa9b84fd241a497578a25f68bc3c7>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in <a3daa9b84fd241a497578a25f68bc3c7>:0
at .. (System.String[] ) [0x0002d] in <868b174b35bf46d7860f868d305a3a08>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly:<unknown assembly> type:<unknown type> memberSadnull)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&Wink
at System.Drawing.GDIPlus..cctor () [0x000d4] in <728fbd68fe594062895e1f819791e76a>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at System.Drawing.Graphics.FromHdcInternal (System.IntPtr hdc) [0x00000] in <728fbd68fe594062895e1f819791e76a>:0
at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x0007e] in <a3daa9b84fd241a497578a25f68bc3c7>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <a3daa9b84fd241a497578a25f68bc3c7>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <a3daa9b84fd241a497578a25f68bc3c7>:0
at System.Windows.Forms.XplatUI..cctor () [0x000e3] in <a3daa9b84fd241a497578a25f68bc3c7>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in <a3daa9b84fd241a497578a25f68bc3c7>:0
at .. (System.String[] ) [0x0002d] in <868b174b35bf46d7860f868d305a3a08>:0
Restoring environment...


Any idea how I can fix this? Thanks.

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline overlord  
#2 Posted : 21 August 2024 07:52:29(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,159
Turkey

Was thanked: 526 time(s) in 352 post(s)
Can you look if libgdiplus is installed?
Error messages are referring to that library.
Offline Eugenio F. Carrasco  
#3 Posted : 22 August 2024 06:03:51(UTC)
Eugenio F. Carrasco

Rank: Newbie

Groups: Registered
Joined: 21/08/2024(UTC)
Posts: 3
Spain
Location: Lugo

Originally Posted by: overlord Go to Quoted Post
Can you look if libgdiplus is installed?
Error messages are referring to that library.


Yes it is installed on my system
Offline overlord  
#4 Posted : 22 August 2024 07:02:20(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,159
Turkey

Was thanked: 526 time(s) in 352 post(s)
Can you look if mono package is working?
Maybe some libraries of new mint is not compatible with appimage.

https://smath.com/en-US/view/SMathStudio/download
Offline Eugenio F. Carrasco  
#5 Posted : 26 August 2024 22:19:17(UTC)
Eugenio F. Carrasco

Rank: Newbie

Groups: Registered
Joined: 21/08/2024(UTC)
Posts: 3
Spain
Location: Lugo

Mono version does not work. I think that some libraries are not compatible with this SMath version...
Offline overlord  
#6 Posted : 26 August 2024 23:28:14(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,159
Turkey

Was thanked: 526 time(s) in 352 post(s)
Originally Posted by: Eugenio F. Carrasco Go to Quoted Post
Mono version does not work. I think that some libraries are not compatible with this SMath version...

Debian and debian based distros are always problematic with mono.
If you can make smath run with sudo, then there is a possible workaround.
Otherwise I'm sorry, it is debian (or ubuntu or mint)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.