[sage-devel] Re: Implementation of Gamma in Sage

2016-12-24 Thread Ralf Stephan
On Saturday, December 24, 2016 at 9:57:30 PM UTC+1, saad khalid wrote: > > First, most of the functions in the other.py and special.py folder include > code for their derivatives. However, I honestly have no idea about the > derivative of the qgamma function, and I could not find any literature

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
What other ways do you suggest I try? ssh-copy-id fails with the same Permission denied (publickey) error. Is there another way to upload keys to the trac server? Maxie On Sat, Dec 24, 2016 at 7:17 PM, Dima Pasechnik wrote: > > > On Sunday, December 25, 2016 at 12:39:27 AM

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Sunday, December 25, 2016 at 12:39:27 AM UTC, Maxie Schmidt wrote: > > It's also reassuring for me that it can be fixed on the server. I > literally tried almost everything available online to tweak the config > files and regenerated keys a few separate times to see if that was the >

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
It's also reassuring for me that it can be fixed on the server. I literally tried almost everything available online to tweak the config files and regenerated keys a few separate times to see if that was the issue. Do you know when this will be fixed? On Sat, Dec 24, 2016 at 5:03 PM, Dima

[sage-devel] Re: Implementation of Gamma in Sage

2016-12-24 Thread saad khalid
You're certainly right. It was faster than mathematica implementation of q-digamma, so I assumed that it would be faster than any implementation that is open source. I will do some definitive testing of that soon. I would like to add a basic implementation of these functions first at least.

[sage-devel] Re: Implementation of Gamma in Sage

2016-12-24 Thread rjf
On Monday, December 19, 2016 at 6:36:19 PM UTC-8, saad khalid wrote: > > Hello everyone! > > I'm interested in contributing/working on Sage a bit. Specifically, one of > my Professor's came up with a faster way to compute q-digamma, at least in > some cases. I would like to code it up and add

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 10:30:44 PM UTC, Maxie Schmidt wrote: > > I also easily added the same key to my existing github account and it > works as expected. > this is good to know. As I wrote, it looks now to me as this is a problem on trac side. The one I don't seem to recall, for

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 10:08:48 PM UTC, Volker Braun wrote: > > On Saturday, December 24, 2016 at 2:08:42 PM UTC+1, Maxie Schmidt wrote: >> >> debug1: /home/maxie/.ssh/config line 4: Applying options for * >> > > Thats a bit suspicious, I hope you know which options you are applying

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
I also easily added the same key to my existing github account and it works as expected. On Sat, Dec 24, 2016 at 4:12 PM, Maxie Schmidt wrote: > I tried re-adding the key on the trac preferences page. I'm still not able > to access the server using "ssh g...@trac.sagemath.org

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
I tried re-adding the key on the trac preferences page. I'm still not able to access the server using "ssh g...@trac.sagemath.org info". On Sat, Dec 24, 2016 at 4:09 PM, Maxie Schmidt wrote: > I also have a local ~/.ssh/config file which contains: > > Host * >

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
I also have a local ~/.ssh/config file which contains: Host * PubKeyAuthentication yes IdentityFile /home/maxie/.ssh/id_rsa PubkeyAcceptedKeyTypes=+ssh-rsa IdentityFile ~/.ssh/id_rsa.pub On Sat, Dec 24, 2016 at 4:08 PM, Maxie Schmidt wrote: > This is the output of listing

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
This is the output of listing my ~/.ssh directory: ls -l ~/.ssh/ total 36 -r--r--r-- 1 maxie maxie 404 Dec 21 20:01 authorized_keys -rw-r--r-- 1 maxie maxie 192 Dec 24 06:58 config -rw--- 1 maxie maxie 1679 Sep 8 23:46 google_compute_engine -rw--- 1 maxie maxie 404 Sep 8 23:46

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Volker Braun
On Saturday, December 24, 2016 at 2:08:42 PM UTC+1, Maxie Schmidt wrote: > > debug1: /home/maxie/.ssh/config line 4: Applying options for * > Thats a bit suspicious, I hope you know which options you are applying globally debug1: Offering RSA public key: /home/maxie/.ssh/id_rsa.pub > debug3:

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 5:45:28 PM UTC, Maxie Schmidt wrote: > > Ok, I changed the comment in the key uploaded on the trac server > preferences page. It's reflected in the output I get from running "git trac > config". However, when I run "ssh [-k] -vvv g...@trac.sagemath.org >

[sage-devel] Re: Implementation of Gamma in Sage

2016-12-24 Thread saad khalid
A few issues I am running into at the moment. First, most of the functions in the other.py and special.py folder include code for their derivatives. However, I honestly have no idea about the derivative of the qgamma function, and I could not find any literature about it. Is it possible to

Re: [sage-devel] Re: Sage Windows Installer (take 2b)

2016-12-24 Thread Erik Bray
On Dec 24, 2016 12:50, "Dima Pasechnik" wrote: On Saturday, December 24, 2016 at 11:44:26 AM UTC, David Joyner wrote: > On Sat, Dec 24, 2016 at 6:07 AM, Dima Pasechnik wrote: > > > > > > On Saturday, December 24, 2016 at 10:28:57 AM UTC, Erik Bray wrote:

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
Ok, I changed the comment in the key uploaded on the trac server preferences page. It's reflected in the output I get from running "git trac config". However, when I run "ssh [-k] -vvv g...@trac.sagemath.org info", I'm still getting the message Permission denied (publickey). Can you think of

[sage-devel] Re: Error in compiling Sage in Ubunt 16.04u from source

2016-12-24 Thread Eric Gourgoulhon
Le vendredi 23 décembre 2016 15:12:08 UTC+1, Fjordforsk A/S a écrit : > > Hi, installing python-pip did not solve it. > > Have you tried typing make distclean before running make? Eric. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 2:19:40 PM UTC, Maxie Schmidt wrote: > > The comment on the key is the last field of text, like maxie@locakbox or > id_rsa.pub or any other text comment. These were different between what > ssh-add -l was returning and what git Trac config were returning, but

Re: [sage-devel] Python's _ssl module wont't compile correctly against OpenSSL 1.1

2016-12-24 Thread Emmanuel Charpentier
Le samedi 24 décembre 2016 13:51:28 UTC+1, Dima Pasechnik a écrit : > > > > On Thursday, December 22, 2016 at 1:50:03 PM UTC, Emmanuel Charpentier > wrote: >> >> Well, I upgraded my local Sage (which used to have a functional pip...) >> and ... : >> >> charpent@SAP5057241:/usr/local/sage-7$

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
The comment on the key is the last field of text, like maxie@locakbox or id_rsa.pub or any other text comment. These were different between what ssh-add -l was returning and what git Trac config were returning, but the comment field should be ignored. My username is maxieds on the Trac server. On

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
also, what is your trac account? I can then look at your record on the trac server. On Saturday, December 24, 2016 at 1:41:14 PM UTC, Dima Pasechnik wrote: > > > > On Saturday, December 24, 2016 at 1:08:42 PM UTC, Maxie Schmidt wrote: >> >> I'm uploading the public key data I get by running "cat

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 1:08:42 PM UTC, Maxie Schmidt wrote: > > I'm uploading the public key data I get by running "cat ~/.ssh/id_rsa.pub" > to the trac server preferences page. I've checked this multiple times. The > comment on the key shouldn't matter, correct? > I don't know

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
I'm uploading the public key data I get by running "cat ~/.ssh/id_rsa.pub" to the trac server preferences page. I've checked this multiple times. The comment on the key shouldn't matter, correct? I do have a github account with the same user name as the trac server account, but I don't

Re: [sage-devel] Python's _ssl module wont't compile correctly against OpenSSL 1.1

2016-12-24 Thread Dima Pasechnik
On Thursday, December 22, 2016 at 1:50:03 PM UTC, Emmanuel Charpentier wrote: > > Well, I upgraded my local Sage (which used to have a functional pip...) > and ... : > > charpent@SAP5057241:/usr/local/sage-7$ sage -python > Python 2.7.12 (default, Dec 22 2016, 11:47:35) > [GCC 6.2.1 20161124]

Re: [sage-devel] cysignal, python signal module, and alarm functions

2016-12-24 Thread Jean-Pierre Flori
On Saturday, December 24, 2016 at 11:00:33 AM UTC+1, Jeroen Demeyer wrote: > > On 2016-12-24 10:37, Jean-Pierre Flori wrote: > > My issue is that I can not use the alarm() machinery to trigger it... > > I do not understand why you would want to use alarm() to kill magma. It > seems like an

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
PS. please double-check that the public key you upload on trac is id_rsa.pub and not the other key. And it seems that you might have gssapi on (in /etc/ssh/ssh_config or in ~/.ssh/config ?), and it is broken somehow. Could you try running ssh -k -vvv g...@git.sagemath.org (-k disables gssapi)

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 11:47:36 AM UTC, Maxie Schmidt wrote: > > I'm still very much in need of help with fixing the ssh key issue that's > keeping me from uploading files to a new branch on Trac. The following is > the output when I run "ssh -vvv g...@git.sagemath.org": > >

[sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
notice that your OpenSSL version is old, 1.0.2g. The current 1.0.* one is 1.0.2j Not sure whether this is the problem here. On Saturday, December 17, 2016 at 6:27:21 PM UTC, Maxie Schmidt wrote: > > Hello. > > I have an account on and have uploaded my local id_rsa.pub key in the sage > math

Re: [sage-devel] Re: Sage Windows Installer (take 2b)

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 11:44:26 AM UTC, David Joyner wrote: > > On Sat, Dec 24, 2016 at 6:07 AM, Dima Pasechnik > wrote: > > > > > > On Saturday, December 24, 2016 at 10:28:57 AM UTC, Erik Bray wrote: > >> > >> On Fri, Dec 23, 2016 at 12:11 AM, David Joyner

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
I'm still very much in need of help with fixing the ssh key issue that's keeping me from uploading files to a new branch on Trac. The following is the output when I run "ssh -vvv g...@git.sagemath.org": OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration

Re: [sage-devel] Re: Sage Windows Installer (take 2b)

2016-12-24 Thread David Joyner
On Sat, Dec 24, 2016 at 6:07 AM, Dima Pasechnik wrote: > > > On Saturday, December 24, 2016 at 10:28:57 AM UTC, Erik Bray wrote: >> >> On Fri, Dec 23, 2016 at 12:11 AM, David Joyner wrote: >> > Erik Bray: >> > >> > Many thanks for this. Great job. >> > >> >

Re: [sage-devel] Re: Sage Windows Installer (take 2b)

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 10:28:57 AM UTC, Erik Bray wrote: > > On Fri, Dec 23, 2016 at 12:11 AM, David Joyner > wrote: > > Erik Bray: > > > > Many thanks for this. Great job. > > > > I tested latest version on a windows 7 machine in a computer lab at > >

Re: [sage-devel] Re: Sage Windows Installer (take 2b)

2016-12-24 Thread Erik Bray
On Fri, Dec 23, 2016 at 12:11 AM, David Joyner wrote: > Erik Bray: > > Many thanks for this. Great job. > > I tested latest version on a windows 7 machine in a computer lab at > work. The sage terminal worked fine. The sage notebook didn't work > well in IE (the default

Re: [sage-devel] cysignal, python signal module, and alarm functions

2016-12-24 Thread Jeroen Demeyer
On 2016-12-24 10:37, Jean-Pierre Flori wrote: My issue is that I can not use the alarm() machinery to trigger it... I do not understand why you would want to use alarm() to kill magma. It seems like an instance of the XY problem (http://xyproblem.info/) to me, where X=killing magma and

Re: [sage-devel] cysignal, python signal module, and alarm functions

2016-12-24 Thread Jean-Pierre Flori
On Saturday, December 24, 2016 at 10:22:13 AM UTC+1, Jeroen Demeyer wrote: > > On 2016-12-23 21:49, Jean-Pierre Flori wrote: > > > > > > On Friday, December 23, 2016 at 9:10:53 PM UTC+1, Jeroen Demeyer wrote: > > > > On 2016-12-23 10:34, Jean-Pierre Flori wrote: > > > Maybe the

Re: [sage-devel] converting different C/C++ types/classes

2016-12-24 Thread Jeroen Demeyer
On 2016-12-21 19:10, John Cremona wrote: Is there a list somewhere of which C or C++ types or classes can be converted in cython files? What do you mean with "converted" here? Convert from what to what? But I want to make available a function which returns an NTL RR (real number). The NTL

Re: [sage-devel] cysignal, python signal module, and alarm functions

2016-12-24 Thread Jeroen Demeyer
On 2016-12-23 21:49, Jean-Pierre Flori wrote: On Friday, December 23, 2016 at 9:10:53 PM UTC+1, Jeroen Demeyer wrote: On 2016-12-23 10:34, Jean-Pierre Flori wrote: > Maybe the code in sage/except.py should at least be modified not to > modify the class of the exception. I