Ask Your Question

Rob's profile - activity

2019-07-31 10:24:06 +0200 received badge  Famous Question (source)
2019-07-31 10:24:06 +0200 received badge  Notable Question (source)
2019-07-31 10:24:06 +0200 received badge  Popular Question (source)
2018-05-03 00:19:12 +0200 received badge  Nice Question (source)
2018-05-02 23:41:12 +0200 received badge  Famous Question (source)
2018-05-02 23:41:12 +0200 received badge  Notable Question (source)
2015-08-10 12:49:34 +0200 received badge  Popular Question (source)
2014-09-18 15:07:52 +0200 received badge  Student (source)
2014-09-17 00:38:57 +0200 commented question How do I modify the 6.3 virtual to remove the login page in windows?

Right, sorry. I just mean the standard sage-6.3.ova running with virtualbox. It logs in automatically within the virtual machine, but it always makes me type in 'admin'/'sage' from Windows, where I prefer to work from. So it isn't possible then?

2014-09-16 15:11:12 +0200 received badge  Scholar (source)
2014-09-16 15:03:41 +0200 asked a question How do I modify the 6.3 virtual to remove the login page in windows?

I guess that somewhere in some script file I need to change a "sage --notebook" to "sage --notebook automatic_login=True", but I can't find the script and I don't know anything about CentOS (and not much more about Linux). Is it in one of the rc.?? files in /etc/rc.d/?

2014-09-16 06:50:08 +0200 commented answer Adventures trying to build 6.3 on cygwin

So the reason rebasing never seems to fix anything for me is that I don't have enough memory? (2gb ram)

2014-09-15 14:54:51 +0200 commented answer Adventures trying to build 6.3 on cygwin

Well, in Sage's defense in particular, a large chunk of the functionality is gained from cobbling together many other pieces of software, many of which aren't really available in windows except through cygwin (which as we have established isn't especially reliable). So I'm not sure if you'll ever see a fully-functional windows version without *some* type of linux thing working behind the scenes. Part of me (a very, very naive part) says it can't be *that* hard to take the C++ source of a linux terminal program like Singular or Macaulay, dump it all into Visual Studio, and just tweak a few things here and there so it'll compile into a windows console program, but then I've never actually tried, either.

2014-09-14 16:19:57 +0200 received badge  Editor (source)
2014-09-14 16:18:51 +0200 asked a question Adventures trying to build 6.3 on cygwin

Don't know where to send this type of thing, so I'll put it here and hope the right person sees it.

(Using cygwin32 on windows 8.1. Using 32 bit instead of 64 bit because I need Macaulay2, which only seems to be available for 32 bit.)

Building went fine up until numpy, which failed because the "cygwin-lapack_lite-setup.py.diff" patch seems to be made for an older version of numpy than the one included. Using a modified .diff based on the new version seemed to fix everything.

Then ipython failed with error

1 [main] python2.7 516 child_info_fork::abort: address space needed by 'array.dll' (0x2C0000) is already occupied error: [Errno 11]

Resource temporarily unavailable

Sounded like the type of thing rebasing would fix, but retrying after running sage-rebaseall.sh didn't solve it after about 5 attempts. Anyone have any ideas? (I'm a linux noob, so please treat me as such)

The Cygwin64Port page seems to suggest I might have better luck with 5.13, so I'm trying that as I speak.

EDIT: 5.13 failed with a similar error, this time while installing mercurial. Again rebasing doesn't fix it.

I believe I'm doing rebasing right. I quit cygwin then run "dash -c '/usr/bin/rebaseall" from a command prompt with admin privileges.

Just found the precompiled cygwin binaries at http://boxen.math.washington.edu/home... , I grabbed the one for 5.13 and ran it. During startup it sometimes gives a fork error

1 [main] python2.7 4968 child_info_fork::abort: address space needed by 'utils.dll' (0x510000) is already occupied

but that doesn't seem to ruin things, and it still takes me to the prompt. I can calculate 3*3 (correctly) and I can open the notebook in Firefox, so that's good.

I'm running make test now to see how that goes. Will update.

EDIT 2: The test died with a fork error, the occasional fork error on sage startup somehow became constant, rebasing did nothing as usual, and the notebook stopped working (page loaded blank, fork and python errors in the terminal). Deleted everything and re-extracted, and the notebook works again, but still with intermittent fork errors.

Assuming it maintains its current level of not-completely-brokenness, I'll probably keep it but go back to the VM when I need something more stable.

It would be amazing if this could somehow be the/an officially supported way to use sage on windows, though. Virtual machines are so big and clunky.