I have defined a ParametrizedSurface3D , named S. The output of show(S)
gives the parametrization of S, while the output of S is:
<repr(<sage.geometry.riemannian_manifolds.parametrized_surface3d.ParametrizedSurface3D
at 0x7f1e16e01890>) failed: TypeError: not all arguments converted during
string formatting>
The output of print S is:
TypeError Traceback (most recent call last)
<ipython-input-11-1e15fb2e51d0> in <module>()
----> 1 print S
/usr/local/sage-7.5/src/sage/structure/sage_object.pyx in
sage.structure.sage_object.SageObject.__repr__
(/usr/local/sage-7.5/src/build/cythonized/sage/structure/sage_object.c:2691)()
190 return str(type(self))
191 else:
--> 192 result = repr_func()
193 if isinstance(result, unicode):
194 # Py3 compatibility: allow _repr_ to return unicode
/usr/local/sage-7.5/local/lib/python2.7/site-packages/sage/geometry/riemannian_manifolds/parametrized_surface3d.pyc
in _repr_(self)
388 name = 'Parametrized surface'
389 if self.name is not None:
--> 390 name += " ('%s')" % self.name
391 s ='%(designation)s with equation %(eq)s' % \
392 {'designation': name, 'eq': str(self.equation)}
TypeError: not all arguments converted during string formatting
It happens with both Sage 7.5 and Sage 7.3 (sagenb and jupyter)
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.