bugGNU TeXmacs - Bugs: bug #35922, Maxima is not detected in Windows,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #35922: Maxima is not detected in Windows, but the location can be manually set

Submitter:  Adrian Soto <adriansoto>
Submitted:  Wed 21 Mar 2012 03:10:46 AM UTC
   
 
Category:  Windows port Priority:  7 - High
Item Group:  Error Status:  None
Privacy:  Public Assigned to:  _86389
Originator Name:  Open/Closed:  Closed
Release:  None Release: 
Fixed Release:  None Fixed Release:  1.99.11
Keywords:  windows maxima init-maxima plugin

Sun 22 Mar 2015 09:52:08 AM UTC, comment #5: 

A recent patch by Adrian fixes problems with paths in windows, he reports there's still an issue with whitespace in paths:

Adrian reports the following in the mailing list:

The problem with the spaces seems to be coming from the line in the file
init-maxima in the following part:

      `((:launch
         ,(string-append "maxima.bat -p \"" (getenv "TEXMACS_PATH")
                         "\\plugins\\maxima\\lisp\\texmacs-maxima.lisp\"")))


Escaping whitespace is easy. Just do something like:

(with path (string-replace (getenv "TEXMACS_PATH") " " "\\ ")
      `((:launch
         ,(string-append "maxima.bat -p \"" path
                    "\\plugins\\maxima\\lisp\\texmacs-maxima.lisp\"")))


Though ideally we'd want to escape any other weird chars.

However I fail to see how whitespace can be a problem here since the path is enclosed in double quotes. May it be a problem in maxima.bat?

Miguel de Benito <mdbenito>
Group Member
Fri 13 Feb 2015 01:14:05 PM UTC, comment #4: 

I just installed TeXmacs-1.99.2.8804-installer.exe, and Maxima 5.35.1.2, and TeXmacs did not recognize Maxima.

I tried to set it up manually and failed. Is there a work around?

Thank you.
-Adrian.

Adrian Soto <adriansoto>
Group Member
Tue 05 Feb 2013 09:18:19 AM UTC, comment #3: 

the sofwares could register themself in Windows |HKLM\SOFTWARE but they didn't,
except scilab and octave (At least for those i have installed)
But there is no standard for the format like InstallPath or InstallLocation ... To be usable this information should be in i.e. \HKLM\SOFTWARE\texmacs\version\InstallLocation.
So now it is more convenient to look for them in standard install locations.
At least, i will try to provide this information in next windows releases.


- <_86389>
Mon 04 Feb 2013 10:00:56 PM UTC, comment #2: 

Would it be possible to query the windows registry for installation paths? Does Maxima (or any other application) even store this information there?

Miguel de Benito <mdbenito>
Group Member
Mon 04 Feb 2013 08:46:05 PM UTC, comment #1: 

Now, some plugins like maxima, pari, ... are searched in standard Windows directories installation location (\.; \Program Files* for units c:,d: or e:). No need to modify le init-??.scm anymore. Although, it is possible to change the new 'winpath' variable in those files for a non standard installation. Absolute path are allowed.
New files are available in texmacs sources files repository

- <_86389>
Wed 21 Mar 2012 03:10:46 AM UTC, original submission:  

Maxima is not detected in Windows, though the location can be manually set.

In Vista, with texmacs 1.0.7.15, The Maxima plugin does not detect the Maxima instalation.

There is a way to manually fix it:
In the file init-maxima, one could insert

...
 (:serializer ,maxima-serialize)
(:launch "C:/PROGRA~1/Maxima-5.26.0/bin/maxima.bat -p
<WHERE-TEXMACS-WAS-INSTALLED>/TeXmacs/plugins/maxima/lisp/texmacs-maxima-5.11.0.lisp")
 (:session "Maxima")
...

In my case, I installed texmacs in my Desktop directory, and Maxima 5.26.0 in the default directory;  so I had in my init-maxima:

...
 (:serializer ,maxima-serialize)
(:launch "C:/PROGRA~1/Maxima-5.26.0/bin/maxima.bat -p
C:/Users/adrian/Desktop/TeXmacs/plugins/maxima/lisp/texmacs-maxima-5.11.0.lisp")
 (:session "Maxima")
..
After that, Maxima works fine.

I had to install in my Desktop directory, since it did not let me modify the file init-maxima otherwise.

This had already been noted in the texmacs-users e-mail list by chu-ching huang

Adrian Soto <adriansoto>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sadhen (Updated the item)
  • -email is unavailable- added by mdbenito (Updated the item)
  • -email is unavailable- added by adriansoto (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-05 sadhen Open/ClosedOpen Closed
        Fixed Release 1.99.11
    2015-03-22 mdbenito Open/ClosedClosed Open
    2013-02-04 _86389 Open/ClosedOpen Closed
    2012-09-09 mdbenito Priority5 - Normal 7 - High
        Assigned toNone _86389

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code