ERROR loading files on wxMaxima [iMac]

Alex
2013-10-03
2013-10-13
  • Alex

    Alex - 2013-10-03

    Hi guys,

    I hope you can solve this or at least tell what to do about it because I'm clueless. The thing is that once I've saved a .wxm file and then want to open it appears on wxMaxima this error and the "app" crashes:

    Maxima encountered a Lisp error:
    decoding error on stream

    <SB-SYS:FD-STREAM for "socket 127.0.0.1:62607, peer: 127.0.0.1:4011"

    {13F30991}
    (:EXTERNAL-FORMAT :ASCII):
    the octet sequence (195) cannot be decoded.
    

    Automatically continuing.
    To enable the Lisp debugger set debugger-hook to nil.

    Thanks in advance.

    P.S.: I run the latest Mac OS X version on my iMac.

     
  • Andrej Vodopivec

    Looks like a problem with some unicode chars. Open the file in a text editor and remove non-ascii chars.

    If you are using unicode chars you should save in wxmx format.

     
  • Alex

    Alex - 2013-10-06

    The error appears also with the wxmx format and I've tried to solve it with the text editor as you said but I did not see any of that non-ascii chars in there.

    Any other outlook?

     
  • Andrej Vodopivec

    I guess you are using the sbcl based maxima. Create a file .sbclrc in your home directory and put

    (setf sb-impl::*default-external-format* :utf-8)
    

    into it.

     
    • Alex

      Alex - 2013-10-12

      The error persists or maybe I'm doing something wrong.
      I created an RTF document in my home directory with that extension and that same text inside of it.

      Please.

       
      • Albrecht Mueller

        I am not familiar with the Mac. I assume that the RTF format is the same for different operating systems. RTF documents on Windows machines contain a lot of control information which neither Maxima nor a Lisp program expects. Maybe you can find a program on the Mac which allows you to create a file containing the text without additional control information.

         
        Last edit: Albrecht Mueller 2013-10-13
  • Alex

    Alex - 2013-10-08

    The error persists or maybe I'm doing something wrong.

    I created an RTF document in my home directory with that extension and that same text inside of it.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks