Runtime Error: Gap Tables of Marks Library not installed

112 views
Skip to first unread message

Robert Godfroid

unread,
May 30, 2014, 1:01:12 PM5/30/14
to sage-s...@googlegroups.com
host: Windows 8.1
VirtualBox 4.3.12
guest: Ubuntu 14.04 LTS
Sage 6.2 Release Date 2014-05-06

Statements that gave rise to the error:
A5 = AlternatingGroup(5)
A5_sgs = A5.subgroups()
len(A5_sgs)

=>
...
RuntimeError: Gap produced error output
Error, sorry, the GAP Tables of Marks Library is not installed
executing ConjugacyClassesSubgroups($sage 2)

William Stein

unread,
May 30, 2014, 1:21:39 PM5/30/14
to sage-support
This should be provied by the tomlib package, which is I think part of
the Sage optional package "gap_packages-4.6.4.p1" or maybe
"database_gap-4.6.4". If you install those packages, you'll have a
directory local/gap/latest/pkg/tomlib. However, tomlib still doesn't
work:

salvus@compute1dc2:/usr/local/sage/sage-6.2.rc0/local/gap/latest/pkg$ sage -gap
┌───────┐ GAP, Version 4.7.4 of 20-Feb-2014 (free software, GPL)
│ GAP │ http://www.gap-system.org
└───────┘ Architecture: x86_64-unknown-linux-gnu-gcc-default64
Libs used: gmp, readline
Loading the library and packages ...
TableOfMarks( CharacterTable( "A5" ) ) Components: trans 1.0, prim
2.1, small* 1.0, id* 1.0
Packages: Alnuth 3.0.0, AutPGrp 1.6, CTblLib 1.2.2, FactInt 1.5.3,
GAPDoc 1.5.1, LAGUNA 3.6.4, Polycyclic 2.11
Try '?help' for help. See also '?copyright' and '?authors'
gap> TableOfMarks( CharacterTable( "A5" ) );
fail


I also tried downloading the latest version of tomlib from
http://www.gap-system.org/Packages/tomlib.html and manually placing it
there, and it also doesn't work.

Hopefully a GAP expert can say more.

-- William


> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support...@googlegroups.com.
> To post to this group, send email to sage-s...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.



--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

Dima Pasechnik

unread,
May 30, 2014, 10:12:23 PM5/30/14
to sage-s...@googlegroups.com
On 2014-05-30, William Stein <wst...@gmail.com> wrote:
> On Fri, May 30, 2014 at 10:01 AM, Robert Godfroid
><robert....@gmail.com> wrote:
>> host: Windows 8.1
>> VirtualBox 4.3.12
>> guest: Ubuntu 14.04 LTS
>> Sage 6.2 Release Date 2014-05-06
>>
>> Statements that gave rise to the error:
>> A5 = AlternatingGroup(5)
>> A5_sgs = A5.subgroups()
>> len(A5_sgs)
>>
>> =>
>> ...
>> RuntimeError: Gap produced error output
>> Error, sorry, the GAP Tables of Marks Library is not installed
>> executing ConjugacyClassesSubgroups($sage 2)
>>
>
> This should be provied by the tomlib package, which is I think part of
> the Sage optional package "gap_packages-4.6.4.p1" or maybe
> "database_gap-4.6.4". If you install those packages, you'll have a
it is meanwihile 4.7.4. (However, one can just do
"sage -i database_gap" to install the latest one)

> directory local/gap/latest/pkg/tomlib. However, tomlib still doesn't
> work:

indeed! It turns out that nowadays Tomlib depends upon another GAP package, AtlasRep,
which Sage is not providing.

While we deal with fixing this, one can manually install atlasrep into
local/gap/latest/pkg/
which is just unpacking the tar file from
http://www.gap-system.org/Packages/atlasrep.html

After this:
gap> LoadPackage( "tomlib" );
true
gap> TableOfMarks( CharacterTable( "A5" ) );
TableOfMarks( "A5" )
gap> t:=TableOfMarks( CharacterTable( "A5" ) );
TableOfMarks( "A5" )
gap> Display(t);
1: 60
2: 30 2
3: 20 . 2
4: 15 3 . 3
5: 12 . . . 2
6: 10 2 1 . . 1
7: 6 2 . . 1 . 1
8: 5 1 2 1 . . . 1
9: 1 1 1 1 1 1 1 1 1

gap>
-------------------
Note that one needs to load this package explicitly:

gap> LoadPackage("tomplib");
(or in Sage one does gap.load_package("tomlib))

(in order to check that AtlasRep is installed, one can try
gap> LoadPackage( "tomlib" );
and see that it prints
"true"

Note that AtlasRep will be autoloaded by TomLib.

>
> salvus@compute1dc2:/usr/local/sage/sage-6.2.rc0/local/gap/latest/pkg$ sage -gap
> ┌───────┐ GAP, Version 4.7.4 of 20-Feb-2014 (free software, GPL)
> │ GAP │ http://www.gap-system.org
> └───────┘ Architecture: x86_64-unknown-linux-gnu-gcc-default64
> Libs used: gmp, readline
> Loading the library and packages ...
> TableOfMarks( CharacterTable( "A5" ) ) Components: trans 1.0, prim
> 2.1, small* 1.0, id* 1.0
> Packages: Alnuth 3.0.0, AutPGrp 1.6, CTblLib 1.2.2, FactInt 1.5.3,
> GAPDoc 1.5.1, LAGUNA 3.6.4, Polycyclic 2.11
> Try '?help' for help. See also '?copyright' and '?authors'
> gap> TableOfMarks( CharacterTable( "A5" ) );
> fail
>
>
> I also tried downloading the latest version of tomlib from
> http://www.gap-system.org/Packages/tomlib.html and manually placing it
> there, and it also doesn't work.
>
> Hopefully a GAP expert can say more.
http://trac.sagemath.org/ticket/16416

Dima
Reply all
Reply to author
Forward
0 new messages