วันจันทร์ที่ 10 กรกฎาคม พ.ศ. 2560

[computer] [computer] Re: [sage-devel] UnicodeDecodeError while compiling cython with %runfile

On 10/07/2017 15:27, Jeroen Demeyer wrote:
> I am starting to lose my patience with people posting bug reports and
> omitting the most important part, like the log file or traceback.
>
> Anyway, I'm guessing this might be
> https://github.com/ipython/ipython/pull/10692

looks like it

> If you would have posted the traceback instead of "...", I could
> actually know for sure.
here it is

UnicodeDecodeError Traceback (most recent call last)
/opt/sage/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc
in run_code(self, code_obj, result)
2896 if result is not None:
2897 result.error_in_exec = sys.exc_info()[1]
-> 2898 self.showtraceback()
2899 else:
2900 outflag = 0

/opt/sage/local/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc
in showtraceback(self, exc_tuple, filename, tb_offset, exception_only)
1822 except Exception:
1823 stb =
self.InteractiveTB.structured_traceback(etype,
-> 1824 value, tb,
tb_offset=tb_offset)
1825
1826 self._showtraceback(etype, value, stb)

/opt/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.pyc in
structured_traceback(self, etype, value, tb, tb_offset,
number_of_lines_of_context)
1404 self.tb = tb
1405 return FormattedTB.structured_traceback(
-> 1406 self, etype, value, tb, tb_offset,
number_of_lines_of_context)
1407
1408

/opt/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.pyc in
structured_traceback(self, etype, value, tb, tb_offset,
number_of_lines_of_context)
1312 # Verbose modes need a full traceback
1313 return VerboseTB.structured_traceback(
-> 1314 self, etype, value, tb, tb_offset,
number_of_lines_of_context
1315 )
1316 else:

/opt/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.pyc in
structured_traceback(self, etype, evalue, etb, tb_offset,
number_of_lines_of_context)
1162
1163 formatted_exception =
self.format_exception_as_a_whole(etype, evalue, etb,
number_of_lines_of_context,
-> 1164
tb_offset)
1165
1166 colors = self.Colors # just a shorthand + quicker name
lookup

/opt/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.pyc in
format_exception_as_a_whole(self, etype, evalue, etb,
number_of_lines_of_context, tb_offset)
1111 return ""
1112
-> 1113 last_unique, recursion_repeat =
find_recursion(orig_etype, evalue, records)
1114
1115 frames = self.format_records(records, last_unique,
recursion_repeat)

/opt/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.pyc in
find_recursion(etype, value, records)
453 # quarter of the traceback (250 frames by default) is
repeats, and find the
454 # first frame (from in to out) that looks different.
--> 455 if not is_recursion_error(etype, value, records):
456 return len(records), 0
457

/opt/sage/local/lib/python2.7/site-packages/IPython/core/ultratb.pyc in
is_recursion_error(etype, value, records)
439 # a recursion error.
440 return (etype is recursion_error_type) \
--> 441 and "recursion" in str(value).lower() \
442 and len(records) > 500
443

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
868: ordinal not in range(128)

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscribe@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

--
เขียนโดย computer ถึง computer เวลา 7/10/2560 06:28:00 ก่อนเที่ยง

--
เขียนโดย computer ถึง computer เวลา 7/10/2560 06:29:00 ก่อนเที่ยง

ไม่มีความคิดเห็น:

แสดงความคิดเห็น