Ticket #27658: error.log

File error.log, 6.7 KB (added by egourgoulhon, 2 years ago)
Line 
1sage: f in M.diff_form_module(1)
2---------------------------------------------------------------------------
3AttributeError                            Traceback (most recent call last)
4<ipython-input-4-22da429098d1> in <module>()
5----> 1 f in M.diff_form_module(Integer(1))
6
7/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/structure/parent.pyx in sage.structure.parent.Parent.__contains__ (build/cythonized/sage/structure/parent.c:9885)()
8   1090             return True
9   1091         try:
10-> 1092             x2 = self(x)
11   1093             EQ = (x2 == x)
12   1094             if EQ is True:
13
14/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/structure/parent.pyx in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/parent.c:9219)()
15    898         if mor is not None:
16    899             if no_extra_args:
17--> 900                 return mor._call_(x)
18    901             else:
19    902                 return mor._call_with_args(x, args, kwds)
20
21/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/structure/coerce_maps.pyx in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (build/cythonized/sage/structure/coerce_maps.c:4551)()
22    160                 print(type(C), C)
23    161                 print(type(C._element_constructor), C._element_constructor)
24--> 162             raise
25    163
26    164     cpdef Element _call_with_args(self, x, args=(), kwds={}):
27
28/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/structure/coerce_maps.pyx in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (build/cythonized/sage/structure/coerce_maps.c:4443)()
29    155         cdef Parent C = self._codomain
30    156         try:
31--> 157             return C._element_constructor(x)
32    158         except Exception:
33    159             if print_warnings:
34
35/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/manifolds/differentiable/diff_form_module.pyc in _element_constructor_(self, comp, frame, name, latex_name)
36    818         resu = self.element_class(self._fmodule, self._degree, name=name,
37    819                                   latex_name=latex_name)
38--> 820         if comp != []:
39    821             resu.set_comp(frame)[:] = comp
40    822         return resu
41
42/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/manifolds/scalarfield.pyc in __ne__(self, other)
43   1285
44   1286         """
45-> 1287         return not (self == other)
46   1288
47   1289     ####### End of required methods for an algebra element (beside arithmetic) #######
48
49/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/manifolds/scalarfield.pyc in __eq__(self, other)
50   1244                 return False
51   1245             try:
52-> 1246                 other = self.parent()(other)  # conversion to a scalar field
53   1247             except TypeError:
54   1248                 return False
55
56/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/structure/parent.pyx in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/parent.c:9219)()
57    898         if mor is not None:
58    899             if no_extra_args:
59--> 900                 return mor._call_(x)
60    901             else:
61    902                 return mor._call_with_args(x, args, kwds)
62
63/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/structure/coerce_maps.pyx in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (build/cythonized/sage/structure/coerce_maps.c:4551)()
64    160                 print(type(C), C)
65    161                 print(type(C._element_constructor), C._element_constructor)
66--> 162             raise
67    163
68    164     cpdef Element _call_with_args(self, x, args=(), kwds={}):
69
70/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/structure/coerce_maps.pyx in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (build/cythonized/sage/structure/coerce_maps.c:4443)()
71    155         cdef Parent C = self._codomain
72    156         try:
73--> 157             return C._element_constructor(x)
74    158         except Exception:
75    159             if print_warnings:
76
77/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/manifolds/scalarfield_algebra.pyc in _element_constructor_(self, coord_expression, chart, name, latex_name)
78    470                                       coord_expression=coord_expression,
79    471                                       name=name, latex_name=latex_name,
80--> 472                                       chart=chart)
81    473         return resu
82    474
83
84/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/manifolds/differentiable/scalarfield.pyc in __init__(self, parent, coord_expression, chart, name, latex_name)
85    630         """
86    631         ScalarField.__init__(self, parent, coord_expression=coord_expression,
87--> 632                              chart=chart, name=name, latex_name=latex_name)
88    633         self._tensor_type = (0,0)
89    634
90
91/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/manifolds/scalarfield.pyc in __init__(self, parent, coord_expression, chart, name, latex_name)
92   1101                         self._express[ch] = ch.function(coord_expression)
93   1102                 else:
94-> 1103                     self._express[chart] = chart.function(coord_expression)
95   1104         self._init_derived()   # initialization of derived quantities
96   1105
97
98/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/manifolds/chart.pyc in function(self, expression, calc_method, expansion_symbol, order)
99   1087         return parent.element_class(parent, expression, calc_method=calc_method,
100   1088                                     expansion_symbol=expansion_symbol,
101-> 1089                                     order=order)
102   1090
103   1091     def zero_function(self):
104
105/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/manifolds/chart_func.pyc in __init__(self, parent, expression, calc_method, expansion_symbol, order)
106    360                 calc_method = self._calc_method._current
107    361             self._express[calc_method] = self._calc_method._tranf[calc_method](
108--> 362                                                                     expression)
109    363         # Derived quantities:
110    364         self._der = None  # list of partial derivatives (to be set by diff()
111
112/home/eric/sage/8.8.develop/local/lib/python2.7/site-packages/sage/manifolds/calculus_method.pyc in _Sympy_to_SR(expression)
113    106         # If SR cannot transform a sympy expression this is because it is a
114    107         # sympy abstract function
115--> 108         a = expression._sage_()
116    109         # As all sage objects have a ._sage_ operator, they have to be
117    110         # catched
118
119AttributeError: 'list' object has no attribute '_sage_'
120