1 страниц (3 вхождений)
SMath not working in Archlinux - error making smath unable to run in archlinux - Сообщения
#1 Опубликовано: 05.04.2016 15:52:07
Upon running the mono version in Archlinux a couple of warnings are given and followed by an argument exception.
In Ubuntu the warning about run time is also shown but the program runs as expected.
So far I've tried in Arch:
- rolling back mono versions to where smath was still working
- changing the icon png to something that (probably not the root cause)
- finding out what the GDI+ cause could be but so far that points more to the compile or the program design?
I would really like to use Smath again on my arch boxes so any help to fix this would be very welcome.
Here is the output on the terminal upon calling ./smathstudio_desktop_mono
In Ubuntu the warning about run time is also shown but the program runs as expected.
So far I've tried in Arch:
- rolling back mono versions to where smath was still working
- changing the icon png to something that (probably not the root cause)
- finding out what the GDI+ cause could be but so far that points more to the compile or the program design?
I would really like to use Smath again on my arch boxes so any help to fix this would be very welcome.
Here is the output on the terminal upon calling ./smathstudio_desktop_mono
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) <0x40a17db0 + 0x0015f> in <filename unknown>:0
at System.Drawing.Image.get_Width () <0x40a3a810 + 0x0002b> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Image:get_Width ()
at .. (System.Windows.Forms.PaintEventArgs ) <0x40b90710 + 0x0020b> in <filename unknown>:0
at .. (System.Windows.Forms.PaintEventArgs ) <0x40b8ee70 + 0x00bf3> in <filename unknown>:0
at .. (System.Windows.Forms.PaintEventArgs ) <0x40b8e990 + 0x00393> in <filename unknown>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) <0x40b61810 + 0x00157> in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) <0x40a2b910 + 0x001f7> in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) <0x40a2b8e0 + 0x00024> in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) <0x40a2b8a0 + 0x00036> in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) <0x40a29f60 + 0x003c0> in <filename unknown>:0
#2 Опубликовано: 29.04.2016 03:40:23
So after some testing we found it was related to giflib.
Version 5.1.2-1 breaks Smath
rolling back to 5.1.1-1 Smath works as normal
giflib is a dependency of GDIplus
Terminal messages reduced to:
I will try to file a bug with giflib but perhaps we can also check on this end what happens?
For now I haven't tried to see what Ubuntu uses but guessing it is still giflib 5.1.1-1
Version 5.1.2-1 breaks Smath
rolling back to 5.1.1-1 Smath works as normal
giflib is a dependency of GDIplus
Terminal messages reduced to:
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
I will try to file a bug with giflib but perhaps we can also check on this end what happens?
For now I haven't tried to see what Ubuntu uses but guessing it is still giflib 5.1.1-1
2 пользователям понравился этот пост
#3 Опубликовано: 20.08.2016 05:54:23
giflib5.1.4-1 solved the issue.
3 пользователям понравился этот пост
Andrey Ivashov 20.08.2016 06:06:00, Davide Carpi 20.08.2016 06:31:00, Alexander O. Melnik 20.08.2016 07:59:00
1 страниц (3 вхождений)
-
Новые сообщения
-
Нет новых сообщений