Re: [sage-devel] Re: SageNB broken because of stmp???

2019-11-23 Thread TAU
On Sat, 23 Nov 2019, Frédéric Chapoton wrote: > The current stumbling point is that sagenb uses twisted and twisted is not > py3 compatible, despite pretending to be so. OK. I opened #28792 for better error message. Also I suppose we must change documentation. -- Jori Mäntysalo Tampereen ylio

Re: [sage-devel] Re: SageNB broken because of stmp???

2019-11-23 Thread Dima Pasechnik
On Sat, Nov 23, 2019 at 5:10 PM Frédéric Chapoton wrote: > > Yes. No sagenb in Python3. > > The current stumbling point is that sagenb uses twisted and twisted is not > py3 compatible, despite pretending to be so. We are on twisted version 16, which is more than 3 years old. The current one is 1

[sage-devel] Re: SageNB broken because of stmp???

2019-11-23 Thread Frédéric Chapoton
Yes. *No sagenb in Python3*. The current stumbling point is that sagenb uses twisted and twisted is not py3 compatible, despite pretending to be so. I did make some lonely efforts to make sagenb work with py3. This stopped on the error message that you give. Frederic Le samedi 23 novembre 201

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-31 Thread Dima Pasechnik
On Fri, May 31, 2019 at 5:49 PM Colby Kelln wrote: > > Hi, > > $ pkg-config --libs libpng > > -L/usr/local/Cellar/libpng/1.6.34/lib -lpng16 -lz > > > and > > > $ pkg-config --cflags libpng > > -I/usr/local/Cellar/libpng/1.6.34/include/libpng16 Thanks. Can you just uninstall it? Then building Sage

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-31 Thread Colby Kelln
Hi, $ pkg-config --libs libpng -L/usr/local/Cellar/libpng/1.6.34/lib -lpng16 -lz and $ pkg-config --cflags libpng -I/usr/local/Cellar/libpng/1.6.34/include/libpng16 On Friday, May 31, 2019 at 8:22:01 AM UTC-4, Dima Pasechnik wrote: > > On Fri, May 31, 2019 at 12:54 PM E. Madison Bray >

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-31 Thread E. Madison Bray
On Fri, May 31, 2019 at 2:51 PM Dima Pasechnik wrote: > > For Colby, it's broken matrix_mod2_dense.so, due to libgd, which got > built without libpng. > A result of a failed attempt to use libpng from the "system" - I guess > Homebrew or a similar thing. In my case it was *not* trying to use the

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-31 Thread Dima Pasechnik
libd happily builds without libpng. and this beta does allow from libpng to come from the system. On Fri, May 31, 2019 at 1:50 PM E. Madison Bray wrote: > > On Fri, May 31, 2019 at 2:47 PM E. Madison Bray wrote: > > > > On Fri, May 31, 2019 at 2:22 PM Dima Pasechnik wrote: > > > > > > On Fri, M

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-31 Thread Dima Pasechnik
For Colby, it's broken matrix_mod2_dense.so, due to libgd, which got built without libpng. A result of a failed attempt to use libpng from the "system" - I guess Homebrew or a similar thing. On Fri, May 31, 2019 at 1:47 PM E. Madison Bray wrote: > > On Fri, May 31, 2019 at 2:22 PM Dima Pasechnik

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-31 Thread E. Madison Bray
On Fri, May 31, 2019 at 2:47 PM E. Madison Bray wrote: > > On Fri, May 31, 2019 at 2:22 PM Dima Pasechnik wrote: > > > > On Fri, May 31, 2019 at 12:54 PM E. Madison Bray > > wrote: > > > > > > On Wed, May 29, 2019 at 2:12 AM Colby Kelln wrote: > > > > > > > > Hi, > > > > > > > > I'm receiving

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-31 Thread E. Madison Bray
On Fri, May 31, 2019 at 2:22 PM Dima Pasechnik wrote: > > On Fri, May 31, 2019 at 12:54 PM E. Madison Bray > wrote: > > > > On Wed, May 29, 2019 at 2:12 AM Colby Kelln wrote: > > > > > > Hi, > > > > > > I'm receiving a similar error message. What exactly did you do to fix the > > > problem? >

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-31 Thread Dima Pasechnik
On Fri, May 31, 2019 at 12:54 PM E. Madison Bray wrote: > > On Wed, May 29, 2019 at 2:12 AM Colby Kelln wrote: > > > > Hi, > > > > I'm receiving a similar error message. What exactly did you do to fix the > > problem? > > > > Thanks > > FWIW I also experienced this problem upon updating to 8.8.b

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-31 Thread E. Madison Bray
On Wed, May 29, 2019 at 2:12 AM Colby Kelln wrote: > > Hi, > > I'm receiving a similar error message. What exactly did you do to fix the > problem? > > Thanks FWIW I also experienced this problem upon updating to 8.8.beta7 on Cygwin. Possibly for unrelated reasons. Will investigate though. >

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-31 Thread Dima Pasechnik
On Thu, May 30, 2019 at 11:14 PM Colby Kelln wrote: > > I do not have a libpng*.log file. What does this indicate? this, as well as your config.log, says that a good libpng was found on your system, but for some reason libgd was not able to find it. I presume that it was found in an installation

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-30 Thread Dima Pasechnik
OK, in your log of libgd I see ** Configuration summary for libgd ..: Support for PNG library: no ... whereas it must have been yes. And the output of $ otool -L local/lib/libgd.3.dylib confirms that libpng was not linked to libgd. This is the cause of the error. We should fi

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-30 Thread Colby Kelln
$ otool -L local/lib/libgd.3.dylib local/lib/libgd.3.dylib: /Users/Colby/Documents/Math/ICERM2019/sage_stuff/local/lib/libgd.3.dylib (compatibility version 4.0.0, current version 4.0.0) /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libz.1.dylib (c

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-30 Thread Dima Pasechnik
hmm, this looks OK too. What is the output of otool -L local/lib/libgd.3.dylib Thanks. On Thu, May 30, 2019 at 10:15 PM Colby Kelln wrote: > > $ otool -L local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so > > local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so: >

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-30 Thread Colby Kelln
$ otool -L local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so: /Users/Colby/Documents/Math/ICERM2019/sage_stuff/local/lib/libgmp.23.dylib (compatibility version 24.0.0, current version 24.3.0) /Users/Colby/Do

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-30 Thread Dima Pasechnik
Thanks, this looks in order. Could you please post the output of otool -L local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so I suspect it is linked to a "wrong" libgd. On Thu, May 30, 2019 at 6:51 PM Colby Kelln wrote: > > I'm nearly certain this is the file you asked for; if n

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-30 Thread Colby Kelln
I'm nearly certain this is the file you asked for; if not, let me know. I appreciate your help. On Thursday, May 30, 2019 at 4:44:18 AM UTC-4, Dima Pasechnik wrote: > > Thanks. sagenb is a package that depends on sage, and sage should better > be in working order at the moment it is built. > >

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-30 Thread Dima Pasechnik
Thanks. sagenb is a package that depends on sage, and sage should better be in working order at the moment it is built. the error message in the log indicates that perhaps libgd, another package, has not been built correctly. Could you post log of it, logs/pkgs/libgd*.log ? thanks. On Thu, 30 Ma

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-29 Thread Dima Pasechnik
On Wed, May 29, 2019 at 2:12 AM Colby Kelln wrote: > > Hi, > > I'm receiving a similar error message. What exactly did you do to fix the > problem? it depends - try starting sage, and post the error message (and probably the relevant logs, too) here. I wonder whether changing the way sagenb dep

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-05-28 Thread Colby Kelln
Hi, I'm receiving a similar error message. What exactly did you do to fix the problem? Thanks On Sunday, April 21, 2019 at 10:30:49 AM UTC-4, vdelecroix wrote: > > Indeed, sage did not start... After fixing it, sagenb installs. > > The error message is really confusing. > > Le 21/04/2019 à

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-04-21 Thread Vincent Delecroix
Indeed, sage did not start... After fixing it, sagenb installs. The error message is really confusing. Le 21/04/2019 à 16:25, Dima Pasechnik a écrit : this error is an indication of an earlier build error. Try starting sage. On Sun, 21 Apr 2019 15:13 Vincent Delecroix, <20100.delecr...@gmail.c

Re: [sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-04-21 Thread Dima Pasechnik
this error is an indication of an earlier build error. Try starting sage. On Sun, 21 Apr 2019 15:13 Vincent Delecroix, <20100.delecr...@gmail.com> wrote: > Ignore the second e-mail: the error occurred again compiling > from scratch. > > Le 21/04/2019 à 14:24, Vincent Delecroix a écrit : > > It ap

[sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-04-21 Thread Vincent Delecroix
Ignore the second e-mail: the error occurred again compiling from scratch. Le 21/04/2019 à 14:24, Vincent Delecroix a écrit : It appears to be a problem with my setup. I had some Python libraries in my $HOME/.sage/local that made interference with the sage installation. Vincent Le 21/04/2019

[sage-devel] Re: sagenb failed to build on 8.8.beta3

2019-04-21 Thread Vincent Delecroix
It appears to be a problem with my setup. I had some Python libraries in my $HOME/.sage/local that made interference with the sage installation. Vincent Le 21/04/2019 à 13:22, Vincent Delecroix a écrit : Dear all, Starting from scratch, I failed to build sagenb. More precisely, it failed buil

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-12 Thread Jori Mäntysalo
On Tue, 12 Dec 2017, Dima Pasechnik wrote: Have you tested against a real LDAP server? Yes. It works. Could you comment on https://github.com/sagemath/sagenb/issues/177  rather than here?  OK, I'll continue there. -- Jori Mäntysalo

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-12 Thread Dima Pasechnik
On Tuesday, December 12, 2017 at 8:02:36 AM UTC, Jori Mäntysalo wrote: > > On Mon, 11 Dec 2017, Dima Pasechnik wrote: > > > why would you bother with easy_install at all? All these packages you > need > > are installable with pip. > > > > I am now trying to summarise what you did > > here:

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-12 Thread Dima Pasechnik
On Tuesday, December 12, 2017 at 8:02:36 AM UTC, Jori Mäntysalo wrote: > > On Mon, 11 Dec 2017, Dima Pasechnik wrote: > > > why would you bother with easy_install at all? All these packages you > need > > are installable with pip. > > > > I am now trying to summarise what you did > > here:

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-12 Thread Jori Mäntysalo
On Mon, 11 Dec 2017, Dima Pasechnik wrote: why would you bother with easy_install at all? All these packages you need are installable with pip. I am now trying to summarise what you did here: https://github.com/sagemath/sagenb/issues/177 Please have a look and check. I do not know if "./sage

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-11 Thread Dima Pasechnik
On Monday, December 11, 2017 at 11:56:28 AM UTC, Jori Mäntysalo wrote: > > On Mon, 11 Dec 2017, Jori Mantysalo wrote: > > > But there is something wrong with those settings. I must test against a > known > > good server. > > ...and now it works on a test machine. I must still test that on rea

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-11 Thread Jori Mäntysalo
On Mon, 11 Dec 2017, Jori Mantysalo wrote: But there is something wrong with those settings. I must test against a known good server. ...and now it works on a test machine. I must still test that on real server, where I had to say pip uninstall, pip install and sage -b to get ldap settings t

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-11 Thread Jori Mäntysalo
On Sun, 10 Dec 2017, Dima Pasechnik wrote: On my installation, thes files don't exist: $ ls  local/lib/python2.7/site-packages/ldap/ __init__.py  __init__.pyc  mock.py  mock.pyc  server.py  server.pyc Confusingly, pip also has a package called python-ldap; if I do ./sage --pip install python-ld

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Jori Mäntysalo
On Sun, 10 Dec 2017, Dima Pasechnik wrote: How do I reproduce your error? You need a working LDAP server for that. Maybe this works: https://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/ I'll continue with this tomorrow. -- Jori Mäntysalo

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Nils Bruin
On Saturday, December 9, 2017 at 1:15:12 AM UTC-5, Jori Mäntysalo wrote: > > > It is for publishing notebooks to the world, not for sharing a notebook > within a group (or to a teacher). > > That's a problem that is solved in the jupyter world as well: https://nbviewer.jupyter.org/ If you want

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Dima Pasechnik
On Sunday, December 10, 2017 at 11:17:35 AM UTC, Dima Pasechnik wrote: > > On my installation, thes files don't exist: > > $ ls local/lib/python2.7/site-packages/ldap/ > __init__.py __init__.pyc mock.py mock.pyc server.py server.pyc > > Confusingly, pip also has a package called python-ldap

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Dima Pasechnik
On my installation, thes files don't exist: $ ls local/lib/python2.7/site-packages/ldap/ __init__.py __init__.pyc mock.py mock.pyc server.py server.pyc Confusingly, pip also has a package called python-ldap; if I do ./sage --pip install python-ldap then I get that ldap/filter.py files indee

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Jori Mäntysalo
On Sun, 10 Dec 2017, Dima Pasechnik wrote: Could you locate the python file this command is in? $ fgrep 'import strf_secs' -R . ./local/lib/python2.7/site-packages/ldap/filter.py:from ldap.functions import strf_secs ./local/lib/python3.6/site-packages/python_ldap-3.0.0b1-py3.6-linux-x86_64.eg

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-10 Thread Dima Pasechnik
Could you locate the python file this command is in? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this grou

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-09 Thread Jori Mäntysalo
On Sat, 9 Dec 2017, kcrisman wrote: >       After some trying I ended up with line > >       from ldap.functions import strf_secs Hmm, what was your previous Sage instance? Version 8.0. Did you conceivably compile Sage using Py3? Just did normal make. Dima wrote: It's

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-09 Thread Dima Pasechnik
On Saturday, December 9, 2017 at 6:10:53 AM UTC, Jori Mäntysalo wrote: > > On Fri, 8 Dec 2017, Dima Pasechnik wrote: > > > How to set up SageNB with LDAP to SageMath 8.1? > > > > After some trying I ended up with line > > > > from ldap.functions import strf_secs > > > >

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-09 Thread kcrisman
On Saturday, December 9, 2017 at 1:10:53 AM UTC-5, Jori Mäntysalo wrote: > > On Fri, 8 Dec 2017, Dima Pasechnik wrote: > > > How to set up SageNB with LDAP to SageMath 8.1? > > > > After some trying I ended up with line > > > > from ldap.functions import strf_secs > > > >

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-09 Thread Jori Mäntysalo
On Fri, 8 Dec 2017, William Stein wrote: CoCalc also support sharing notebooks (and latex documents and pretty much any type of files) within a group, with realtime multiuser editing. That's what the "Add people to project" section of project settings enables. Ah, good. So let's test. I didn'

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-08 Thread William Stein
On Fri, Dec 8, 2017 at 10:15 PM, Jori Mäntysalo wrote: > On Fri, 8 Dec 2017, William Stein wrote: > >>> I know. But there is still no notebook sharing in other choises, and that >>> is >>> what are used here for teaching. >> >> >> CoCalc has a completely new server for notebook sharing, which we j

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-08 Thread Jori Mäntysalo
On Fri, 8 Dec 2017, William Stein wrote: I know. But there is still no notebook sharing in other choises, and that is what are used here for teaching. CoCalc has a completely new server for notebook sharing, which we just wrote in the last month. It is for publishing notebooks to the world,

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-08 Thread Jori Mäntysalo
On Fri, 8 Dec 2017, Dima Pasechnik wrote: How to set up SageNB with LDAP to SageMath 8.1? After some trying I ended up with line from ldap.functions import strf_secs I've no idea where this comes from, it's not in the current sagenb code, as far as I can tell. (I didn't try

[sage-devel] Re: SageNB and ldap packages

2017-12-08 Thread Dima Pasechnik
On Friday, December 8, 2017 at 8:56:07 AM UTC, Jori Mäntysalo wrote: > > How to set up SageNB with LDAP to SageMath 8.1? > > After some trying I ended up with line > > from ldap.functions import strf_secs > I've no idea where this comes from, it's not in the current sagenb code, as far as I c

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-08 Thread William Stein
On Fri, Dec 8, 2017 at 11:35 AM, Jori Mäntysalo wrote: > On Fri, 8 Dec 2017, Maarten Derickx wrote: > >> Maybe not a direct answer to your question. But if you plan on setting up >> an ldap authenticated sage >> server these days and you are planning on actually maintaining it for some >> time in

Re: [sage-devel] Re: SageNB and ldap packages

2017-12-08 Thread Jori Mäntysalo
On Fri, 8 Dec 2017, Maarten Derickx wrote: Maybe not a direct answer to your question. But if you plan on setting up an ldap authenticated sage server these days and you are planning on actually maintaining it for some time in the future, I would not go the SageNB way, since SageNB is not real

[sage-devel] Re: SageNB and ldap packages

2017-12-08 Thread Maarten Derickx
Hi Jori, Maybe not a direct answer to your question. But if you plan on setting up an ldap authenticated sage server these days and you are planning on actually maintaining it for some time in the future, I would not go the SageNB way, since SageNB is not really being actively developed anymore

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-09-07 Thread Dima Pasechnik
Jori, sorry for crying out loud, but noone is going to work on sagenb, besides maybe you, I think. Messing around with 11 years old web technology is very hard indeed. What exactly are you missing from jupyter nb, or jupyter hub, or some version of SMC people managed to get running on their int

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-09-06 Thread Jori Mäntysalo
On Wed, 6 Sep 2017, kcrisman wrote: I suspect perhaps  https://github.com/sagemath/sagenb/commit/9dd5c0f8c783de7cb0ae21c9f445ab8260b5a0ac is the culprit, and put something on #432 to the author of that change.  It seems like the kind of thing that might happen when a module is updated, as that

[sage-devel] Re: SageNB, publishing and error 500

2017-09-06 Thread kcrisman
>File > "/home/jm58660/sage/local/lib/python2.7/site-packages/sagenb/flask_version/worksheet.py", > > > line 879, in worksheet_publish > print worksheet_publish.url_for(worksheet) > >File > "/home/jm58660/sage/local/lib/python2.7/site-packages/sagenb/flask_version/worksheet.py"

[sage-devel] Re: SageNB, publishing and error 500

2017-09-05 Thread Jori Mäntysalo
Kcrisman said to check logs. Here they are: Traceback (most recent call last): File "/home/jm58660/sage/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/jm58660/sage/local/lib/python2.7/site-packages/flask/

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-29 Thread Jori Mäntysalo
On Fri, 25 Aug 2017, kcrisman wrote: But see that  https://github.com/sagemath/sagenb/commit/7bff646746bfad908a431621eedeb55296594d85 fixes something similar to this, I am guessing, based on https://stackoverflow.com/a/25496041/782821   In fact, https://github.com/sagemath/sagenb/issues/420 se

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-25 Thread kcrisman
On Friday, August 25, 2017 at 5:54:00 AM UTC-4, Dima Pasechnik wrote: > > > > On Friday, August 25, 2017 at 6:42:54 AM UTC+1, Jori Mäntysalo wrote: >> >> On Thu, 24 Aug 2017, kcrisman wrote: >> >> > OK. What packages or parts have been updated lately? >> > >> > >> > See perhaps https://

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-25 Thread Dima Pasechnik
On Friday, August 25, 2017 at 6:42:54 AM UTC+1, Jori Mäntysalo wrote: > > On Thu, 24 Aug 2017, kcrisman wrote: > > > OK. What packages or parts have been updated lately? > > > > > > See perhaps https://trac.sagemath.org/ticket/22431 or > https://trac.sagemath.org/ticket/23066 though I

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-24 Thread Jori Mäntysalo
On Thu, 24 Aug 2017, kcrisman wrote: OK. What packages or parts have been updated lately? See perhaps https://trac.sagemath.org/ticket/22431 or https://trac.sagemath.org/ticket/23066 though I don't see immediately which packages were upgraded there.  #22431 is a new ticket, but #23066

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-24 Thread Jori Mäntysalo
On Thu, 24 Aug 2017, Dima Pasechnik wrote: sagenb is installed by pip, which pulls packages from the net; whatever comes up as the "stable" version,gets installed. We used to pin down versions, but don't do this any more. You can look at the output of  ./sage --pip list to see what versions y

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-24 Thread Dima Pasechnik
sagenb is installed by pip, which pulls packages from the net; whatever comes up as the "stable" version, gets installed. We used to pin down versions, but don't do this any more. You can look at the output of ./sage --pip list to see what versions you have. Sagenb explicitly needs the followin

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-24 Thread kcrisman
On Thursday, August 24, 2017 at 4:54:48 AM UTC-4, Jori Mäntysalo wrote: > > On Thu, 24 Aug 2017, Dima Pasechnik wrote: > > > although it very well might be due to its dependencies, like flask, > > etc., updated to newer versions, e.g. for the purpose of python3 > > compatibility. > > OK. What

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-24 Thread Jori Mäntysalo
On Thu, 24 Aug 2017, Dima Pasechnik wrote: although it very well might be due to its dependencies, like flask, etc., updated to newer versions, e.g. for the purpose of python3 compatibility. OK. What packages or parts have been updated lately? -- Jori Mäntysalo

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-24 Thread Dima Pasechnik
although it very well might be due to its dependencies, like flask, etc., updated to newer versions, e.g. for the purpose of python3 compatibility. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-24 Thread Dima Pasechnik
check out the upstream sagenb repo and do git blame, indeed. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to th

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-23 Thread Jori Mäntysalo
Is there an easy way to see what has been done in .../sage/local/lib/python2.7/site-packages/flask/ and in .../sage/local/lib/python2.7/site-packages/sagenb/flask_version/ between version 8.0 and the one before it? Something like git blame? With Google I found for example https://stackoverflo

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-23 Thread Jori Mäntysalo
On Tue, 22 Aug 2017, kcrisman wrote:  What happens if you ignore that and directly do sage --notebook=sagenb? Tested, no help. The same internal error, but the publishing and unpublishing works. -- Jori Mäntysalo

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-22 Thread Jori Mäntysalo
On Tue, 22 Aug 2017, kcrisman wrote:  You'll note these are all errors about the custom notebook conversion app that is now the default, not sagenb per se.  I wonder whether that app is interfering somehow with the normal running of sagenb.  What happens if you ignore that and directly do sage

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-22 Thread kcrisman
On Monday, August 21, 2017 at 1:43:54 AM UTC-4, Jori Mäntysalo wrote: > > On Fri, 18 Aug 2017, kcrisman wrote: > > > BuildError: Could not build url for endpoint 'worksheet_publish' > with > > values ['id', 'username']. Did you mean > 'worksheet.worksheet_publish' > > inste

Re: [sage-devel] Re: SageNB, publishing and error 500

2017-08-20 Thread Jori Mäntysalo
On Fri, 18 Aug 2017, kcrisman wrote: BuildError: Could not build url for endpoint 'worksheet_publish' with values ['id', 'username']. Did you mean 'worksheet.worksheet_publish' instead? Hmm.  Probably related: https://ask.sagemath.org/question/38486/build-error-when-uploading

[sage-devel] Re: SageNB, publishing and error 500

2017-08-18 Thread kcrisman
On Wednesday, August 16, 2017 at 1:07:34 PM UTC-4, Jori Mäntysalo wrote: > > Strange little error: both publishing and stopping to publish give "500: > Internal server error." Publishing works, it's just little oddity. Logfile > has this line: > > BuildError: Could not build url for endpoint '

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-04-17 Thread dimpase
On Monday, April 17, 2017 at 10:12:54 AM UTC+1, Volker Braun wrote: > > Well at least in your case it seems that chrome is detected and launched > automatically, this is IMHO preferable to a commandline prompt. > Why would any more browser windows need to be launched after one selects a sagenb

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-04-17 Thread Volker Braun
Well at least in your case it seems that chrome is detected and launched automatically, this is IMHO preferable to a commandline prompt. On Monday, April 17, 2017 at 10:37:08 AM UTC+2, Dima Pasechnik wrote: > > Perhaps it's a good idea to provide a prompt at this point, something like > "Launc

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-04-17 Thread Dima Pasechnik
Perhaps it's a good idea to provide a prompt at this point, something like "Launch the browser? (yes/no)" On Sunday, April 16, 2017 at 3:11:08 PM UTC+1, Volker Braun wrote: > > The token is a security measure so no other (local) user can run arbitrary > code in your notebook. It is printed duri

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-04-16 Thread Volker Braun
The token is a security measure so no other (local) user can run arbitrary code in your notebook. It is printed during startup (see below). Usually, jupyter will launch its own browser so the token is used automatically... $ sage -n ┌──

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-04-13 Thread kcrisman
On Tuesday, April 11, 2017 at 10:04:44 AM UTC-4, kcrisman wrote: > > This is now default in the Sage 8.0 beta series, and we strongly welcome > testers! For a limited time only I have posted a binary of the app bundle > at > > This should now be available at http://files.sagemath.org/osx/inte

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-04-12 Thread Eric Gourgoulhon
Hi, Le mercredi 12 avril 2017 00:08:34 UTC+2, Dima Pasechnik a écrit : > > the whole process is very stressful at the moment, I think. This popup > with password prompt really should not be there... > +1 Also, what is this command "jupyter notebook list" ? Running ./sage -sh jupyter notebook l

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-04-11 Thread kcrisman
it does not work for me, or at least I must be doing something wrong. > I get to the page listing the notebooks to convert, and then, if I click > on a notebook, I get a weird page asking for a password or a token. > If you paste in the *entire* token from the Terminal, it should work. This

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-04-11 Thread Dima Pasechnik
anyhow, this process, clicking on these old notebooks, does provide copies of converted to ipython sagenb notebooks, but the whole process is very stressful at the moment, I think. This popup with password prompt really should not be there... On Tuesday, April 11, 2017 at 9:44:03 PM UTC+1, Dima

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-04-11 Thread dimpase
it does not work for me, or at least I must be doing something wrong. I get to the page listing the notebooks to convert, and then, if I click on a notebook, I get a weird page asking for a password or a token. Password or token: Log in Token authentication is enabled. You need to open the note

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-04-11 Thread kcrisman
This is now default in the Sage 8.0 beta series, and we strongly welcome testers! For a limited time only I have posted a binary of the app bundle at http://www.math.gordon.edu/~kcrisman/sage-8.0.beta0-OSX_10.11.6-x86_64.app.dmg This should work on both Mac 10.11 and 10.12. For bandwidth re

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-02-26 Thread Enrique Artal
We have trying in my university some solutions usingy jupyterhub; we have some ideas about sharing and we still do not know how safe it is. El sábado, 25 de febrero de 2017, 15:01:38 (UTC+1), kcrisman escribió: > > > At https://trac.sagemath.org/ticket/22433 there is a ticket implementing >> a

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-02-25 Thread kcrisman
> At https://trac.sagemath.org/ticket/22433 there is a ticket implementing > a move from SageNB towards Jupyter. It does conversion of SageNB > notebooks to Jupyter, hopefully with little loss of functionality (but I > know it's not 100% perfect and it never will be). If you are currently > u

[sage-devel] Re: SageNB -> Jupyter conversion needs testers

2017-02-24 Thread Volker Braun
Yay! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Vis

[sage-devel] Re: sagenb and pycrypto

2016-01-13 Thread kcrisman
The point being there is nothing to worry about. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, se

[sage-devel] Re: sagenb and pycrypto

2016-01-13 Thread Jean-Pierre Flori
On Wednesday, January 13, 2016 at 3:49:45 AM UTC+1, Steven Trogdon wrote: > > I have 7.0.beta3 installed so at some point in going from 6.10 -> 7.0.x I > had to > > make distclean && make > > However, in starting the notebook the warning from > local/lib/python2.7/site-packages/Crypto/Util/num

[sage-devel] Re: sagenb and pycrypto

2016-01-13 Thread Volker Braun
I'd recommend "sage --notebook=ipython" On Wednesday, January 13, 2016 at 3:49:45 AM UTC+1, Steven Trogdon wrote: > > I have 7.0.beta3 installed so at some point in going from 6.10 -> 7.0.x I > had to > > make distclean && make > > However, in starting the notebook the warning from > local/li

Re: [sage-devel] Re: sagenb shut down

2015-04-26 Thread William Stein
On Sun, Apr 26, 2015 at 2:24 PM, kcrisman wrote: >> >> Concerning public worksheets: > > > I thought William also made a public sagemathcloud project that had all the > public worksheets from sagenb in it? I haven't had time yet until the end > of semester but I think this was an ongoing project.

Re: [sage-devel] Re: sagenb shut down

2015-04-26 Thread kcrisman
> > > Concerning public worksheets: > I thought William also made a public sagemathcloud project that had all the public worksheets from sagenb in it? I haven't had time yet until the end of semester but I think this was an ongoing project. -- You received this message because you are subsc

Re: [sage-devel] Re: sagenb shut down

2015-04-26 Thread Thierry
Hi, i am volonteering to help in the task of maintaining this service a minima. It is very important to be able to maintain such community services that people used to trust. For sagenb.org, some public worksheets are now linked from research papers and we should keep them alive. Concerning publi

Re: [sage-devel] Re: sagenb shut down

2015-04-26 Thread Vincent Delecroix
On 26/04/15 21:41, William Stein wrote: On Sun, Apr 26, 2015 at 12:17 PM, Vincent Delecroix I will do a complete backup next week. I really would like to find a solution to get all these worksheets available online... if anybody has a simple hosting solution for sagenb (possibly read only), that

Re: [sage-devel] Re: sagenb shut down

2015-04-26 Thread William Stein
On Sun, Apr 26, 2015 at 12:17 PM, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > > On 26/04/15 21:14, Dima Pasechnik wrote: >> >> >> >> On Sunday, 26 April 2015 19:11:41 UTC+1, vdelecroix wrote: >>> >>> >>> >>> >>> On 26/04/15 20:05, William Stein wrote: On Sun, Apr 26, 2015 at

Re: [sage-devel] Re: sagenb shut down

2015-04-26 Thread Vincent Delecroix
On 26/04/15 21:14, Dima Pasechnik wrote: On Sunday, 26 April 2015 19:11:41 UTC+1, vdelecroix wrote: On 26/04/15 20:05, William Stein wrote: On Sun, Apr 26, 2015 at 10:58 AM, Vincent Delecroix <20100.d...@gmail.com > wrote: On 26/04/15 19:54, William Stein wrote: If people email...@gm

Re: [sage-devel] Re: sagenb shut down

2015-04-26 Thread Dima Pasechnik
On Sunday, 26 April 2015 19:11:41 UTC+1, vdelecroix wrote: > > > > On 26/04/15 20:05, William Stein wrote: > > On Sun, Apr 26, 2015 at 10:58 AM, Vincent Delecroix > > <20100.d...@gmail.com > wrote: > >> On 26/04/15 19:54, William Stein wrote: > >>> > >>> > >>> If people email...@gmail.com

Re: [sage-devel] Re: sagenb shut down

2015-04-26 Thread Vincent Delecroix
On 26/04/15 20:05, William Stein wrote: On Sun, Apr 26, 2015 at 10:58 AM, Vincent Delecroix <20100.delecr...@gmail.com> wrote: On 26/04/15 19:54, William Stein wrote: If people emailwst...@gmail.com maybe I will eventually be able to extract the raw data from worksheets out. This takes a

Re: [sage-devel] Re: sagenb shut down

2015-04-26 Thread William Stein
On Sun, Apr 26, 2015 at 10:58 AM, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > On 26/04/15 19:54, William Stein wrote: >> >> >> If people emailwst...@gmail.com maybe I will eventually be able to >> extract the raw data from worksheets out. This takes a nontrivial >> amount of time, whi

Re: [sage-devel] Re: sagenb shut down

2015-04-26 Thread Vincent Delecroix
On 26/04/15 19:54, William Stein wrote: If people emailwst...@gmail.com maybe I will eventually be able to extract the raw data from worksheets out. This takes a nontrivial amount of time, which I don't have right now. If somebody else where to volunteer to take this over it would be nice!

[sage-devel] Re: sagenb shut down

2015-04-26 Thread William Stein
On Sun, Apr 26, 2015 at 10:48 AM, Vincent Delecroix wrote: > Hello, > > Some people are worried about their lost worksheets: > > http://ask.sagemath.org/question/26645/sagenb-worksheet-recovery/ > > What could be done for that? If people email wst...@gmail.com maybe I will eventually be able to

[sage-devel] Re: sagenb again

2011-11-01 Thread leif
On 1 Nov., 07:25, Jason Grout wrote: > To help diagnose this, it appears that select() has its own internal > limit that is *not* affected by the number of open files set in ulimit. The maximum is FD_SETSIZE, which is defined in . Note that you can only use file descriptors from 0 to FD_SETSIZE-

[sage-devel] Re: sagenb again

2011-11-01 Thread Jason Grout
On 11/1/11 1:25 AM, Jason Grout wrote: exceptions.ValueError: filedescriptor out of range in select() 2011-10-31 23:00:45-0700 [-] Malformed file descriptor found. Preening lists. 2011-10-31 23:00:45-0700 [-] bad descriptor To help diagnose this, it appears that select() has its own

[sage-devel] Re: sagenb

2011-10-20 Thread Jason Grout
On 10/20/11 1:35 AM, Emil Widmann wrote: I tried the new server and it feels *much* smoother than the old one (from central europe). So congratulations and thanks to all involved. I tried to test with copy pasting some examples from the tutorial, everything I did worked fine except the maxima pl

  1   2   >