Hello, We use sage 4.8
The following line:
W=WeylGroup("F4")
works in command line, BUT
do not work when evaluated in the Notebook:
Error message is:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_4.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8
-*-\\n" +
_support_.preparse_worksheet_cell(base64.b64decode("Um9vdFN5c3RlbShDYXJ0YW5UeXBlKCdGNCcpKS5hbWJpZW50X3NwYWNlKCk="),globals())+"\\n");
execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpnRD5eR/___code___.py", line 2, in <module>
exec compile(u"RootSystem(CartanType('F4')).ambient_space()" + '\n',
'', 'single')
File "", line 1, in <module>
File
"/usr/local/sage-4.7.1/local/lib/python2.6/site-packages/sage/misc/classcall_metaclass.py",
line 276, in __call__
return cls.__classcall__(cls, *args, **options)
File
"/usr/local/sage-4.7.1/local/lib/python2.6/site-packages/sage/combinat/root_system/root_system.py",
line 226, in __classcall__
return super(RootSystem, cls).__classcall__(cls,
CartanType(cartan_type), as_dual_of)
File
"/usr/local/sage-4.7.1/local/lib/python2.6/site-packages/sage/misc/cachefunc.py",
line 178, in __call__
w = self.f(*args, **kwds)
File
"/usr/local/sage-4.7.1/local/lib/python2.6/site-packages/sage/structure/unique_representation.py",
line 449, in __classcall__
instance = type.__call__(cls, *args, **options)
File
"/usr/local/sage-4.7.1/local/lib/python2.6/site-packages/sage/combinat/root_system/root_system.py",
line 243, in __init__
self.dual = RootSystem(self._cartan_type.dual(), as_dual_of=self);
File
"/usr/local/sage-4.7.1/local/lib/python2.6/site-packages/sage/combinat/root_system/cartan_type.py",
line 689, in dual
import type_dual
File
"/usr/local/sage-4.7.1/local/lib/python2.6/site-packages/sage/combinat/root_system/type_dual.py",
line 214, in <module>
class
CartanType_affine(sage.combinat.root_system.cartan_type.CartanType_affine):
AttributeError: 'module' object has no attribute 'cartan_type'
Strange...
Yours
t.d.
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
<<attachment: tdumont.vcf>>
