Hello everybody !!!
I just gave this a try a second ago :
sage: WittDesign(23)
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', (47, 0))
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
/auto/sop-nas2a/u/sop-nas2a/vol/home_mascotte/ncohen/<ipython console>
in <module>()
/usr/local/sage/local/lib/python2.6/site-packages/sage/combinat/designs/block_design.pyc
in WittDesign(n)
198 from sage.interfaces.gap import gap, GapElement
199 gap.eval('LoadPackage("design")')
--> 200 gap.eval("B:=WittDesign(%s)"%n)
201 v = eval(gap.eval("B.v"))
202 gblcks = eval(gap.eval("B.blocks"))
/usr/local/sage/local/lib/python2.6/site-packages/sage/interfaces/gap.pyc
in eval(self, x, newlines, strip, **kwds)
478 input_line += ';'
479
--> 480 result = Expect.eval(self, input_line, **kwds)
481
482 if not newlines:
/usr/local/sage/local/lib/python2.6/site-packages/sage/interfaces/expect.pyc
in eval(self, code, strip, synchronize, locals, **kwds)
981 try:
982 with gc_disabled():
--> 983 return '\n'.join([self._eval_line(L, **kwds)
for L in code.split('\n') if L != ''])
984 except KeyboardInterrupt:
985 # DO NOT CATCH KeyboardInterrupt, as it is being caught
/usr/local/sage/local/lib/python2.6/site-packages/sage/interfaces/gap.pyc
in _eval_line(self, line, allow_use_file, wait_for_prompt)
720 return ''
721 else:
--> 722 raise RuntimeError, message
723
724 except KeyboardInterrupt:
RuntimeError: Gap produced error output
Variable: 'WittDesign' must have a value
executing B:=WittDesign(23);
sage:
Though this is exactly where my knowledge of Gap, its interfacing, and
Witt designs ends... I just read the definition and wanted to know
what Sage knew of it :-)
Nathann
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org