[GAP Forum] Serialisation

Sandeep Murthy s.murthy at mykolab.com
Wed Feb 11 14:05:31 GMT 2015


Hi

I am trying to use the IO_PickleToString() method from the SCSCP package
to test out how GAP serialises group objects.  This does not appear to be
working as expected on the isomorphic groups Sym(3) and D_6 (dihedral group).

gap> IO_PickleToString( SymmetricGroup( 3 ) );
"PRMGILIS\>2PERM\>7(1,2,3)PERM\>5(1,2)INTG\>16FAIL”

This looks OK but for D_6 it fails:

gap> IO_PickleToString( DihedralGroup( 6 ) );
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `IO_Pickle' on 2 arguments called from
IO_Pickle( s, obj ); called from
<function "IO_PickleToString">( <arguments> )
 called from read-eval loop at line 20 of *stdin*
you can 'quit;' to quit to outer loop, or
you can 'return;' to continue
brk>

Why is this?  Both should return OpenMath strings.

Sandeep


More information about the Forum mailing list