ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 18 May 2013 23:10:38 +0200Get an error message when trying to install sage cell serverhttps://ask.sagemath.org/question/10136/get-an-error-message-when-trying-to-install-sage-cell-server/I am interested in contributing to the sage cell server and am going through the steps outlined in the readme in the [github page](http://https://github.com/sagemath/sagecell#id1). When I get to step #5, I get the following error message that is detailed below. I am running this on a kubuntu virtual machine (VMWare) but I don't see that should matter. Is there another way to achieve this? Can I just download and unzip the archive? If this is the case, where do I unzip it to? Any insight as to what the issue might be is greatly appreciated, thanks!
aaronej@ubuntu:~/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux$ ./sage -i http://sage.math.washington.edu/home/jason/sagecell-spkg/sagecell-2013-04-05.spkg
Attempting to download package sagecell-2013-04-05
>>> Downloading sagecell-2013-04-05.spkg.
[............................................................]
sagecell-2013-04-05
====================================================
Extracting package /home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/optional/sagecell-2013-04-05.spkg
-rw-rw-r-- 1 aaronej aaronej 60793713 May 18 17:36 /home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/optional/sagecell-2013-04-05.spkg
Finished extraction
****************************************************
Host system:
Linux ubuntu 3.8.0-21-generic #32-Ubuntu SMP Tue May 14 22:16:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../src/configure --prefix=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-local-prefix=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-gmp=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-mpfr=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-mpc=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-system-zlib --disable-multilib --disable-nls
Thread model: posix
gcc version 4.7.2 (GCC)
****************************************************
Patching Sage
adding 01-sage-embedded.patch to series file
applying 01-sage-embedded.patch
patching file sage/misc/hg.py
Hunk #1 succeeded at 74 with fuzz 1 (offset 0 lines).
patching file sage/misc/sagedoc.py
Hunk #1 FAILED at 35
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/sagedoc.py.rej
patching file sage/misc/sageinspect.py
Hunk #1 FAILED at 127
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/sageinspect.py.rej
patching file sage/misc/session.pyx
Hunk #1 succeeded at 67 with fuzz 1 (offset 1 lines).
Hunk #3 FAILED at 340
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/session.pyx.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
errors during apply, please fix and refresh 01-sage-embedded.patch
Error pushing patch 01-sage-embedded.patch.
real 0m3.161s
user 0m0.976s
sys 0m0.932s
************************************************************************
Error installing package sagecell-2013-04-05
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/logs/pkgs/sagecell-2013-04-05.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/build/sagecell-2013-04-05 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/build/sagecell-2013-04-05' && '/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
aaronejSat, 18 May 2013 23:10:38 +0200https://ask.sagemath.org/question/10136/having trouble with multi core support on 64bit Sage 4.8 on an Ubuntu 10 guest under VMWare Workstation 7https://ask.sagemath.org/question/8974/having-trouble-with-multi-core-support-on-64bit-sage-48-on-an-ubuntu-10-guest-under-vmware-workstation-7/Hi Sage people,
I installed Ubuntu 10.04 LTS desktop as a guest virtual machine under WIndows 7 as host on a 64-bit quad core with a Sandy Bridge i7 CPU.
Like VMWare suggests I choose the number of processors as 4 when I set up the virtual machine ( it actually has 4 physical processors but they use hyper threading so it has 8 logical processors )
Everything has run fine so far but when I set up Sage 4.8 from a binary installation, I get errors like this:
Error: object 'sage2' not found
except the number after sage varies ( I believe it goes from 0 to 3 )
These errors seem to happen when I try to access R through Sage notebooks,
I'm not positive they are limited to this context.
I am new to Sage but as far as I can tell this means it is having trouble supporting the multiple cores. There should be objects sage0,sage1,sage2,sage3 that run on different cores?
Am I right so far?
If so, does anybody know why I am having issues like this?
Is it possible I installed it wrong?
Or is it more of an issue of Sage running under a VMWare Workstation VM?
Any thoughts would help.
DougDug_the_Math_GuyWed, 16 May 2012 22:33:34 +0200https://ask.sagemath.org/question/8974/