Ticket #27492: error_message_py3.txt

File error_message_py3.txt, 6.8 KB (added by egourgoulhon, 4 years ago)
Line 
1---------------------------------------------------------------------------
2TypeError                                 Traceback (most recent call last)
3/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function_factory.py in function_factory(name, nargs, latex_name, conversions, evalf_params_first, eval_func, evalf_func, conjugate_func, real_part_func, imag_part_func, derivative_func, tderivative_func, power_func, series_func, print_func, print_latex_func)
4    109             setattr(NewSymbolicFunction, '_%s_'%func_name, func)
5    110
6--> 111     return NewSymbolicFunction()
7    112
8    113
9
10/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function_factory.py in __init__(self)
11     55             """
12     56             SymbolicFunction.__init__(self, name, nargs, latex_name,
13---> 57                     conversions, evalf_params_first)
14     58
15     59         def _maxima_init_(self):
16
17/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function.pyx in sage.symbolic.function.SymbolicFunction.__init__ (build/cythonized/sage/symbolic/function.cpp:13448)()
18   1151         """
19   1152         self.__hinit = False
20-> 1153         Function.__init__(self, name, nargs, latex_name, conversions,
21   1154                 evalf_params_first)
22   1155
23
24/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function.pyx in sage.symbolic.function.Function.__init__ (build/cythonized/sage/symbolic/function.cpp:4322)()
25    113
26    114         if not self._is_registered():
27--> 115             self._register_function()
28    116
29    117             global sfunction_serial_dict
30
31/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function.pyx in sage.symbolic.function.Function._register_function (build/cythonized/sage/symbolic/function.cpp:4548)()
32    148         """
33    149         cdef GFunctionOpt opt
34--> 150         opt = g_function_options_args(str_to_bytes(self._name), self._nargs)
35    151
36    152         if hasattr(self, '_eval_'):
37
38/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/cpython/string.pxd in sage.cpython.string.str_to_bytes (build/cythonized/sage/symbolic/function.cpp:17778)()
39     90     # compile-time variable. We keep the Cython wrapper to deal with
40     91     # the default arguments.
41---> 92     return _str_to_bytes(s, encoding, errors)
42
43TypeError: expected str, bytes found
44Exception ignored in: 'sage.libs.pynac.pynac.py_get_serial_for_new_sfunction'
45Traceback (most recent call last):
46  File "/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function_factory.py", line 111, in function_factory
47    return NewSymbolicFunction()
48  File "/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function_factory.py", line 57, in __init__
49    conversions, evalf_params_first)
50  File "sage/symbolic/function.pyx", line 1153, in sage.symbolic.function.SymbolicFunction.__init__ (build/cythonized/sage/symbolic/function.cpp:13448)
51  File "sage/symbolic/function.pyx", line 115, in sage.symbolic.function.Function.__init__ (build/cythonized/sage/symbolic/function.cpp:4322)
52  File "sage/symbolic/function.pyx", line 150, in sage.symbolic.function.Function._register_function (build/cythonized/sage/symbolic/function.cpp:4548)
53  File "sage/cpython/string.pxd", line 92, in sage.cpython.string.str_to_bytes (build/cythonized/sage/symbolic/function.cpp:17778)
54TypeError: expected str, bytes found
55---------------------------------------------------------------------------
56TypeError                                 Traceback (most recent call last)
57/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function_factory.py in function_factory(name, nargs, latex_name, conversions, evalf_params_first, eval_func, evalf_func, conjugate_func, real_part_func, imag_part_func, derivative_func, tderivative_func, power_func, series_func, print_func, print_latex_func)
58    109             setattr(NewSymbolicFunction, '_%s_'%func_name, func)
59    110
60--> 111     return NewSymbolicFunction()
61    112
62    113
63
64/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function_factory.py in __init__(self)
65     55             """
66     56             SymbolicFunction.__init__(self, name, nargs, latex_name,
67---> 57                     conversions, evalf_params_first)
68     58
69     59         def _maxima_init_(self):
70
71/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function.pyx in sage.symbolic.function.SymbolicFunction.__init__ (build/cythonized/sage/symbolic/function.cpp:13448)()
72   1151         """
73   1152         self.__hinit = False
74-> 1153         Function.__init__(self, name, nargs, latex_name, conversions,
75   1154                 evalf_params_first)
76   1155
77
78/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function.pyx in sage.symbolic.function.Function.__init__ (build/cythonized/sage/symbolic/function.cpp:4322)()
79    113
80    114         if not self._is_registered():
81--> 115             self._register_function()
82    116
83    117             global sfunction_serial_dict
84
85/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function.pyx in sage.symbolic.function.Function._register_function (build/cythonized/sage/symbolic/function.cpp:4548)()
86    148         """
87    149         cdef GFunctionOpt opt
88--> 150         opt = g_function_options_args(str_to_bytes(self._name), self._nargs)
89    151
90    152         if hasattr(self, '_eval_'):
91
92/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/cpython/string.pxd in sage.cpython.string.str_to_bytes (build/cythonized/sage/symbolic/function.cpp:17778)()
93     90     # compile-time variable. We keep the Cython wrapper to deal with
94     91     # the default arguments.
95---> 92     return _str_to_bytes(s, encoding, errors)
96
97TypeError: expected str, bytes found
98Exception ignored in: 'sage.libs.pynac.pynac.py_get_serial_for_new_sfunction'
99Traceback (most recent call last):
100  File "/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function_factory.py", line 111, in function_factory
101    return NewSymbolicFunction()
102  File "/home/eric/sage/py3/local/lib/python3.6/site-packages/sage/symbolic/function_factory.py", line 57, in __init__
103    conversions, evalf_params_first)
104  File "sage/symbolic/function.pyx", line 1153, in sage.symbolic.function.SymbolicFunction.__init__ (build/cythonized/sage/symbolic/function.cpp:13448)
105  File "sage/symbolic/function.pyx", line 115, in sage.symbolic.function.Function.__init__ (build/cythonized/sage/symbolic/function.cpp:4322)
106  File "sage/symbolic/function.pyx", line 150, in sage.symbolic.function.Function._register_function (build/cythonized/sage/symbolic/function.cpp:4548)
107  File "sage/cpython/string.pxd", line 92, in sage.cpython.string.str_to_bytes (build/cythonized/sage/symbolic/function.cpp:17778)
108TypeError: expected str, bytes found
109