Menu

Another 'Cannot connect to Maxima'

2006-01-17
2012-09-10
  • Nobody/Anonymous

    Sorry about posting another post on this subject but unfortunately the others couldn't help me.

    I recently compiled maxima 5.9.1 and wxMaxima 0.6.5 from source on my Gentoo machine and while using wxMaxima I always get the error message: "Not connected to maxima!".

    Maxima is indeed in my path (I can fire it up from a shell with the command maxima) and I have no additional parameters for the program.

    All help is greatly appreciated.

     
    • Nobody/Anonymous

      Correction: Version 0.6.4 of wxMaxima.

       
      • Andrej Vodopivec

        Which lisp did you use? Does xmaxima work?

        What is the status displayed in the right part of wxmaxima's statusbar?

        Andrej

         
    • Nobody/Anonymous

      I ve got the same problem with wxmaxima "failed request with status 1280"
      But xmaxima works.

       
    • Nobody/Anonymous

      Xmaxima does not work either. After a while it displays the message "Starting maxima timed out. Wait longer?"

      Immediately after wxMaxima is started the statusbar displays the following message for like 1/4 of a second:

      "Maxima started. Waiting for connection..."

      And then immediately after that: "Maxima process terminated."

      In the terminal where to program is run from the message: " (wxmaxima:5862): WARNING : failed request with status 1280" is repeated constantly.

      Furthermore, I'm not quite certain what lisp means.

       
    • Andrej Vodopivec

      There is something preventing maxima to connect to wxMaxima server.

      Try starting wxMaxima, wait for maxima proces to terminate and then start maxima in another terminal with

      maxima -s 4010

      The output might give some clue to what is going on.

      Andrej

       
    • Nobody/Anonymous

      I did just that and here is the output:

      jfa: starting server on port 4010
      Maxima encountered a Lisp error:

      Error in function EXTENSIONS:CONNECT-TO-INET-SOCKET: Unknown host: "localhost".
      Automatically continuing.
      To reenable the Lisp debugger set debugger-hook to nil.

      Attempt to THROW to a tag that does not exist: RETURN-FROM-DEBUGGER
      [Condition of type KERNEL:SIMPLE-CONTROL-ERROR]

      Restarts:
      0: [ABORT] Skip remaining initializations.

      Debug (type H for help)

      (KERNEL::UNSEEN-THROW-TAG-ERROR-HANDLER "<error finding name>"
      #.(SYSTEM:INT-SAP #x3FFFC7F8)
      #<Alien (* #) at #x3FFFC464>
      (142))
      Source:
      ; File: target:code/interr.lisp

      ; File has been modified since compilation:
      ; target:code/interr.lisp
      ; Using form offset instead of character position.
      (ERROR 'SIMPLE-CONTROL-ERROR :FUNCTION-NAME NAME :FORMAT-CONTROL ...)
      0]

       
      • Andrej Vodopivec

        Your problem is caused by your maxima. Recompile it with a newer version of lisp (see the documentation which comes with maxima for details).

        Andrej