[Debian-science-sagemath] GAP: issue related to compressed manual.six: PATCHES: reproducing issue

Jerome BENOIT calculus at rezozer.net
Mon Dec 12 15:45:11 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On 11/12/16 22:15, Ximin Luo wrote:
> Ximin Luo:
>> Ximin Luo:
>>> [..]
>>>
>>> To demonstrate this in slightly more detail, I have attached two files:
>>>
>>> - sagetest.g  - this is directly from Sage, for Bill's reference
>>>
>>> - sagetest.py - this is my attempt to come up with a "minimal test example". 
>>
>> Here is a minimal example, purely only with GAP, no Sage involved.
>>
>> You still need sagetest.g from my previous email, but you don't need to download my compressed workspace, the following commands will generate it:
>>
>> $ rm -f test.w 
>>
>> [..]
> 
> Sorry, I should have waited for a bit longer before writing the previous email. Here is an even smaller example, involving no material from Sage, not even sagetest.g:
> 
> $ rm -f test.w 
> $ { echo 'SaveWorkspace("./test.w");'; } | gap -q -b
> true
> 
> $ { echo '?FieldByMatricesNC;'; } | gap -q -b -L ./test.w 
> #W  corrupted 'manual.six': ##W (in stream: InputTextFile(/usr/share/gap/doc/t\
> ut/manual.six))
> #W  corrupted 'manual.six': ##W (in stream: InputTextFile(/usr/share/gap/doc/c\
> hanges/manual.six))
> #W  corrupted 'manual.six':  intro.tex 1. Introduction
> #W (in stream: InputTextFile(/usr/share/gap/pkg/Alnuth/doc/manual.six))
> Error, no method found! For debugging hints type ?Recovery from NoMethodFound
> Error, no 1st choice method found for `+' on 2 arguments called from
> pos - 1 at /usr/share/gap/lib/helpdef.gi:168 called from
> HELP_BOOK_HANDLER.(handler).ReadSix( stream 
>  ) at /usr/share/gap/lib/helpbase.gi:679 called from
> func( C[i] ) at /usr/share/gap/lib/coll.gi:746 called from
> List( books, HELP_BOOK_INFO 
>  ) at /usr/share/gap/lib/helpbase.gi:934 called from
> HELP_GET_MATCHES( books, topic, frombegin 
>  ) at /usr/share/gap/lib/helpbase.gi:968 called from
> ...  at line 1 of *stdin*
> you can 'quit;' to quit to outer loop, or
> you can 'return;' to continue
> brk> 
> 
> So it seems saving a workspace, even an "empty" one, then loading it again, causes GAP to be unable to parse the old-style manuals.

more precisely, any old-style manual once compressed.

Just uncompressed the manual.six in /usr/share/gap , and the issue is gone:

find /usr/share/gap -name 'manual.siz.gz' -exec gunzip \{\} \;


Jerome

> 
> X
> 

- -- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
-----BEGIN PGP SIGNATURE-----

iQQcBAEBCgAGBQJYTsYGAAoJED+SGaZ/NsaLSO4gAJryfgS2JxqFCxGvFELJPEpX
p8NiDypOXceHTgfQ7Jjn7tCiffHAFZbbO65AtNgLyd+n2i3MqiYhHD9jIzh0nllG
z+0wx7cwhS3QTv4Rg9GXD7BPQzhDNElnTYW/2CSKDrDRO00JC5bx5hrm8AUir7O/
0iuMLx73lWjfDMJREaQ2LilLJCSK7a2CR7aW9l9j83kZpDaJtXKvsutkHCtGjV2r
+wjatA1FIlljHrXokfYDWJ/wSqA9qvRaU36vthniXBXsUQ+aLxXy+dv+D4yCKn5T
MNqlmlxCRK3Ra2fokWLRxuV9pF2hergidPRO1K+7r2jpqIq73y1/DDE+t1+mYOCW
WBOQi04I0umrH3XgpAz3J2yrSmVcR8kYVybMdJThKndVYq9gEsVbc0ru0sxqaeUL
I77QTfX59jN73TCqVCw1Z68TGApdsXJ3N4pWo0txrHPfwQHDaOP56mDm2bpd3jS6
8QfpRTXwhiOkyn8HQlTb6S9TN5wS0rvGIdHvYCy1Lc4XaETqbD6Hfrx3YTqIzNg5
+84oWus/dqRVjVbuu9PdOAX3UGXsubLKKxKvI2RsmSsi2sg65By78I+DghTR0PXT
BeG0nZbxZ9axWb4sJ+GMztfwjXL2rvmwZGqPECxPwfSGdxu4dHGRfB568kQ7nnbq
HyWu2SqjGZXxp/92NSC7eAlL3UarYMBdKFyQLYNQ8HP6Vm+wjm/9tjuZ/c4nPQjD
qUteP+R643NqqKG/H0thBqhrGulKz65dFTeh9qpNzu38lVykDAGB771Ygdoj5E0C
sXJ9mWZOqLQN9+WUAqjvTwTRGk1732lPFRqwieXgS/VkZMqaYac4pJfNfkTxJ9nJ
AbDf9qYOg1gWS3VozEDxY1RwWKCW8lQGQbDJBEdZiLgvPoFM2XCnxTUB0uw0mAud
NtNWVYkpI6+BS48WQmFVDsa3fs/Y6n7UPvg5mZ6DtCoQjMBpq7ypX+b41qG0UHcz
f1kCURMsXhelBz1MhqkLavssceLCHzHvZF8aTyloqDYH2GZ79PuPJ0LGg+0cPQ6p
UNdezEXOmyUfB1r9J8LYtxxwr7GCNZPA7Lyusx4YK3DBNNA3tLrxcT5u61QCTXjR
tE+CGaP6K/Uo7AyGjKJHH/UMwAec5K6NYLe6ysaF1GWLblejyTybpiG/GeIoM+lQ
FDtybZY0J19qpK8KmhWINtmNBsK8lBBBlPLFCemkHejFcEbsa/az7nJBhAFnSpoi
K5hS30jNbwj8ZogszQ2XpiVJ5yczq8/S05UkmZrA6pRD5FrnLcicqi7LH3xvk22f
Y8JtDBDcHdiPQOdX4UtffP55dKV8xN16PxsffVFObJxEWMHJNioSkn4TX8wVupA=
=xhev
-----END PGP SIGNATURE-----



More information about the Debian-science-sagemath mailing list