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

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline micky  
#1 Posted : 17 January 2022 19:28:57(UTC)
micky

Rank: Newbie

Groups: Registered
Joined: 17/01/2022(UTC)
Posts: 2
Germany

Hi,

i like to use smath studio on linux with the maxima plugin.

I have set a link from maxima.bat to maxima but when I try to set the path for maxima i get the following error.

What can I do to solve this issue.

System.IO.DirectoryNotFoundException: Could not find a part of the path "/home/schwm/.config/SMath/extensions\plugins\44011c1e-5d0d-4533-8e68-e32b5badce41/maxima.xml".
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00164] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean useAsync) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool)
at System.Xml.XmlWriterSettings.CreateWriter (System.String outputFileName) [0x00051] in <7ff8f64b3a334d14838f500f5ad27e36>:0
at System.Xml.XmlWriter.Create (System.String outputFileName, System.Xml.XmlWriterSettings settings) [0x0000a] in <7ff8f64b3a334d14838f500f5ad27e36>:0
at .. (System.String , System.Collections.Generic.List`1[T] , System.Collections.Generic.List`1[T] , System.Collections.Generic.List`1[T] , System.Collections.Generic.List`1[T] , System.Collections.Generic.List`1[T] ) [0x0002d] in <cc88f39313b64bb88550562487f557fc>:0
at .. () [0x00219] in <cc88f39313b64bb88550562487f557fc>:0
at .. (System.String ) [0x0003e] in <cc88f39313b64bb88550562487f557fc>:0
at MaximaPlugin.MForms.SettingsForm. (System.Object , System.EventArgs ) [0x000e9] in <cc88f39313b64bb88550562487f557fc>:0
at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00019] in <6d635ac3dc1c4424ad385ded79f1e868>:0
at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00011] in <6d635ac3dc1c4424ad385ded79f1e868>:0
at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00069] in <6d635ac3dc1c4424ad385ded79f1e868>:0
at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <6d635ac3dc1c4424ad385ded79f1e868>:0
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00078] in <6d635ac3dc1c4424ad385ded79f1e868>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x001b4] in <6d635ac3dc1c4424ad385ded79f1e868>:0
at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00037] in <6d635ac3dc1c4424ad385ded79f1e868>:0
at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in <6d635ac3dc1c4424ad385ded79f1e868>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <6d635ac3dc1c4424ad385ded79f1e868>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <6d635ac3dc1c4424ad385ded79f1e868>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <6d635ac3dc1c4424ad385ded79f1e868>:0

Thanks

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

Offline mkraska  
#2 Posted : 17 January 2022 21:07:13(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,985
Germany

Was thanked: 1124 time(s) in 721 post(s)
Originally Posted by: micky Go to Quoted Post
Hi,

i like to use smath studio on linux with the maxima plugin.

I have set a link from maxima.bat to maxima but when I try to set the path for maxima i get the following error.

What can I do to solve this issue.

Thanks


Currently, the maxima plugin doesn't work under linux. It might be possible though.

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 18/01/2022(UTC)
Offline micky  
#3 Posted : 18 January 2022 10:18:44(UTC)
micky

Rank: Newbie

Groups: Registered
Joined: 17/01/2022(UTC)
Posts: 2
Germany

Hi,

you said it could be possible. What must be done to get the plugin working under Linux.

Thanks
Micky
Offline mkraska  
#4 Posted : 18 January 2022 13:41:40(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,985
Germany

Was thanked: 1124 time(s) in 721 post(s)
Originally Posted by: micky Go to Quoted Post
Hi,

you said it could be possible. What must be done to get the plugin working under Linux.

Thanks
Micky


The plugin runs maxima in command line mode via a local IP connection. I think under linux the system call to start maxima is different. Assuming that the problem is actually in that system call (which I am not really sure about), I see two ways to solve the problem:

- to provide an executable script maxima.bat under linux, which can be called by the plugin
- to find out what call must be made under linux and to use that in the plugin as an OS-specific command.

Feel free to play around with the source code, it is all in the SVN repository ("Code" button in the forum header).

Note that under Windows, Steel Bank Common Lisp is used because it is unicode-proof. If this is not available or behaving differently under Linux, additional problems might show up once the connection is working.

Actually, wxmaxima is an application which also runs maxima in the background, so their source code should provide hints.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline overlord  
#5 Posted : 18 January 2022 20:33:21(UTC)
overlord


Rank: Advanced Member

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

Was thanked: 507 time(s) in 338 post(s)
Maxima is included near every repository.
And it can evaluate expressions from terminal.
Actually it should be easier to work with it under linux.
Can maxima plugin use this to its advantage?

Code:
$ maxima --batch-string="integrate(sin(x),x);"
Maxima 5.45.1 https://maxima.sourceforge.io
using Lisp SBCL 2.2.0.void.2
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) integrate(sin(x),x)
(%o1)                              - cos(x)
Offline mkraska  
#6 Posted : 19 January 2022 02:36:48(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,985
Germany

Was thanked: 1124 time(s) in 721 post(s)
Originally Posted by: overlord Go to Quoted Post
Maxima is included near every repository.
And it can evaluate expressions from terminal.
Actually it should be easier to work with it under linux.
Can maxima plugin use this to its advantage?


Definitely. Perhaps it is sufficient to adapt [url=smath.info:8443/!/#public/view/head/plugins/MaximaPlugin/MaximaPlugin/ControlObjects/AutoMaxima.cs]AutoMaxima.cs[/url]. However, I have no linux system and can't test.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
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.