Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2017-02-09 Thread Erik Bray
On Wed, Feb 8, 2017 at 8:27 AM, GK wrote: > I recently updated Sage to version 7.5.1 (from the ppa) and although the > behavior is still the same, a new warning message might give us some > insight: > > /usr/lib/sagemath/local/lib/python2.7/site-packages/psutil/_pslinux.py:364: > RuntimeWarning: '

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2017-02-07 Thread GK
I recently updated Sage to version 7.5.1 (from the ppa) and although the behavior is still the same, a new warning message might give us some insight: /usr/lib/sagemath/local/lib/python2.7/site-packages/psutil/_pslinux.py:364: RuntimeWarning: 'sin' and 'sout' swap memory stats couldn't be deter

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2017-01-19 Thread GK
On Thursday, January 12, 2017 at 2:00:37 PM UTC+3, David Joyner wrote: > > On Thu, Jan 12, 2017 at 3:43 AM, GK > > wrote: > > > >> > >> I am not having any problem starting the notebook. You might genuinely > be > >> out of memory, or hard drive space. > >> > > > > I am not having trouble

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2017-01-12 Thread David Joyner
On Thu, Jan 12, 2017 at 3:43 AM, GK wrote: > >> >> I am not having any problem starting the notebook. You might genuinely be >> out of memory, or hard drive space. >> > > I am not having trouble starting the notebook either, but I can not do > anything with it, also, no, I am not running out of me

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2017-01-12 Thread GK
> > I am not having any problem starting the notebook. You might genuinely be > out of memory, or hard drive space. > > I am not having trouble starting the notebook either, but I can not do anything with it, also, no, I am not running out of memory nor hard disk space. I have increased the a

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2017-01-08 Thread 'Bill Hart' via sage-devel
On Tuesday, 27 December 2016 07:28:22 UTC+1, GK wrote: > > After some windows update, it does not work for me anymore... :( > > Sage starts, the notebook loads, but once I try to do anything (i.e. > create a new worksheet or open an existing one) I get a server error (on > the browser) and some

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-12-26 Thread GK
After some windows update, it does not work for me anymore... :( Sage starts, the notebook loads, but once I try to do anything (i.e. create a new worksheet or open an existing one) I get a server error (on the browser) and some '[Errno 12] Cannot allocate memory' on the terminal. As suggested

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-12-15 Thread 'Bill Hart' via sage-devel
It works for me too! On Thursday, 15 December 2016 07:40:11 UTC+1, GK wrote: > > Hi again, thanks to the insight. I managed to successfully run sage in > WSL. notebook(automatic_login='False') triggered indeed a different > reaction, but again did not work. The trick was to run bash on ubuntu on

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-12-14 Thread GK
Hi again, thanks to the insight. I managed to successfully run sage in WSL. notebook(automatic_login='False') triggered indeed a different reaction, but again did not work. The trick was to run bash on ubuntu on windows as administrator and run sage. Afterwards all seem to work even without run

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-12-09 Thread Dima Pasechnik
On Friday, December 9, 2016 at 10:13:03 PM UTC, Bill Hart wrote: > > Ah I see. I assumed it would also try to spawn a browser or something. > the default ( notebook()) is indeed to try to open a browser/browser tab to show the URL served by the server, whereas notebook(automatic_login=False)

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-12-09 Thread 'Bill Hart' via sage-devel
Ah I see. I assumed it would also try to spawn a browser or something. On the other hand, I understand some of the networking stuff is still not completed. You can of course use wget and the like so it can't be too broken. Bill. On Friday, 9 December 2016 15:15:43 UTC+1, Dima Pasechnik wrote:

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-12-09 Thread Dima Pasechnik
On Friday, December 9, 2016 at 12:48:30 PM UTC, Bill Hart wrote: > > The Sage Notebook isn't likely to work under the WSL. It's a text console > environment only. Microsoft intended it mainly to provide Linux development > tools to people, not as a way of running graphical applications. > Hmm

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-12-09 Thread 'Bill Hart' via sage-devel
The Sage Notebook isn't likely to work under the WSL. It's a text console environment only. Microsoft intended it mainly to provide Linux development tools to people, not as a way of running graphical applications. You can probably fix the memory allocation issues though. You likely need to in

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-12-05 Thread gnkapet
Hi from me. My (more recent) experience is similar but not identical. I install sage from the ppa and I am having problems. Sage loads and seems to be working, but: ┌┐ │ SageMath version 7.3, Release Date: 2016-08-04

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-05-18 Thread William Stein
On Wednesday, May 18, 2016, Brian Beavers wrote: > Looks like there's more going on than just a lack of pty. Here's the > result: > > Well that is just another test of pty... > sage: gp.eval('2+2') > --- > OSError

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-05-18 Thread Brian Beavers
Looks like there's more going on than just a lack of pty. Here's the result: sage: gp.eval('2+2') --- OSError Traceback (most recent call last) in () > 1 gp.eval('2+2') /usr/lib/sagemath

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-05-18 Thread William Stein
On Wednesday, May 18, 2016, Brian Beavers wrote: > I've discovered why the notebook server (and administrative pages within) > loads but notebooks do not load: WSL does not yet suppot pty. When I try to > create a worksheet, back in the terminal Sage throws an error that it is > out of pty instan

Re: [sage-devel] Sage runs in Window's 10's new Unix subsystem

2016-05-18 Thread William Stein
What you did gets discussed/advertised at the beginning of this podcast: https://talkpython.fm/episodes/show/59/sagemath-open-source-is-ready-to-compete-in-the-classroom On Tue, May 10, 2016 at 4:36 PM, Brian Beavers wrote: > I don't know if any of you are Windows Insiders and are following th