AppImage File Crashes on Linux Mint v22 - I am using Linux Mint v22 and when I attempt to run the ".AppImage" file, it crashes? - Messages
Quote
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:type: member null)
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 (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:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in:0
at System.Windows.Forms.XplatUI..cctor () [0x000e3] in:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in: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:type: member null)
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 (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:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in:0
at System.Windows.Forms.XplatUI..cctor () [0x000e3] in:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in:0
at .. (System.String[] ) [0x0002d] in <868b174b35bf46d7860f868d305a3a08>:0
Restoring environment...
WroteI am using Linux Mint v22 and when I attempt to run the ".AppImage" file, it crashes with the following errors:
I have the same problem on LM22 and sent this report to the developer many weeks ago but I haven't got any answer
I added and recompiled appimage with libgdiplus symlinks added.
Now it works. I don't know why Andrev didn't add those links, who knows?
Download appimage linked below, I have tried with linuxmint_22 live iso.
Regards
SMathStudioDesktop.1.2.9038-x86_64-linuxmint_22.glibc2.35.AppImage.tar.gz (11 MiB) downloaded 110 time(s).
WroteI have tried with linuxmint_22 live iso.
Thanks so much. Now it works.
Does the sMath author have any activity? No respond of email request or forum topic.
WroteThis happens because libgdiplus in appimage has missing symlinks.
I added and recompiled appimage with libgdiplus symlinks added.
Now it works. I don't know why Andrev didn't add those links, who knows?
Download appimage linked below, I have tried with linuxmint_22 live iso.
Regards
SMathStudioDesktop.1.2.9038-x86_64-linuxmint_22.glibc2.35.AppImage.tar.gz (11 MiB) downloaded 110 time(s).
Hello.
Please, could you provide a script to create this appimage? We can integrate it into our build process and provide Mint v22 appimage package in future.
Thanks in advanced!
Best regards, Andrey Ivashov.
WroteHello.
Please, could you provide a script to create this appimage? We can integrate it into our build process and provide Mint v22 appimage package in future.
Thanks in advanced!
Best regards, Andrey Ivashov.
I did extract content of original smath appimage from terminal via --appimage-extract argument.
Added libgif.so and symlinks for libgdiplus.
Mono library replacement shouldn't be necessary, only for just in case.
Andrey, you can take my appimage and extract its content.
Only smath file updates should be enough for new appimage creation.
Regards
Usually it is creating the havoc, because of it also mono libraries too.
WroteI added and recompiled appimage with libgdiplus symlinks added.
Could you fix the latest appImage?
WroteCould you fix the latest appImage?
What do you mean by fix?
The file I have uploaded should already works for linuxmint 22.
WroteWroteCould you fix the latest appImage?
What do you mean by fix?
The file I have uploaded should already works for linuxmint 22.
There is a new 1.3.0.9126 version
WroteThere is a new 1.3 version
Really? I didn't even update my SMath.
I am going to look it, post here when it is done.
Regards
New version doesn't work on linux.
When any plugin is installed,
SMath crashes when reopened.
Going to inspect further...
This should work now, please check it and report.
Regards
SMathStudioDesktop.1_3_0_9126.Mono.x86_64.linuxmint-22.glibc2.35.AppImage.tar.gz (11 MiB) downloaded 102 time(s).
I only added export MONO_WINFORMS_XIM_STYLE=disabled before exec mono.
It prevents a stupid mono bug keeping applications crash at start.
Change is applied to smath_launcher in appimage.
For the lacking of button texts, it is probably mono error.
Possibly I can't do anything about that.
Regards
SMathStudioDesktop.1_3_0_9126.Mono.x86_64.linuxmint-22.glibc2.35.AppImage.tar.gz (11 MiB) downloaded 102 time(s).
-
New Posts
-
No New Posts