Discussion:
Just installed maxima-clisp-sbcl-5.40.0-win64.exe
Add Reply
Paul Werkowski
2017-07-24 19:35:08 UTC
Reply
Permalink
Raw Message
I startup wxmaxima and get this

"Message from maxima's stderr stream: 'MySQL' is not recognized as an
internal or external command,
operable program or batch file.
'MySQL' is not recognized as an internal or external command,
operable program or batch file."

Where the heck did that come from? I do have MySQL installed but why
would wxmaxima care and how would it know?

BTW that text appears in color Red in a cell.
Gunter Königsmann
2017-07-25 04:30:34 UTC
Reply
Permalink
Raw Message
In the configuration dialogue you can choose which program is to be run. On windows this should be a maxima.bat file, on Linux Maxima without a ".bat"...
...my guess is that for some reason on your system the string instead reads MySQL. But don't ask me how that has happened.

Alternatively a wild guess would be that your system cannot find Maxima but contains a spell checker that automatically executes a command with a similar name... Which would be positively dangerous. But I have seen such a thing already.

Or that the heuristics in maxima.bat/Maxima (which is a shell script) widely misses it's aim. But the shell scripts are quite straightforward so I don't really believe that this might be the case...

Where did you get Maxima from and which type of system do you run (ubuntu/win/max/rhel/...)?

Kind regards,

Gunter.
Post by Paul Werkowski
I startup wxmaxima and get this
"Message from maxima's stderr stream: 'MySQL' is not recognized as an
internal or external command,
operable program or batch file.
'MySQL' is not recognized as an internal or external command,
operable program or batch file."
Where the heck did that come from? I do have MySQL installed but why
would wxmaxima care and how would it know?
BTW that text appears in color Red in a cell.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Maxima-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
--
Diese Nachricht wurde von meinem Android-GerÀt mit K-9 Mail gesendet.
Paul Werkowski
2017-07-25 13:25:18 UTC
Reply
Permalink
Raw Message
On Windows 10 64-bit I have Maxima versions 5.38.1 and 5.40.0 installed,
both from sourceforge.net

If I go to the c:\maxima-<version>\bin folder and double-click
maxima.bat I get similar console screens containing this MySQL warning
(see screen capture segments at the dropbox link below).

If instead, I go to c:\maxima-<version>\wxMaxima and double-click
wxmaxima.exe I get the same wxmaxima screen except the 5.38.1 screen is
blank while the 5.40.0 screen has the mystery message (see link below).

It appears that the older wxmaxima either does not see the MySql warning
or else filters it out?

If I repeat the experiment with maxima 5.40.0 installed on a clean
Windows 10 running on a VMware VM (no MySQL installed) the mystery
message does not appear.

I am not proficient in reading .bat script. Can anyone tell me the
actual software that gets run by maxima.bat such as I could run it
myself from either windows 'run' or the PowerShell ? All I would need
is the minimum info to get the lowest level SW to run for now.

https://www.dropbox.com/sh/hkgugdbv3h5zdp6/AAC7nXuaRMiQ2Et2YTheeueVa?dl=0

Paul
Post by Gunter Königsmann
In the configuration dialogue you can choose which program is to be
run. On windows this should be a maxima.bat file, on Linux Maxima
without a ".bat"...
...my guess is that for some reason on your system the string instead
reads MySQL. But don't ask me how that has happened.
Alternatively a wild guess would be that your system cannot find
Maxima but contains a spell checker that automatically executes a
command with a similar name... Which would be positively dangerous.
But I have seen such a thing already.
Or that the heuristics in maxima.bat/Maxima (which is a shell script)
widely misses it's aim. But the shell scripts are quite
straightforward so I don't really believe that this might be the case...
Where did you get Maxima from and which type of system do you run
(ubuntu/win/max/rhel/...)?
Kind regards,
Gunter.
Am 24. Juli 2017 21:35:08 MESZ schrieb Paul Werkowski
I startup wxmaxima and get this
"Message from maxima's stderr stream: 'MySQL' is not recognized as an
internal or external command,
operable program or batch file.
'MySQL' is not recognized as an internal or external command,
operable program or batch file."
Where the heck did that come from? I do have MySQL installed but why
would wxmaxima care and how would it know?
BTW that text appears in color Red in a cell.
------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites,Slashdot.org <http://Slashdot.org>!http://sdm.link/slashdot
------------------------------------------------------------------------
Maxima-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
--
Diese Nachricht wurde von meinem Android-GerÀt mit K-9 Mail gesendet.
Gunter Königsmann
2017-07-25 14:28:23 UTC
Reply
Permalink
Raw Message
Unfortunately I have not too much experience with .bat files. But as they are text-only one approach would be the successive-approximation-method: remove about half of the commands and see in which half the MySQL thingy is triggered, then find out which half of the half causes the problem...

But I can acknowledge that in wxMaxima I've spend much time in unmuting error messages that are helpful for debugging.

Kind regards,

Gunter.
--
Diese Nachricht wurde von meinem Android-GerÀt mit K-9 Mail gesendet.
Wolfgang Dautermann
2017-07-25 15:19:53 UTC
Reply
Permalink
Raw Message
Post by Paul Werkowski
'MySQL' is not recognized as an internal or external command,
operable program or batch file."
Where the heck did that come from? I do have MySQL installed but why
would wxmaxima care and how would it know?
Hi,

ok, I assume, I found the issue:
https://github.com/cmderdev/cmder/issues/443

MySQL seems to add a directory with an "&" in the %PATH% variable - eg.
"C:\Program Files (x86)\MySQL\MySQL Fabric 1.5.4 & MySQL Utilities 1.5.4
1.5"
(I assume, the version numbers are different, but otherwise it should be
similar). and in maxima.bat we do (currently) not quote it. So the command:

set
path=%maxima_prefix%/gnuplot;%maxima_prefix%/gnuplot/bin;%maxima_prefix%/bin;%path%
appears as two commands - The first ends with
...MySQL Fabric
the second command is then called:
MySQL Utilities 1.5.4 1.5
And the command "MySQL" is then probably not found.

Before I commit that - can you try, if changing the following line in
c:\maxima-5.40.0\bin\maxima.bat:

set
path=%maxima_prefix%/gnuplot;%maxima_prefix%/gnuplot/bin;%maxima_prefix%/bin;%path%

to

set
"path=%maxima_prefix%/gnuplot;%maxima_prefix%/gnuplot/bin;%maxima_prefix%/bin;%path%"

(that should be in one line, my mail program will probably insert a
linebreak) solves the issue for you? (and if not - can you open a
command window (cmd) and send the result of
echo %path%
?)


That bug - if the quoting of set "path=...;%path%" solves the issue -
seem to be in Maxima since 2004 (commit [369922]), I really wonder, why
it never occured until now.

Best regards, Wolfgang

Loading...