appimage in Debian (MX Linux)

appimage in Debian (MX Linux) - doesn't work - Messages

#1 Posted: 2/21/2025 7:41:44 PM
bambuko

bambuko

0 likes in 6 posts.

Group: User

I have seen a lot of discussion here about problems with using SMath with Mint and Ubuntu,
but nobody mentioned my distro:
MX-23.5_KDE_x64 Libretto

I have downloaded appimage, made it executable and here is the result:

Quote

bambuko@mx-elitedesk:~/Applications/SMath_Studio
$ ./SMathStudioDesktop.1_3_0_9126.x86_64.ubuntu-22_04.glibc2.35.AppImage

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Drawing.Printing.SysPrn' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly: type: membernull)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000d4] in <728fbd68fe594062895e1f819791e76a>:0
--- End of inner exception stack trace ---
at System.Drawing.Printing.SysPrn..cctor () [0x00000] in <728fbd68fe594062895e1f819791e76a>:0
--- End of inner exception stack trace ---
at System.Drawing.Printing.PrinterSettings..ctor () [0x00000] in <728fbd68fe594062895e1f819791e76a>:0
at System.Drawing.Printing.PrintDocument..ctor () [0x00011] in <728fbd68fe594062895e1f819791e76a>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Printing.PrintDocument..ctor()
at SMath.Environment.DesktopAppEnv..ctor (System.String appNameInternational, System.String appNameLocal, System.Version appVersion, System.Boolean isWebApplication, System.String applicationPath, System.Boolean randomizeInstallationId) [0x00019] in <9ea83db511ca44e3bef101076f6663b2>:0
at SMath.Environment.DesktopAppEnv..ctor (System.String appNameInternational, System.String appNameLocal, System.Type appType, System.Boolean isWebApplication, System.String applicationPath, System.Boolean randomizeInstallationId) [0x00013] in <9ea83db511ca44e3bef101076f6663b2>:0
at SMath.Environment.AppSettingsDesktop.SetupGlobalProfile (System.String appNameInternational, System.String appNameLocal, System.Type appType, System.Boolean randomizeInstallationId) [0x00000] in <9ea83db511ca44e3bef101076f6663b2>:0
at .. (System.String[] ) [0x0001d] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Drawing.Printing.SysPrn' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly: type: membernull)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000d4] in <728fbd68fe594062895e1f819791e76a>:0
--- End of inner exception stack trace ---
at System.Drawing.Printing.SysPrn..cctor () [0x00000] in <728fbd68fe594062895e1f819791e76a>:0
--- End of inner exception stack trace ---
at System.Drawing.Printing.PrinterSettings..ctor () [0x00000] in <728fbd68fe594062895e1f819791e76a>:0
at System.Drawing.Printing.PrintDocument..ctor () [0x00011] in <728fbd68fe594062895e1f819791e76a>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Printing.PrintDocument..ctor()
at SMath.Environment.DesktopAppEnv..ctor (System.String appNameInternational, System.String appNameLocal, System.Version appVersion, System.Boolean isWebApplication, System.String applicationPath, System.Boolean randomizeInstallationId) [0x00019] in <9ea83db511ca44e3bef101076f6663b2>:0
at SMath.Environment.DesktopAppEnv..ctor (System.String appNameInternational, System.String appNameLocal, System.Type appType, System.Boolean isWebApplication, System.String applicationPath, System.Boolean randomizeInstallationId) [0x00013] in <9ea83db511ca44e3bef101076f6663b2>:0
at SMath.Environment.AppSettingsDesktop.SetupGlobalProfile (System.String appNameInternational, System.String appNameLocal, System.Type appType, System.Boolean randomizeInstallationId) [0x00000] in <9ea83db511ca44e3bef101076f6663b2>:0
at .. (System.String[] ) [0x0001d] in :0
Restoring environment...



Can anybody help, please?
#2 Posted: 2/22/2025 7:19:21 AM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Try file from this post, it works on mint and ubuntu.
I made a couple of corrections for this appimage.
Maybe it works for your distro too.

https://en.smath.com/forum/yaf_postsm86402_AppImage-File-Crashes-on-Linux-Mint-v22.aspx#post86402
#3 Posted: 2/22/2025 8:04:45 AM
bambuko

bambuko

0 likes in 6 posts.

Group: User

I have tried it before posting...
unfortunstely, no it doesn't work
#4 Posted: 2/22/2025 6:23:05 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

I have tried it before posting...
unfortunstely, no it doesn't work


Then I will download liveiso of your distro.
And I will try smath on it with qemu.

Please standby...
#5 Posted: 2/22/2025 6:34:37 PM
bambuko

bambuko

0 likes in 6 posts.

Group: User

Thank you,
hopefully we can get it working with Flatpak.
I am using Smath with https://usebottles.com/ at the moment but would prefer to avoid this complication....
#6 Posted: 2/22/2025 6:55:34 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

Thank you,
hopefully we can get it working with Flatpak.
I am using Smath with https://usebottles.com/ at the moment but would prefer to avoid this complication....


Probably, why it doesn't work is glibc/libgdiplus mismatch.
I will look further but most times problem is this.
#7 Posted: 2/22/2025 7:11:06 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

I did install mono-devel, libgdiplus and download mono package.
I extracted it and tried to run but it gives errors.
No wonder why appimage not working, mono executable doesn't work too.
#8 Posted: 2/22/2025 7:58:31 PM
bambuko

bambuko

0 likes in 6 posts.

Group: User

Yes, I know all these error messages :-)
thank you
#9 Posted: 2/22/2025 8:04:12 PM
bambuko

bambuko

0 likes in 6 posts.

Group: User

BTW there is another annoying problem with forum software as it is at the moment.
Email notices about your post give the following link:
http://en.smath.com/forum/yaf_postsm86558_appimage-in-Debian--MX-Linux.aspx#post86558

trying to use it leads to nowhere...

it should be:
https://en.smath.com/forum/yaf_postsm86558_appimage-in-Debian--MX-Linux.aspx#post86558

the same goes for SMath webpage - all the links there are also http instead of https.....

I guess it might also be to do with the way my browser is set?
#10 Posted: 2/23/2025 6:18:08 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Sorry to say I couldn't make it work.
I tried stable/nightly versions of mono.
Neither appimage or smath mono works on debian.
Only thing I didn't try is full recompile of mono.

As I have said many times;
Debian and/or its derivatives are not suitable for desktop usage.

Regards
#11 Posted: 2/23/2025 6:35:16 PM
bambuko

bambuko

0 likes in 6 posts.

Group: User

Thank you for trying.
  • New Posts New Posts
  • No New Posts No New Posts