These require HAP to be installed. Was that installed?
On 7/22/08, Ursula Whitcher <[EMAIL PROTECTED]> wrote:
>
> I've been getting some errors when trying to compute H^1(G,A) for
> various groups G and finite abelian groups A.
>
> I ran these commands using a notebook at sagenb.org :
>
> G = SymmetricGroup(4)
>
> G.cohomology(1,2)
>
> and had the following error message:
>
> ***
>
> Traceback (click to the left for traceback)
> ...
> executing GroupCohomology(SymmetricGroup(4),1,2);
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/home/server2/sage_notebook/worksheets/Ursula/2/code/10.py",
> line 6, in <module>
> G.cohomology(Integer(1),Integer(2))
> File "/usr/local/sage/local/lib/python2.5/site-packages/sympy/
> plotting/", line 1, in <module>
>
> File "/usr/local/sage/local/lib/python2.5/site-packages/sage/groups/
> perm_gps/permgroup.py", line 1058, in cohomology
> L = eval(gap.eval("GroupCohomology(%s,%s,%s)"%(GG,n,p)))
> File "/usr/local/sage/local/lib/python2.5/site-packages/sage/
> interfaces/gap.py", line 309, in eval
> s = Expect.eval(self, x)
> File "/usr/local/sage/local/lib/python2.5/site-packages/sage/
> interfaces/expect.py", line 917, in eval
> return '\n'.join([self._eval_line(L, **kwds) for L in
> code.split('\n') if L != ''])
> File "/usr/local/sage/local/lib/python2.5/site-packages/sage/
> interfaces/gap.py", line 510, in _eval_line
> raise RuntimeError, message
> RuntimeError: Gap produced error output
> List Element: <position> must be a positive integer (not a integer)
>
> executing GroupCohomology(SymmetricGroup(4),1,2);
>
> ***
>
> Similarly, when I tried
>
> H = AlternatingGroup(5)
>
> H.cohomology(1,7)
>
> I received the error message:
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/home/server2/sage_notebook/worksheets/Ursula/2/code/3.py",
> line 6, in <module>
> H.cohomology(Integer(1),Integer(7))
> File "/usr/local/sage/local/lib/python2.5/site-packages/sympy/
> plotting/", line 1, in <module>
>
> File "/usr/local/sage/local/lib/python2.5/site-packages/sage/groups/
> perm_gps/permgroup.py", line 1058, in cohomology
> L = eval(gap.eval("GroupCohomology(%s,%s,%s)"%(GG,n,p)))
> File "/usr/local/sage/local/lib/python2.5/site-packages/sage/
> interfaces/gap.py", line 309, in eval
> s = Expect.eval(self, x)
> File "/usr/local/sage/local/lib/python2.5/site-packages/sage/
> interfaces/expect.py", line 917, in eval
> return '\n'.join([self._eval_line(L, **kwds) for L in
> code.split('\n') if L != ''])
> File "/usr/local/sage/local/lib/python2.5/site-packages/sage/
> interfaces/gap.py", line 510, in _eval_line
> raise RuntimeError, message
> RuntimeError: Gap produced error output
> List Element: <position> must be a positive integer (not a integer)
>
> executing GroupCohomology(AlternatingGroup(5),1,7);
>
> ***
>
> Some cohomology commands did work as expected:
>
> G.cohomology(2)
>
> Multiplicative Abelian Group isomorphic to C2
>
> G.cohomology(2,2)
>
> Multiplicative Abelian Group isomorphic to C2 x C2
>
> Thanks!
> Ursula.
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---