Hi guys,

Thanks for the advice so far. Here's a minimal example:

from sage.geometry.cone import Cone
C = Cone( [[1,0],[0,1]] )

And here's what happens when I try to run it:

Compiling test.spyx...
Traceback (most recent call last):
  File "/var/local/sage-6.2/local/bin/sage-run-cython", line 9, in <module>
    eval(compile(s, tmp_filename(), 'exec'))
  File "/home/pete/.sage/temp/host/12036/tmp_uuKoyt", line 1, in <module>
    
  File "_home_pete_test_spyx_0.pyx", line 6, in init _home_pete_test_spyx_0 
(_home_pete_test_spyx_0.c:853)
    from sage.geometry.cone import Cone
  File 
"/var/local/sage-6.2/local/lib/python2.7/site-packages/sage/geometry/__init__.py",
 line 1, in <module>
    import all
  File 
"/var/local/sage-6.2/local/lib/python2.7/site-packages/sage/geometry/all.py", 
line 4, in <module>
    from cone import Cone
  File 
"/var/local/sage-6.2/local/lib/python2.7/site-packages/sage/geometry/cone.py", 
line 203, in <module>
    from sage.combinat.posets.posets import FinitePoset
  File 
"/var/local/sage-6.2/local/lib/python2.7/site-packages/sage/combinat/posets/__init__.py",
 line 3, in <module>
    import all
  File 
"/var/local/sage-6.2/local/lib/python2.7/site-packages/sage/combinat/posets/all.py",
 line 1, in <module>
    from posets import Poset
  File 
"/var/local/sage-6.2/local/lib/python2.7/site-packages/sage/combinat/posets/posets.py",
 line 132, in <module>
    from sage.categories.sets_cat import Sets
  File 
"/var/local/sage-6.2/local/lib/python2.7/site-packages/sage/categories/sets_cat.py",
 line 23, in <module>
    from sage.categories.sets_with_partial_maps import SetsWithPartialMaps
  File 
"/var/local/sage-6.2/local/lib/python2.7/site-packages/sage/categories/sets_with_partial_maps.py",
 line 16, in <module>
    from objects import Objects
  File 
"/var/local/sage-6.2/local/lib/python2.7/site-packages/sage/categories/objects.py",
 line 16, in <module>
    from sage.categories.homset import Homset
  File 
"/var/local/sage-6.2/local/lib/python2.7/site-packages/sage/categories/homset.py",
 line 68, in <module>
    import morphism
  File "morphism.pyx", line 1, in init sage.categories.morphism 
(sage/categories/morphism.c:8168)
  File "map.pyx", line 1, in init sage.categories.map 
(sage/categories/map.c:10514)
  File "parent.pxd", line 12, in init sage.structure.element 
(sage/structure/element.c:31961)
  File "map.pxd", line 4, in init sage.structure.parent 
(sage/structure/parent.c:25651)
AttributeError: 'module' object has no attribute 'Map'

The import line suggested by Volker got me further than before, but I'm lost 
after that.

Thanks again,
Pete

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to