[GAP Forum] method ... matches more than one declaration

Igor Korepanov paloff at ya.ru
Tue Apr 5 15:16:35 BST 2011


Dear Stephen,

here it is. The phrase "We gonna eat your brain" is printed intentionally and must be regarded as sort of our internal humor, as is my login on my home computer and whatever other private things can be found here.

bossik at Ghost ~ $ gap -D -l ";/home/bossik/gap"
#I  READ_GAP_ROOT: loading 'lib/init.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/kernel.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/global.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/system.g' as GAP file

            #########           ######         ###########           ###  
         #############          ######         ############         ####  
        ##############         ########        #############       #####  
       ###############         ########        #####   ######      #####  
      ######         #         #########       #####    #####     ######  
     ######                   ##########       #####    #####    #######  
     #####                    ##### ####       #####   ######   ########  
     ####                    #####  #####      #############   ###  ####  
     #####     #######       ####    ####      ###########    ####  ####  
     #####     #######      #####    #####     ######        ####   ####  
     #####     #######      #####    #####     #####         #############
      #####      #####     ################    #####         #############
      ######     #####     ################    #####         #############
      ################    ##################   #####                ####  
       ###############    #####        #####   #####                ####  
         #############    #####        #####   #####                ####  
          #########      #####          #####  #####                ####  

     Information at:  http://www.gap-system.org
     Try '?help' for help. See also  '?copyright' and  '?authors'

   Loading the library. Please be patient, this may take a while.
#I  READ_GAP_ROOT: loading 'lib/read1.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/filter.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/filter1.g' statically
#I  READ_GAP_ROOT: loading 'lib/oper.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/oper1.g' statically
#I  READ_GAP_ROOT: loading 'lib/type.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/type1.g' statically
#I  READ_GAP_ROOT: loading 'lib/methsel.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/methsel1.g' statically
#I  READ_GAP_ROOT: loading 'lib/methsel2.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/random.g' statically
#I  READ_GAP_ROOT: loading 'lib/function.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/object.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/variable.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/coll.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/list.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/wpobj.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/arith.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ffe.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/domain.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/string.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/cyclotom.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/set.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/record.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/coll.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/flag.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/boolean.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ffe.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/arith.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/list.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/wpobj.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/permutat.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/object.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/listcoef.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/info.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/assert.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/files.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/streams.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/vecmat.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/vec8bit.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/mat8bit.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/global.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/info.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/assert.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/global.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/random.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/options.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/options.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/attr.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/attr.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/float.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/read2.co' as GAP file
#I  completed lib/read2.g
#I  READ_GAP_ROOT: loading 'lib/read3.co' as GAP file
#I  completing '/usr/share/gap/lib/basis.gd'
#I  completing '/usr/share/gap/lib/oprt.gd'
#I  completing '/usr/share/gap/grp/classic.gd'
#I  completing '/usr/share/gap/lib/list.gi'
#I  completing '/usr/share/gap/lib/ctbl.gd'
#I  completing '/usr/share/gap/lib/random.gi'
#I  completed lib/read3.g
#I  READ_GAP_ROOT: loading 'lib/read4.co' as GAP file
#I  completing '/usr/share/gap/lib/reread.g'
#I  completed lib/read4.g
#I  READ_GAP_ROOT: loading 'lib/helpview.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/read5.co' as GAP file
#I  completing '/usr/share/gap/lib/mapphomo.gd'
#I  completing '/usr/share/gap/lib/magma.gd'
#I  completing '/usr/share/gap/lib/basis.gi'
#I  completing '/usr/share/gap/lib/vspc.gi'
#I  completing '/usr/share/gap/lib/algebra.gi'
#I  completing '/usr/share/gap/lib/domain.gi'
#I  completing '/usr/share/gap/lib/idealalg.gi'
#I  completing '/usr/share/gap/lib/groebner.gi'
#I  completing '/usr/share/gap/lib/field.gi'
#I  completing '/usr/share/gap/lib/module.gi'
#I  completing '/usr/share/gap/lib/modfree.gi'
#I  completing '/usr/share/gap/lib/ffe.gi'
#I  completing '/usr/share/gap/lib/integer.gi'
#I  completing '/usr/share/gap/lib/ring.gi'
#I  completing '/usr/share/gap/lib/meataxe.gi'
#I  completing '/usr/share/gap/lib/meataxe.gd'
#I  completing '/usr/share/gap/lib/pcgs.gi'
#I  completing '/usr/share/gap/lib/grpnice.gd'
#I  completing '/usr/share/gap/lib/ghom.gd'
#I  completed lib/read5.g
#I  READ_GAP_ROOT: loading 'lib/read6.co' as GAP file
#I  completing '/usr/share/gap/lib/matrix.gi'
#I  completing '/usr/share/gap/lib/vecmat.gi'
#I  completed lib/read6.g
#I  READ_GAP_ROOT: loading 'lib/read7.co' as GAP file
#I  completed lib/read7.g
#I  READ_GAP_ROOT: loading 'lib/read8.co' as GAP file
#I  completed lib/read8.g
#I  READ_GAP_ROOT: loading 'lib/colorprompt.g' as GAP file
#I  completing '/usr/share/gap/lib/streams.gi'
#I  completing '/usr/share/gap/lib/files.gi'
#I  READ_GAP_ROOT: loading 'small/readsml.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/small.gd' as GAP file
#I  READ_GAP_ROOT: loading 'small/small.gi' as GAP file
#I  READ_GAP_ROOT: loading 'small/smlgp1.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/idgrp1.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/smlinfo.gi' as GAP file
#I  READ_GAP_ROOT: loading 'small/small2/smlgp2.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/small3/smlgp3.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/small4/smlgp4.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/small5/smlgp5.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/small6/smlgp6.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/small7/smlgp7.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/small8/smlgp8.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/small9/smlgp9.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/small10/smlgp10.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/id2/idgrp2.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/id3/idgrp3.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/id4/idgrp4.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/id5/idgrp5.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/id6/idgrp6.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/id9/idgrp9.g' as GAP file
#I  READ_GAP_ROOT: loading 'small/id10/idgrp10.g' as GAP file
#I  READ_GAP_ROOT: loading 'trans/trans.gd' as GAP file
#I  READ_GAP_ROOT: loading 'trans/trans.grp' as GAP file
#I  READ_GAP_ROOT: loading 'trans/trans.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/galois.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/galois.gi' as GAP file
#I  READ_GAP_ROOT: loading 'prim/primitiv.gd' as GAP file
#I  READ_GAP_ROOT: loading 'prim/irredsol.gd' as GAP file
#I  READ_GAP_ROOT: loading 'prim/primitiv.grp' as GAP file
#I  READ_GAP_ROOT: loading 'prim/primitiv.gi' as GAP file
#I  READ_GAP_ROOT: loading 'prim/irredsol.grp' as GAP file
#I  READ_GAP_ROOT: loading 'prim/irredsol.gi' as GAP file
#I  READ_GAP_ROOT: loading 'prim/cohorts.grp' as GAP file
#I  completing '/usr/share/gap/lib/package.g'
#I  completing '/usr/share/gap/lib/string.gi'
#I  Read( "/usr/share/gap/pkg/tomlib/PackageInfo.g" )
#I  Read( "/usr/share/gap/pkg/tomlib/PackageInfo.g" ) done
#I  Read( "/home/bossik/gap/pkg/PL/PackageInfo.g" )
#I  Read( "/home/bossik/gap/pkg/PL/PackageInfo.g" ) done
#I  completing '/usr/share/gap/lib/helpbase.gi'
-----------------------------------------------------------------------------
Loading  PL 0.1
-----------------------------------------------------------------------------
#I  READ_GAP_ROOT: loading 'lib/obsolete.g' as GAP file
#I  Read( "/home/bossik/gap/pkg/PL/init.g" )
#I    Read( "/home/bossik/gap/pkg/PL/lib/polytopes.gd" )
#I    Read( "/home/bossik/gap/pkg/PL/lib/combinatorics.gd" )
#I    Read( "/home/bossik/gap/pkg/PL/lib/compbuild.gd" )
#I    Read( "/home/bossik/gap/pkg/PL/lib/compcalc.gd" )
#I    Read( "/home/bossik/gap/pkg/PL/lib/knots.gd" )
#I  Read( "/home/bossik/gap/pkg/PL/init.g" ) done
#I  Read( "/home/bossik/gap/pkg/PL/read.g" )
#I    Read( "/home/bossik/gap/pkg/PL/lib/polytopes.gi" )
We gonna eat your brain
#I    Read( "/home/bossik/gap/pkg/PL/lib/combinatorics.gi" )
#I    Read( "/home/bossik/gap/pkg/PL/lib/compbuild.gi" )
#I    Read( "/home/bossik/gap/pkg/PL/lib/compcalc.gi" )
#I    Read( "/home/bossik/gap/pkg/PL/lib/knots.gi" )
#I  Read( "/home/bossik/gap/pkg/PL/read.g" ) done
#I  READ_GAP_ROOT: loading 'lib/obsolete.g' as GAP file
#I  method installed for UnderlyingField matches more than one declaration
#I  method installed for UnderlyingField matches more than one declaration
#I  Read( "/usr/share/gap/pkg/tomlib/init.g" )
#I    Read( "/usr/share/gap/pkg/tomlib/gap/tmadmin.tmd" )
#I    Read( "/usr/share/gap/pkg/tomlib/gap/stdgen.gd" )
#I  Read( "/usr/share/gap/pkg/tomlib/init.g" ) done
#I  Read( "/usr/share/gap/pkg/tomlib/read.g" )
#I    Read( "/usr/share/gap/pkg/tomlib/gap/tmadmin.tmi" )
#I    Read( "/usr/share/gap/pkg/tomlib/gap/tmstdrd.tom" )
#I    Read( "/usr/share/gap/pkg/tomlib/gap/stdgen.gi" )
#I  Read( "/usr/share/gap/pkg/tomlib/read.g" ) done
GAP4, Version: 4.4.12 of 17-Dec-2008, x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-\
gcc
Components:  small 2.1, small2 2.0, small3 2.0, small4 1.0, small5 1.0,
             small6 1.0, small7 1.0, small8 1.0, small9 1.0, small10 0.2,
             id2 3.0, id3 2.1, id4 1.0, id5 1.0, id6 1.0, id9 1.0, id10 0.1,
             trans 1.0, prim 2.1  loaded.
Packages:    PL 0.1, TomLib 1.1.4  loaded.
gap>   


Best,

Igor



05.04.2011, 18:03, "Stephen Linton" <sal at cs.st-andrews.ac.uk>;:

05.04.2011, 18:03, "Stephen Linton" <sal at cs.st-andrews.ac.uk>:
> Dear Igor,
>
> Could you try starting GAP with the -D option (and without -A and -r).
> This will produce a lot of messages. Could you send us the 10 or so either side of the error message, please?
>
>         Steve
>
> On 5 Apr 2011, at 14:46, Alexander Konovalov wrote:
>
>>  Dear Igor,
>>
>>  Thank you very much for notifying us about the intended package, and you are very
>>  welcome to present it for a wider audience.
>>
>>  To decide what to do next when your package will be available, please see the page
>>  Submitting Contributions to GAP: http://www.gap-system.org/Contacts/submit.html
>>
>>  Quoting that page, there are two options listed there:
>>
>>  ***
>>
>>  1) Submitting Material for Formal Refereeing
>>
>>  The author of a contribution that is intended for formal acceptance should begin the process by notifying the Chair of the GAP Council by emailing council at gap-system.org, providing full information where the complete material has been placed.
>>
>>  2) Submitting Deposited Contributions
>>
>>  You are also invited to provide material that is not intended for formal refereeing. To tell us about such material, contact support at gap-system.org. (Packages can also be put into this category while refereeing is in process.)
>>
>>  ***
>>
>>  It is up to package authors to decide between these two options, and certainly it's possible to start with (2) and then decide to submit as in (1) at some stage later, or to submit the package for the refereeing as in (1) with or without depositing it simultaneously as in (2).
>>
>>  Best wishes,
>>  Alexander
>>
>>  On 5 Apr 2011, at 13:01, Igor Korepanov wrote:
>>>  Dear Alexander,
>>>
>>>  Thank you for the prompt reaction to my message,
>>>
>>>  and indeed, when I started GAP with
>>>
>>>  gap -r -A -l ";/home/myhome/gap"
>>>
>>>  (where the -l option was added because I prefer not to act as a superuser, leaving this privilege to my wife), and then wrote
>>>
>>>  gap> LoadPackage("PL");
>>>
>>>  there was *no more* such problem.
>>>
>>>  So, thank you again, and the question is: what will you recommend me to do next?
>>>
>>>  Igor
>>>
>>>  05.04.2011, 15:46, "Alexander Konovalov" <alexander.konovalov at gmail.com>;:
>>>>  Dear Igor,
>>>>
>>>>  On 5 Apr 2011, at 07:34, Igor Korepanov wrote:
>>>>>  Dear Forum,
>>>>>
>>>>>  We are writing our new GAP package called PL, which stays for "piecewise-linear" topology and mathematical physics. As some functions already work, I think we will make it available for public (support and) critisism soon.
>>>>>
>>>>>  However, when GAP reads our package, it writes out:
>>>>>
>>>>>  #I  method installed for UnderlyingField matches more than one declaration
>>>>>
>>>>>  How can I fish out and fix this bug?
>>>>  There is a large chance that this is a problem with a different package - for example,
>>>>  I can reproduce it when I start GAP 4.4.12 with -A option (so no autoloaded packages
>>>>  are loaded), but without -r option (so it reads my .gaprc file and loads packages
>>>>  stated there).
>>>>
>>>>  Could you try to start GAP with -r -A options and then do
>>>>
>>>>  LoadPackage("PL");
>>>>
>>>>  to check if the problem persists?
>>>>
>>>>  Best wishes,
>>>>  Alexander
>>  _______________________________________________
>>  Forum mailing list
>>  Forum at mail.gap-system.org
>>  http://mail.gap-system.org/mailman/listinfo/forum



More information about the Forum mailing list