There have been many reports that wxMaxima does not connect to Maxima. If this happens to you, please reply to this thread instead of starting a new one. Answer the following questions and hopefully we will get enough information to fix this problem (if you don't know all the answers, please answer as many as you can).
Version of Maxima and wxMaxima (5.10.0 / 0.7.0a):
Did any of previous version work? Which?
Which version of wxWidgets are you using? Unicode or ansi?
Operating system (Windows XP):
Processor type (AMD64):
Does maxima work in command line?
Does xmaxima work?
Do you have a firewall installed? Which?
Do you have antivirus program installed? Which?
Thanks,
Andrej
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just installed Maxima and wxMaxima tonight and had this problem. wcMaxima would not be able to connect to Maxima.
OS: Windows XP Media Center Edition (XP Professional) SP2
CPU: AMD Athlon 64 X2
Current versions of Maxima and wxMaxima (5.10.0 & 0.7.0a)
I have DEP (Data Execution Prevention) turned on for all programs and services. I was able to get wxMaxima working by adding maxima.exe to the list of exceptions for DEP protection. Now wxMaxima works.
Control Panel >> System >> Advanced tab >> Performance Settings button >> Data Execution Prevention tab
Add
C:\Program Files\Maxima-5.10.0\lib\maxima\5.10.0\binary-gcl\maxima.exe
to the list of programs to ignore
Reboot (not sure if the reboot is necessary)
Now wxMaxima should be able to connect to Maxima and work.
Usually DEP will pop up a dialog when a program trips the DEP protection. But not in this case. It fails silently.
I have not put in a bug report. I'm not sure if it's a Maxima bug, wxMaxima bug, or what. Someone who knows more about the project can file the bug report.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, I can confirm. It was the DEP setting on Windows XP / AMD64. Just include maxima.exe as DEP-exception and it works (even without reboot): maxima.bat command line, wxMaxima and XMaxima! It is surely a bug in the LISP implementation from maxima.exe (LISP interpreter with executable data sections).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I reinstalled Linux fedora core 5 since I began having troubles with my system. With "locate xmaxima" I found xmaxima in /usr/bin/ but I couldn't
find xmaxima with my file browser. So, I reinstalled my OS. I installed wxMaxima . And it worked fine. I installed TeXmacs. And wxMaxima still worked fine.
I then installed some files to make maxima work with
TeXmacs and then I got the message "not connected with maxima"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2006-09-30
Hello, Jan. Could you please detail which are these "some files to make maxima work with TeXmacs" that you have installed?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
However I removed TeXmacs from mu pc and wxMaxima still didn't work. Then I removed wxMaxima and reinstalled it (TeXmacs still removed) and wxMaxima still didn't work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems that I was wrong with these files. I reinstalled my OS (fedora core 5). I first installed
wxMaxima . At that time wxMaxima did work. After that I installed TeXmacs and then wxMaxima didn't work anymore. Removing TeXmacs and wxmaxima didn't work. wxMaxima doesn't work anymore
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had to change the following in order for it to work on FC5
Open wxMaxima
Edit -> Configure
Maxima Program: /usr/bin/maxima
Additional parameters: -l clisp
OK
Maxima -> Restart maxima
The initial time that the program ran it worked correctly but any time afterwards it failed. The Maxima program was set to 1 and the additional parametrs was empty, but worked after I changed it to the above settings.
Ran maxima --list-avail to see what lisp settings were available.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
-Version of Maxima and wxMaxima (5.10.0 / 0.7.0a):
Maxima 5.10.0 / wxmaxima 0.7.0a
-Did any of previous version work? Which?
maxima 5.9.3 with clisp 2.39 in my arch(posterior clisp has severe problems and segfaults maxima).
-Which version of wxWidgets are you using? Unicode or ansi?
Default config is gtk2-unicode-release-2.6
-Operating system:
Ubuntu dapper Linux ppc
-Processor type:
powermac G5(powerpc)
-Does maxima work in command line?
yes.
-Does xmaxima work?
yes.
-Do you have a firewall installed? Which?
no, not needed in linux(all ports closed by default install of dapper).
-Do you have antivirus program installed? Which?
no.
I should add that I compiled maxima 5.10.0 with gcl 2.6.7.22(the only clisp working ok on my system) and wxmaxima is working perfectly with this version of maxima(which fixed lots of bugs).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
amd64, fedora core 5. wxmaxima will not connect if there be a readable file called .wxMaxima in the home directory. (and it writes such a file on startup.) Setting a null file (or one that it produced before) with permissions 000 will make it connect, but it will then give a warning message on startup.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the same problem in Ubuntu latest (Dapper, 6.06). Here are the answers:
Version of Maxima and wxMaxima (5.9.2 / 0.6.4):
Did any of previous version work? Which?
Definitely yes, was working in Ubuntu Breezy (5.10) but I don't recall the version.
Which version of wxWidgets are you using? Unicode or ansi? Whatever comes in Ubuntu. Any way of telling?
Operating system: Ubuntu Dapper (6.06)
Processor type (AMD64): AMD64
Does maxima work in command line? yes, perfectly. The only problem is a repeating Wxmaxima error:
CLIENT: Lost socket connection ...
Restart maxima with 'Maxima->Restart maxima'.
trying to type any command, results in:
Not connected to maxima!
Restarting doesn't help (same error).
Removing ~/.wxmaxima doesn't help (same error)
Setting maxima program to /usr/bin/maxima doesn't help (same error)
Adding parameters '-l clisp' (clisp is installed as /usr/bin/clisp) doesn't help either.
Output from --list-avail:
$ maxima --list-avail
Available versions:
version 5.9.2, lisp gcl
$ which clisp
/usr/bin/clisp
(clisp works fine)
Does xmaxima work? no, it gives similar errors:
"exiting on eof", suggests to restart, says it cannot connect to 'sock9'.
Do you have a firewall installed? Which? iptables but I enable any connection to localhost. Also if I remove all rules (clear everything) I get the same error so this cannot be it.
Do you have antivirus program installed? Which? no.
I have a full strace output of wxmaxima with '-f'
Where can I send it to?
Thanks
- Ariel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't think you need to recompile wxMaxima, recompiling maxima should be enough.
Andrej
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2006-10-07
Ariel,
Andrej is correct, you don't need to recompile wxMaxima. If you need help with compiling Maxima with CMUCL, I've written a Web page detailing how to do it:
This is new to wxMaxima-0.7.0a, 0.7.0 didn't have this problem.
It is due to
~/.wxMaxima
containing
maxima=1
which is incorrect, it should contain the path to the maxima binary. It should have (something like):
maxima=maxima
or
maxima=/usr/bin/maxima
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had access to a mac machine some time ago and I added some support for building wxmaxima. I only used maxima compiled with cmucl. I remember there were problems with maxima compiled with clisp but I never got around to fixing it. Now I don't have access to a mac machine anymore so I can't work on it anymore. I recommend you compile maxima with cmucl on mac.
Andrej
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to make a U3 (see http://www.u3.com) package out of Maxima. I already tweaked the startup batch file a bit but now I'm facing the problem, that maxima doesn't connect to wxMaxima when started through wxMaxima.
BUT: Entering the command line wxMaxima uses (path-to-bin-dir\maxima.bat -s 4010) manually into a command prompt, starts maxima and let it connect to wxMaxima. Since I can't make the hidden cmd.exe visible, I have no way to check what's going wrong there.
Cheers,
-mARKUS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try not to install wxMaxima into a subdirectory of maxima installation dir. Then you will be able to edit maxima program entry in configuration dialog.
Andrej
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just set the Maxima-directories to the U3-style directories:
set prefix=%U3_HOST_EXEC_PATH%
set MAXIMA_PREFIX=%U3_HOST_EXEC_PATH%
..
set MAXIMA_USERDIR=%U3_DEVICE_DATA_PATH%\maxima
set MAXIMA_TEMPDIR=%TEMP%
Note: U3_HOST_EXEC_PATH is somewhere at C:\Documents and Settings\<username>\Application Data\U3\<USB-stick-ID>\<Application-ID>\Exec . U3_DEVICE_DATA_PATH is <usbstick>:\System\Apps\<Application-ID>\Data, with "System" being a hidden directory on the stick. Application-ID is a GUID, I generated the following one for Maxima/wxMaxima: 33c98b87-9be3-4bcc-a7ed-5680996ea8b4 .
Also I added some quotes to the paths down below so that they work with paths with spaces. And finally I put a "setlocal" to the top and and "endlocal" to the bottom of the batch file. (Since U3 only works on Win2k or XP, there's no need to use Win9x/Me style.)
As I said, wxMaxima launches this batch file as it should. (Tested with Process Explorer.) But for some reason, maxima doesn't connect. Typing the same command manually into a command prompt, launches Maxima and connects to wxMaxima. If there'd be a way to see the output of the hidden console window, it might give a hint...
Cheers,
-mARKUS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I understand this correctly then %U3_HOST_EXEC_PATH% is an environment variable to the application directory. How is this variable set to the correct value? When wxmaxima is started this points to wxmaxima dir and when wxmaxima starts maxima it should point to maxima dir. Are you sure this really happens? My guess is that it doesn't and thats why it does not work.
Andrej
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think you need to compile maxima with cmucl if you want wxmaxima to work. I don't know why it does not work with other lisps and I don't have access to a mac anymore so I can't work on this anymore.
Andrej
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There have been many reports that wxMaxima does not connect to Maxima. If this happens to you, please reply to this thread instead of starting a new one. Answer the following questions and hopefully we will get enough information to fix this problem (if you don't know all the answers, please answer as many as you can).
Version of Maxima and wxMaxima (5.10.0 / 0.7.0a):
Did any of previous version work? Which?
Which version of wxWidgets are you using? Unicode or ansi?
Operating system (Windows XP):
Processor type (AMD64):
Does maxima work in command line?
Does xmaxima work?
Do you have a firewall installed? Which?
Do you have antivirus program installed? Which?
Thanks,
Andrej
I just installed Maxima and wxMaxima tonight and had this problem. wcMaxima would not be able to connect to Maxima.
OS: Windows XP Media Center Edition (XP Professional) SP2
CPU: AMD Athlon 64 X2
Current versions of Maxima and wxMaxima (5.10.0 & 0.7.0a)
I have DEP (Data Execution Prevention) turned on for all programs and services. I was able to get wxMaxima working by adding maxima.exe to the list of exceptions for DEP protection. Now wxMaxima works.
Control Panel >> System >> Advanced tab >> Performance Settings button >> Data Execution Prevention tab
Add
C:\Program Files\Maxima-5.10.0\lib\maxima\5.10.0\binary-gcl\maxima.exe
to the list of programs to ignore
Reboot (not sure if the reboot is necessary)
Now wxMaxima should be able to connect to Maxima and work.
Usually DEP will pop up a dialog when a program trips the DEP protection. But not in this case. It fails silently.
I have not put in a bug report. I'm not sure if it's a Maxima bug, wxMaxima bug, or what. Someone who knows more about the project can file the bug report.
Yes, I can confirm. It was the DEP setting on Windows XP / AMD64. Just include maxima.exe as DEP-exception and it works (even without reboot): maxima.bat command line, wxMaxima and XMaxima! It is surely a bug in the LISP implementation from maxima.exe (LISP interpreter with executable data sections).
Hello,
I reinstalled Linux fedora core 5 since I began having troubles with my system. With "locate xmaxima" I found xmaxima in /usr/bin/ but I couldn't
find xmaxima with my file browser. So, I reinstalled my OS. I installed wxMaxima . And it worked fine. I installed TeXmacs. And wxMaxima still worked fine.
I then installed some files to make maxima work with
TeXmacs and then I got the message "not connected with maxima"
Hello, Jan. Could you please detail which are these "some files to make maxima work with TeXmacs" that you have installed?
Hello,
The files needed needed for TeXmacs can be found by reading the thread http://www.math.utexas.edu/pipermail/maxima/2006/014696.html
The attachment can be downloaded as follows
http://www.math.utexas.edu/pipermail/maxima/attachments/20060927/1a0d49f5/attachment.bin
I had to rename attachment as maxima.tar.gz in order to open it with archive manager.
However I removed TeXmacs from mu pc and wxMaxima still didn't work. Then I removed wxMaxima and reinstalled it (TeXmacs still removed) and wxMaxima still didn't work.
Hello,
It seems that I was wrong with these files. I reinstalled my OS (fedora core 5). I first installed
wxMaxima . At that time wxMaxima did work. After that I installed TeXmacs and then wxMaxima didn't work anymore. Removing TeXmacs and wxmaxima didn't work. wxMaxima doesn't work anymore
I had to change the following in order for it to work on FC5
Open wxMaxima
Edit -> Configure
Maxima Program: /usr/bin/maxima
Additional parameters: -l clisp
OK
Maxima -> Restart maxima
The initial time that the program ran it worked correctly but any time afterwards it failed. The Maxima program was set to 1 and the additional parametrs was empty, but worked after I changed it to the above settings.
Ran maxima --list-avail to see what lisp settings were available.
Thanks,
I followed your advice and now wxMaxima and TeXmacs are working together
Jan
-Version of Maxima and wxMaxima (5.10.0 / 0.7.0a):
Maxima 5.10.0 / wxmaxima 0.7.0a
-Did any of previous version work? Which?
maxima 5.9.3 with clisp 2.39 in my arch(posterior clisp has severe problems and segfaults maxima).
-Which version of wxWidgets are you using? Unicode or ansi?
Default config is gtk2-unicode-release-2.6
-Operating system:
Ubuntu dapper Linux ppc
-Processor type:
powermac G5(powerpc)
-Does maxima work in command line?
yes.
-Does xmaxima work?
yes.
-Do you have a firewall installed? Which?
no, not needed in linux(all ports closed by default install of dapper).
-Do you have antivirus program installed? Which?
no.
I should add that I compiled maxima 5.10.0 with gcl 2.6.7.22(the only clisp working ok on my system) and wxmaxima is working perfectly with this version of maxima(which fixed lots of bugs).
amd64, fedora core 5. wxmaxima will not connect if there be a readable file called .wxMaxima in the home directory. (and it writes such a file on startup.) Setting a null file (or one that it produced before) with permissions 000 will make it connect, but it will then give a warning message on startup.
I have the same problem in Ubuntu latest (Dapper, 6.06). Here are the answers:
Version of Maxima and wxMaxima (5.9.2 / 0.6.4):
Did any of previous version work? Which?
Definitely yes, was working in Ubuntu Breezy (5.10) but I don't recall the version.
Which version of wxWidgets are you using? Unicode or ansi? Whatever comes in Ubuntu. Any way of telling?
Operating system: Ubuntu Dapper (6.06)
Processor type (AMD64): AMD64
Does maxima work in command line? yes, perfectly. The only problem is a repeating Wxmaxima error:
CLIENT: Lost socket connection ...
Restart maxima with 'Maxima->Restart maxima'.
trying to type any command, results in:
Not connected to maxima!
Restarting doesn't help (same error).
Removing ~/.wxmaxima doesn't help (same error)
Setting maxima program to /usr/bin/maxima doesn't help (same error)
Adding parameters '-l clisp' (clisp is installed as /usr/bin/clisp) doesn't help either.
Output from --list-avail:
$ maxima --list-avail
Available versions:
version 5.9.2, lisp gcl
$ which clisp
/usr/bin/clisp
(clisp works fine)
Does xmaxima work? no, it gives similar errors:
"exiting on eof", suggests to restart, says it cannot connect to 'sock9'.
Do you have a firewall installed? Which? iptables but I enable any connection to localhost. Also if I remove all rules (clear everything) I get the same error so this cannot be it.
Do you have antivirus program installed? Which? no.
I have a full strace output of wxmaxima with '-f'
Where can I send it to?
Thanks
- Ariel
For wxMaxima on Ubuntu look at this page
https://help.ubuntu.com/community/wxMaxima
I don't think you need to recompile wxMaxima, recompiling maxima should be enough.
Andrej
Ariel,
Andrej is correct, you don't need to recompile wxMaxima. If you need help with compiling Maxima with CMUCL, I've written a Web page detailing how to do it:
http://www.lca.ic.unicamp.br/~augusto/maxima-cmucl.shtml
--
Augusto
This is new to wxMaxima-0.7.0a, 0.7.0 didn't have this problem.
It is due to
~/.wxMaxima
containing
maxima=1
which is incorrect, it should contain the path to the maxima binary. It should have (something like):
maxima=maxima
or
maxima=/usr/bin/maxima
The value should be set in configuration dialog under 'Maxima program' option. I don't know how it gets set to 1, I will look into it.
Andrej
OK, I take it back, now I can reproduce with 0.7.0 too.
Version of Maxima and wxMaxima : 5.9.0 / 0.7.0a
Did any of previous version work? Which? No previous version
Which version of wxWidgets are you using? Unicode or ansi? 2.6.3
Operating system : Mac OS X
Processor type : Power PC
Does maxima work in command line? yes
Does xmaxima work? yes in tcl/tk "wish shell"
Do you have a firewall installed? Which? No
Do you have antivirus program installed? Which? No
When I click on restart of maxima , it's written "attempt of connection" and then "maxima is stopped"
I had access to a mac machine some time ago and I added some support for building wxmaxima. I only used maxima compiled with cmucl. I remember there were problems with maxima compiled with clisp but I never got around to fixing it. Now I don't have access to a mac machine anymore so I can't work on it anymore. I recommend you compile maxima with cmucl on mac.
Andrej
Following problem here:
I'm trying to make a U3 (see http://www.u3.com) package out of Maxima. I already tweaked the startup batch file a bit but now I'm facing the problem, that maxima doesn't connect to wxMaxima when started through wxMaxima.
BUT: Entering the command line wxMaxima uses (path-to-bin-dir\maxima.bat -s 4010) manually into a command prompt, starts maxima and let it connect to wxMaxima. Since I can't make the hidden cmd.exe visible, I have no way to check what's going wrong there.
Cheers,
-mARKUS
What exactly did you change in maxima.bat?
Try not to install wxMaxima into a subdirectory of maxima installation dir. Then you will be able to edit maxima program entry in configuration dialog.
Andrej
I just set the Maxima-directories to the U3-style directories:
set prefix=%U3_HOST_EXEC_PATH%
set MAXIMA_PREFIX=%U3_HOST_EXEC_PATH%
..
set MAXIMA_USERDIR=%U3_DEVICE_DATA_PATH%\maxima
set MAXIMA_TEMPDIR=%TEMP%
Note: U3_HOST_EXEC_PATH is somewhere at C:\Documents and Settings\<username>\Application Data\U3\<USB-stick-ID>\<Application-ID>\Exec . U3_DEVICE_DATA_PATH is <usbstick>:\System\Apps\<Application-ID>\Data, with "System" being a hidden directory on the stick. Application-ID is a GUID, I generated the following one for Maxima/wxMaxima: 33c98b87-9be3-4bcc-a7ed-5680996ea8b4 .
Also I added some quotes to the paths down below so that they work with paths with spaces. And finally I put a "setlocal" to the top and and "endlocal" to the bottom of the batch file. (Since U3 only works on Win2k or XP, there's no need to use Win9x/Me style.)
As I said, wxMaxima launches this batch file as it should. (Tested with Process Explorer.) But for some reason, maxima doesn't connect. Typing the same command manually into a command prompt, launches Maxima and connects to wxMaxima. If there'd be a way to see the output of the hidden console window, it might give a hint...
Cheers,
-mARKUS
If I understand this correctly then %U3_HOST_EXEC_PATH% is an environment variable to the application directory. How is this variable set to the correct value? When wxmaxima is started this points to wxmaxima dir and when wxmaxima starts maxima it should point to maxima dir. Are you sure this really happens? My guess is that it doesn't and thats why it does not work.
Andrej
Version of Maxima and wxMaxima 5.10.0 / 0.7.0a
Did any of previous version work? Which? did not use wxmaxima befor
lisp: sbcl 0.9.17
Which version of wxWidgets are you using? Unicode or ansi? 2.6.3 mac-unicode-release-2.6
Operating system: Mac OS X 10.4.8
Processor type : powerpc
Does maxima work in command line? yes
in emacs maxima also works fine
Does xmaxima work? yes
Do you have a firewall installed? Which? no
Do you have antivirus program installed? Which? no
i know that support for wxmaxima is marked experimental on mac os but it compiled well, but it did not connect to maxima...
I think you need to compile maxima with cmucl if you want wxmaxima to work. I don't know why it does not work with other lisps and I don't have access to a mac anymore so I can't work on this anymore.
Andrej