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

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

[Octave-bug-tracker] [bug #46771] symbolic/sympy oct-package fails


From: anonymous
Subject: [Octave-bug-tracker] [bug #46771] symbolic/sympy oct-package fails
Date: Wed, 30 Dec 2015 18:56:50 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 OPR/34.0.2036.25

Follow-up Comment #8, bug #46771 (project octave):

done with :

>> sympref IPC system
Resetting the octsympy communication mechanism
Forcing the system() octsympy communication mechanism
>> syms x

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.
>> f=x^2

f = (sym)

   2
  x
>> fi=int(f,x)

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:UsersJari-PekkaAppDataLocalProgramsPythonPython35-32libencodingscp1252.py",
line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position
196-197: 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>

<?xml version="1.0" ?>
<output_block>
<item>
<f>1003</f>
<f>PYTHON: Error in var export</f>
</item>
</output_block>

<output_block>
<item>
<f>9999</f>
<f>
<class 'UnicodeEncodeError'>
</f><f>
'charmap' codec can't encode characters in position 196-197: 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
    int at line 145 column 7
>>

>> fd=diff(f,x)
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:UsersJari-PekkaAppDataLocalProgramsPythonPython35-32libencodingscp1252.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
154: character m
aps to <undefined>
status =  127
out = <?xml version="1.0" ?>
<output_block>
<item>
<f>1003</f>
<f>PYTHON: successful variable import</f>
</item>
</output_block>

<?xml version="1.0" ?>
<output_block>
<item>
<f>1003</f>
<f>PYTHON: Error in var export</f>
</item>
</output_block>
                                                                              
                 
<output_block>
<item>
<f>9999</f>
<f>
<class 'UnicodeEncodeError'>
</f><f>
'charmap' codec can't encode character 'u22c5' in position 154: 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
    diff at line 106 column 5
>>

I think the octave version is 4.0.0. Should I try another one?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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