Package Details: smath 0_98_5935-2

Git Clone URL: https://aur.archlinux.org/smath.git (read-only)
Package Base: smath
Description: A mathematical program with many features and paper-like interface, similar to Mathcad
Upstream URL: http://smath.info
Keywords: mathcad mathematics smath
Licenses: CCPL
Groups: math
Submitter: tomracing
Maintainer: tomracing
Last Packager: tomracing
Votes: 2
Popularity: 0.529003
First Submitted: 2016-01-10 10:32
Last Updated: 2016-05-27 18:29

Latest Comments

burjui commented on 2016-09-26 01:16

Why downloading from Dropbox instead of the official site?

tomracing commented on 2016-05-27 18:31

pkg version 2 now has the giflib restriction removed.

silent commented on 2016-05-27 18:23

Please remove <5.1.2 condition for giflib from the PKGBUILD

archmkr commented on 2016-05-25 13:47

Great, I just did the same and its all working.

tomracing commented on 2016-05-24 20:46

giflib 5.1.4-1 just came out.
After doing a normal -Syu and checking things work as normal I updated giflib with another -Syud (the -d stops the dependency check)
For me Smath works with 5.1.4.
If others would like to confirm I will remove the giflib requirement end of the week.

tomracing commented on 2016-04-30 14:49

I've updated to the latest stable 98.5935
Also added the dependency giflib<5.1.2 hope that works for people to keep it at 5.1.1

archmkr commented on 2016-04-28 21:54

Great!

I can confirm that downgrading to giflib-5.1.1-1 it works, thanks!
Maybe you could add a constrain about that in this pckg itself?

tomracing commented on 2016-04-28 21:40

Well I had some time to find out what caused the breakage and I found it!
downgrade giflib to giflib-5.1.1-1
the current version is 5.1.2-1 which breaks smath.

I will start a forum thread to get help on where and how to report the bug.
For now roll back and ignorepkg = giflib if you want smath to work.

archmkr commented on 2016-04-25 11:02

Ok, thanks for reply. Now I have tried to run with the oldest available (libgdiplus-3.8-1) and get the same error.

Reading some other topics related to "GDI+ status: InvalidParameter" I found some suggestions that what could be wrong is some image parameter. If it is the case, I can remember to read about some user who fixed something like this by manually converting images of some software using imagemagick.

tomracing commented on 2016-04-25 06:30

Thanks for helping to try to fix this.
The developer of smath has not responded on his forum yet unfortunately.

Dependencies of mono are listed as:
[code]Dependencies (5)
ca-certificates
libgdiplus>=3.8
python
sh (bash)
zlib[/code]

with the error line
[code]System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter] [/code]
we may have to look into libgdiplus.

archmkr commented on 2016-04-24 16:45

Same issue here (geli0n and tomracing).

The only dependency listed here is Mono.. So I have tried to run some newer (0.98) and some older (0.92 ~ 0.97) versions downgrading Mono:
mono-4.0.1.1-2-x86_64 (newest)-> same error
mono-4.0.1.1-1-x86_64 -> same error
mono-3.0.12-1-x86_64 (oldest from ALA/ARM) -> same plus other errors

Now I can imagine that it isn't caused by mono.

tomracing commented on 2016-04-05 18:57

I have exactly the same issue as you have geli0n and would like to have it fixed.
So far I have been trying rolling back various packages to find out what the source of the problem is.
I have not found a solution yet but would be happy with any ideas.
The only thing I do know is that the runtime version message is not the root cause as a ubuntu machine gives the same warning and still runs perfectly.

geli0n commented on 2016-04-05 17:01

program failed with exception:

WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
- [AppDir] HTML Export (1.13.5890.6147)
- [AppDir] Export to image (1.9.5890.6148)
- [AppDir] Picture Region (1.10.5890.6147)
- [AppDir] Plot Region (1.9.5890.6149)
- [AppDir] SMath Studio Files Plugin (1.9.5890.6149)
- [AppDir] Special Functions (1.11.5890.6146)
- [AppDir] Text Region (1.10.5890.6148)
- [AppDir] SMath Viewer Files Plugin (1.1.5890.6150)
- [AppDir] XMCD Files Plugin (1.12.5890.6148)
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (Status status) <0x40795be0 + 0x00147> in <filename unknown>:0
at System.Drawing.Image.get_Width () <0x407bb380 + 0x0002b> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Image:get_Width ()
at .. (System.Windows.Forms.PaintEventArgs ) <0x40a10f80 + 0x0020b> in <filename unknown>:0
at .. (System.Windows.Forms.PaintEventArgs ) <0x40a0f700 + 0x00bdf> in <filename unknown>:0
at .. (System.Windows.Forms.PaintEventArgs ) <0x40a0f240 + 0x0037f> in <filename unknown>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) <0x409e2f10 + 0x00157> in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) <0x407ac930 + 0x001f7> in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) <0x407ac900 + 0x00024> in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) <0x407ac8c0 + 0x00036> in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) <0x407ab000 + 0x003b4> in <filename unknown>:0