---------- Forwarded message ---------- From: Dmitrii (Dima) Pasechnik <d...@ntu.edu.sg> Date: 29 May 2012 12:29 Subject: Re: [GAP Forum] problem with AutomorphismGroup To: Markus Szymik <markus.szy...@gmail.com> Cc: Alexander Konovalov <al...@mcs.st-andrews.ac.uk>, GAP Forum <fo...@gap-system.org>
Dear Markus, Thanks. I can confirm that this is a bug in in Sage's gap_packages-4.4.12.p1. More precisely, one of the GAP packages bundled there, namely the one called "braid" (listed on http://www.gap-system.org/Packages/undep.html), version 1.0, overwrites GAP's Fingerprint function (hmm, is it a method?) with something of its own. There is a later version of this package, 1.1. However, it still has the same bug. OK, we'll fix this in Sage in some way, most probably by patching "braid". Best, Dmitrii PS. here how to reproduce this: sage: gap_console() GAP4, Version: 4.4.12 of 17-Dec-2008, i686-apple-darwin10.8.0-gcc gap> AutomorphismGroup(DihedralGroup(8)); Function: number of arguments must be 1 (not 2) at tup := Fingerprint( G, H ); called from NormalizingReducedGL( spec, 1, first[2], M ) called from AutomorphismGroupSolvableGroup( G ) called from <function>( <arguments> ) called from read-eval-loop Entering break read-eval-print loop ... you can 'quit;' to quit to outer loop, or you can replace the argument list <args> via 'return <args>;' to continue brk> gap> gap> LOADED_PACKAGES; rec( ctbllib := [ "/usr/local/src/sage/sage-5.0/local/lib/gap-4.4.12/pkg/ctbllib", "1.1.3", "CTblLib" ], factint := [ "/usr/local/src/sage/sage-5.0/local/lib/gap-4.4.12/pkg/factint", "1.5.2", "FactInt" ], gapdoc := [ "/usr/local/src/sage/sage-5.0/local/lib/gap-4.4.12/pkg/GAPDoc", "1.2", "GAPDoc" ], laguna := [ "/usr/local/src/sage/sage-5.0/local/lib/gap-4.4.12/pkg/laguna", "3.5.0", "LAGUNA" ], sonata := [ "/usr/local/src/sage/sage-5.0/local/lib/gap-4.4.12/pkg/sonata", "2.4", "SONATA" ], guava := [ "/usr/local/src/sage/sage-5.0/local/lib/gap-4.4.12/pkg/guava", "3.9", "GUAVA" ], grape := [ "/usr/local/src/sage/sage-5.0/local/lib/gap-4.4.12/pkg/grape", "4.3", "GRAPE" ], design := [ "/usr/local/src/sage/sage-5.0/local/lib/gap-4.4.12/pkg/design", "1.4", "DESIGN" ], toric := [ "/usr/local/src/sage/sage-5.0/local/lib/gap-4.4.12/pkg/toric", "1.6", "toric" ], braid := [ "/usr/local/src/sage/sage-5.0/local/lib/gap-4.4.12/pkg/braid", "1.0", "braid" ] ) gap> #Apparently installation of gap_packages forces GAP to load these #packages; note that gap> gap> AUTOLOAD_PACKAGES; [ "ctbllib", "factint", "gapdoc", "laguna" ] # does not have "braid" listed. I am not entirely sure what's going on. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org