octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46847] symbolic package: expand function erro


From: Nidal K. Bazzi
Subject: [Octave-bug-tracker] [bug #46847] symbolic package: expand function error
Date: Sat, 09 Apr 2016 02:32:23 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36

Follow-up Comment #7, bug #46847 (project octave):

Thanks for the help.  I tried comment #2 and #1 afterwards.  Here is the
result:
>> sympref IPC system
Resetting the octsympy communication mechanism
Forcing the system() octsympy communication mechanism
>> syms x y
OctSymPy v2.2.4: this is free software without warranty, see source.
Using system()-based communication with Python [sysoneline].
Warning: this will be *SLOW*.  Every round-trip involves executing a
new Python process and many operations involve several round-trips.
>> (x-y)*(x-y)^2
ans = (sym)

         3
  (x - y)

>> expand(ans)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 2, in <module>
  File "<string>", line 158, in octoutput_drv
  File "C:Anaconda3libencodingscp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character 'u22c5' in position
451: character maps to <undefined>
status =  127
out = <?xml version="1.0" ?>
<output_block>
<item>
<f>1003</f>
<f>PYTHON: successful variable import</f>
</item>
</output_block>

                                                                              
                                                            
<output_block>
<item>
<f>9999</f>
<f>
<class 'UnicodeEncodeError'>
</f><f>
'charmap' codec can't encode character 'u22c5' in position 451: character maps
to <undefined>
</f>
</item>
</output_block>


error: system() call failed!
error: called from
    python_ipc_sysoneline at line 92 column 5
    python_ipc_driver at line 34 column 15
    python_cmd at line 138 column 9
    expand at line 31 column 5
>>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46847>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]