[sage-devel] Re: AffinePermutationGroup: weird behavior with rational numbers

2018-10-08 Thread Travis Scrimshaw
Hi Pavel, Obstinately, it is not a bug but bad user input as it should be integers. However, it should be more forceful about making sure its internal structure is what it needs to be. As you said, the issue is because (i-average) is an element of QQ and the affine permutation group code is

Re: [sage-devel] Re: want to play around with Sage built using Python3 with minimal effort?

2018-10-08 Thread William Stein
Nice -- updating it now. On Mon, Oct 8, 2018 at 12:06 PM Frédéric Chapoton wrote: > > Could you please update to the latest beta release (8.4.rc0) so that people > can enjoy the recent progress ? > > See https://trac.sagemath.org/ticket/26212 > > Frédéric > > Le lundi 8 octobre 2018 15:49:15

[sage-devel] Re: want to play around with Sage built using Python3 with minimal effort?

2018-10-08 Thread Frédéric Chapoton
Could you please update to the latest beta release (8.4.rc0) so that people can enjoy the recent progress ? See https://trac.sagemath.org/ticket/26212 Frédéric Le lundi 8 octobre 2018 15:49:15 UTC+2, William a écrit : > > Hi, > > If you want to play around with a copy of Sage built using

Re: [sage-devel] want to play around with Sage built using Python3 with minimal effort?

2018-10-08 Thread John Cremona
On Mon, 8 Oct 2018 at 15:59, Erik Bray wrote: > I have no idea what modular symbols are, and wikipedia is not much > help beyond it having something to do with modular forms, though I > found an interesting book [1] on the subject. But it seems to work in > The online version of the book omits

Re: [sage-devel] want to play around with Sage built using Python3 with minimal effort?

2018-10-08 Thread Erik Bray
I have no idea what modular symbols are, and wikipedia is not much help beyond it having something to do with modular forms, though I found an interesting book [1] on the subject. But it seems to work in 8.4.beta7: $ ./sage ┌┐ │

Re: [sage-devel] want to play around with Sage built using Python3 with minimal effort?

2018-10-08 Thread John Cremona
I'm not sure that many Sage user will try ModularSymbols() as their 4th Sage command! John On Mon, 8 Oct 2018 at 14:49, William Stein wrote: > Hi, > > If you want to play around with a copy of Sage built using Python3 > instead of Python2 (so 'export SAGE_PYTHON3="was"') without having to

[sage-devel] want to play around with Sage built using Python3 with minimal effort?

2018-10-08 Thread William Stein
Hi, If you want to play around with a copy of Sage built using Python3 instead of Python2 (so 'export SAGE_PYTHON3="was"') without having to build or install anything, send me an email (wst...@gmail.com) and I'll add you to a CoCalc project [1] that has Sage built that way. See how long until

Re: [sage-devel] Cannot connect to trac

2018-10-08 Thread Eric Gourgoulhon
Thanks Dima and Erik for your prompt answers! It was indeed a local problem. Thanks to the link provided by Dima, I've found the answer by running SSH_AUTH_SOCK=0 ssh g...@trac.sagemath.org info This revealed that the file ~/.ssh/id_rsa had wrong permissions (readable by everybody). This

Re: [sage-devel] Cannot connect to trac

2018-10-08 Thread Erik Bray
Ditto Dima; this is an entirely local problem. Are you running an ssh-agent? On Mon, Oct 8, 2018 at 2:20 PM Dima Pasechnik wrote: > > Works for me. Your log seems to indicate that something is wrong on your end. > (perhaps permissions of files containing keypairs?) > Have a look at >

Re: [sage-devel] Cannot connect to trac

2018-10-08 Thread Dima Pasechnik
Works for me. Your log seems to indicate that something is wrong on your end. (perhaps permissions of files containing keypairs?) Have a look at https://askubuntu.com/questions/762541/ubuntu-16-04-ssh-sign-and-send-pubkey-signing-failed-agent-refused-operation maybe it's one of the cases

[sage-devel] Cannot connect to trac

2018-10-08 Thread Eric Gourgoulhon
Hi, I cannot push any commit to trac this morning since the authentication seems to fail: ssh g...@trac.sagemath.org info sign_and_send_pubkey: signing failed: agent refused operation g...@trac.sagemath.org: Permission denied (publickey). I've removed trac from ~/.ssh/known_hosts via

[sage-devel] AffinePermutationGroup: weird behavior with rational numbers

2018-10-08 Thread Pavel Galashin
Hi, I found a problem in the AffinePermutationGroup class. Here is a reproducible example: def elt(window): > average=(sum(window)-n*(n+1)/2)/n; > print [i-average for i in window]; > return A([(i-average) for i in window]); > n=4; > A=AffinePermutationGroup(['A',n-1,1]); > p=elt([1,6,7,12]); >