Re: [sage-devel] Re: Moving sagenb worksheets

2018-04-24 Thread Jori Mäntysalo
On Tue, 24 Apr 2018, Dima Pasechnik wrote: did you try copying the whole ~/.sage/ directory over? I am quite sure that it would work. I was actually hoping that this could be a spring cleaning -- mail to everyone about the new server, and instructions on how to copy worksheet(s). There

Re: [sage-devel] Re: Moving sagenb worksheets

2018-04-24 Thread Dima Pasechnik
On Tuesday, April 24, 2018 at 5:15:35 PM UTC+3, Jori Mäntysalo wrote: > > On Tue, 24 Apr 2018, kcrisman wrote: > > > However, the Download All Active -link does not work. Is there any > > workaround to make it work? And yes, I know that there is no > active > > development,

[sage-devel] Re: cython 0.28.1 and sagemath

2018-04-24 Thread 'Martin R' via sage-devel
> > In any case, setup.py should really work. > > indeed, it was easier than I thought! I simply copied the first example from http://cython.readthedocs.io/en/latest/src/reference/compilation.html

[sage-devel] Re: cython 0.28.1 and sagemath

2018-04-24 Thread Nils Bruin
On Tuesday, April 24, 2018 at 11:13:29 AM UTC-7, Martin R wrote: > > It just ocurred to me: why does all this work with sage 8.1? Is it only > the cython upgrade? > > Martin > I don't think the things you're running into have changed much on the sage side, so I would suspect the cython

[sage-devel] Re: cython 0.28.1 and sagemath

2018-04-24 Thread 'Martin R' via sage-devel
It just ocurred to me: why does all this work with sage 8.1? Is it only the cython upgrade? Martin -- 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] Re: cython 0.28.1 and sagemath

2018-04-24 Thread 'Martin R' via sage-devel
Would a setup.py be an alternative to pyximport? If so, how would I go about it (making the example at hand work would probably be sufficient.) Thanks in any case! Martin > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe

[sage-devel] Re: Error building package python3-3.6.1.p1 Sage 8.1 on Mac

2018-04-24 Thread John H Palmieri
In my experience, it can help to run Xcode once after upgrading so that it can install some "additional components". Did you re-install command line tools by upgrading through the app store, or some other way? On Tuesday, April 24, 2018 at 8:57:30 AM UTC-7, Christelle Vincent wrote: > > Hi, >

Re: [sage-devel] Re: Product of two expressions that causes hang

2018-04-24 Thread Erik Bray
On Tue, Apr 24, 2018 at 5:23 PM, Jean-Pierre Flori wrote: > It might be an issue with the "printing" order which is used to sort stuff > in pynac internally (but not in orignal ginac) and we already had issues > with in the past. Yes, there is a comment in there (the first

[sage-devel] Error building package python3-3.6.1.p1 Sage 8.1 on Mac

2018-04-24 Thread Christelle Vincent
Hi, I am trying to build Sage 8.1 from source on Mac (High Sierra 10.13.4, just updated Xcode and re-installed Command Line Tools). I get the error "Error building package python3-3.6.1.p1" I am attaching the whole log but it ends with Undefined symbols for architecture x86_64:

[sage-devel] Re: cython 0.28.1 and sagemath

2018-04-24 Thread Nils Bruin
On Tuesday, April 24, 2018 at 2:20:39 AM UTC-7, Martin R wrote: > > Here goes the new minimal non working example. > > (I would use setup.py, if I knew how and if I knew that it would cure this > problem) > > Thanks for any help! > > Martin > > > minimal.py > import sage.all

Re: [sage-devel] Re: Product of two expressions that causes hang

2018-04-24 Thread Jean-Pierre Flori
It might be an issue with the "printing" order which is used to sort stuff in pynac internally (but not in orignal ginac) and we already had issues with in the past. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group

Re: [sage-devel] Re: Product of two expressions that causes hang

2018-04-24 Thread Erik Bray
On Tue, Apr 24, 2018 at 4:52 PM, Jean-Pierre Flori wrote: > Ok I finally ended up in pynac code. > It seems there is a bad recursion happening, with the following reversed > backtrace: > (Sage.)Expression._mul_ > Ginac::* > Ginac::exmul > Ginac::ex::ex >

[sage-devel] Re: Product of two expressions that causes hang

2018-04-24 Thread Jean-Pierre Flori
Ok I finally ended up in pynac code. It seems there is a bad recursion happening, with the following reversed backtrace: (Sage.)Expression._mul_ Ginac::* Ginac::exmul Ginac::ex::ex Ginac::ex::construct_from_basic Ginac::mul::eval Ginac::ex::ex Ginac::ex::construct_from_basic Ginac::mul::eval ...

[sage-devel] Re: Product of two expressions that causes hang

2018-04-24 Thread Jean-Pierre Flori
Kind of strange, running sage -gdb I never end up in Expression._mul_ but at random places in Python code. On Tuesday, April 24, 2018 at 2:40:50 PM UTC+2, Frédéric Chapoton wrote: > > Amusing.. Also hangs on > > sage: (1/e1)/e2 > 1/2*sqrt(2)/((I - 1)*sqrt(2) - 2) > sage: 1/_ > > > Le mardi 24

Re: [sage-devel] Re: Moving sagenb worksheets

2018-04-24 Thread Jori Mäntysalo
On Tue, 24 Apr 2018, kcrisman wrote: However, the Download All Active -link does not work. Is there any workaround to make it work? And yes, I know that there is no active development, but this would make it possible to move data from a server to another. I think if you

[sage-devel] Re: Moving sagenb worksheets

2018-04-24 Thread kcrisman
On Monday, April 23, 2018 at 3:11:11 AM UTC-4, Jori Mäntysalo wrote: > > Sometimes SageNB gives internal error 500 but works, like when publishing > a worksheet. > > However, the Download All Active -link does not work. Is there any > workaround to make it work? And yes, I know that there is

[sage-devel] Re: Product of two expressions that causes hang

2018-04-24 Thread Frédéric Chapoton
Amusing.. Also hangs on sage: (1/e1)/e2 1/2*sqrt(2)/((I - 1)*sqrt(2) - 2) sage: 1/_ Le mardi 24 avril 2018 14:10:04 UTC+2, Erik Bray a écrit : > > Hi all, > > In working on an unrelated topic I encountered an indefinite hang, > which I narrowed down to the following exact operation (I haven't

[sage-devel] Product of two expressions that causes hang

2018-04-24 Thread Erik Bray
Hi all, In working on an unrelated topic I encountered an indefinite hang, which I narrowed down to the following exact operation (I haven't found a way to simplify it further): sage: e1 = sqrt(2)*I - sqrt(2) - 2 sage: e2 = sqrt(2) simple enough, right? But then it appears to hang forever in

[sage-devel] Re: cython 0.28.1 and sagemath

2018-04-24 Thread 'Martin R' via sage-devel
Here goes the new minimal non working example. (I would use setup.py, if I knew how and if I knew that it would cure this problem) Thanks for any help! Martin minimal.py import sage.all import pyximport; pyximport.install(); from minimal_pyx import minimal_fun

[sage-devel] Re: cython 0.28.1 and sagemath

2018-04-24 Thread 'Martin R' via sage-devel
Thank you! This gets me past the first problem. Unfortunately, I now get further compilation errors, like Building module sage.graphs.base.sparse_graph failed: ["CompileError: command 'gcc' failed with exit status 1\n"] and

[sage-devel] 5 GSoC projects this (2018) summer

2018-04-24 Thread Dima Pasechnik
Just to mention that this year we have 5 GSoC projects funded. https://summerofcode.withgoogle.com/organizations/6294052148871168/#projects Thanks to everyone who helped with this, and congratulations to the students who got selected! Best, Dima -- You received this message because you are