>
> Try calling canonical_coercion explicitly.  What error is being thrown!?
>

Right.  Here goes:

{{{
sage: X = Spec(ZZ)
sage: f = X.identity_morphism(); g = X.identity_morphism()
sage: canonical_coercion(f, g)
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (980, 0))

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)

/home/ghitza/.sage/temp/artin/25555/_home_ghitza__sage_init_sage_0.py
in <module>()

/opt/sage-devel/local/lib/python2.5/site-packages/sage/structure/element.so
in sage.structure.element.canonical_coercion
(sage/structure/element.c:18992)()

/opt/sage-devel/local/lib/python2.5/site-packages/sage/structure/element.so
in sage.structure.element.canonical_coercion
(sage/structure/element.c:18916)()

/opt/sage-devel/local/lib/python2.5/site-packages/sage/structure/coerce.so
in sage.structure.coerce.CoercionModel_cache_maps.canonical_coercion
(sage/structure/coerce.c:7059)()

RuntimeError: BUG in map, returned None Scheme endomorphism of
Spectrum of Integer Ring
  Defn: Identity map <type 'sage.categories.morphism.CallMorphism'>
Call morphism:
  From: Set of points of Spectrum of Integer Ring defined over Integer Ring
  To:   Set of points of Spectrum of Integer Ring defined over Integer Ring
}}}


-- 
Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne
-- Australia -- http://www.ms.unimelb.edu.au/~aghitza/

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to