Whether I use plot(y,x,-2,2), plot(y,(x,-2,2)), plot(y,x,(-2,2)),
plot(y,(-2,2)), or plot(y,-2,2), the Notebook happily produces the same
plot and the Cell Server unhappily throws errors.
var('x y')
y = x
plot(y)
In addition to the IPython sys.excepthook error:
{{{
File
"/opt/sage/sage-5.4.rc1/local/lib/python2.7/site-packages/ipython-0.14.dev-py2.7.egg/IPython/core/ultratb.py",
line 754, in structured_traceback
}}}
{{{
Traceback (most recent call last):
File "/opt/sage/sage-5.4.rc1/devel/sagecell-main/receiver.py", line 181,
in <module>
receiver.start()
File "/opt/sage/sage-5.4.rc1/devel/sagecell-main/receiver.py", line 36,
in start
response = handler(msg["content"])
File "/opt/sage/sage-5.4.rc1/devel/sagecell-main/receiver.py", line 127,
in start_kernel
reply_content = self.km.start_kernel(resource_limits=resource_limits)
File
"/opt/sage/sage-5.4.rc1/devel/sagecell-main/untrusted_kernel_manager.py",
line 11, in start_kernel
x = self.fkm.start_kernel(resource_limits=resource_limits)
File
"/opt/sage/sage-5.4.rc1/devel/sagecell-main/forking_kernel_manager.py",
line 79, in start_kernel
proc.start()
File
"/opt/sage/sage-5.4.rc1/local/lib/python/multiprocessing/process.py", line
130, in start
self._popen = Popen(self)
File
"/opt/sage/sage-5.4.rc1/local/lib/python/multiprocessing/forking.py", line
125, in __init__
code = process_obj._bootstrap()
File
"/opt/sage/sage-5.4.rc1/local/lib/python/multiprocessing/process.py", line
274, in _bootstrap
sys.stderr.write('Process %s:\n' % self.name)
MemoryError
}}}
sagecell.log repeats these two lines many times over, which I assume have
to do with forking to allow multiple users to access it simultaneously:
{{{
8d22e437: 2012-11-02 15:58:58,239 To connect another client to this kernel,
use:
8d22e437: 2012-11-02 15:58:58,239 --existing kernel-5637.json
}}}
Is there an indication whether this is an error specific to IPython or to
Sage Cell? What other logs should I look through?
I know this is still under heavy development, but I'd really like to get a
Cell Server working to demo in my class.
I will build sage-5.0 and attempt to install the older Cell Server (
https://github.com/sagemath/sagecell/blob/master/README.rst) while I
continue to troubleshoot this in parallel.
On Fri, Nov 2, 2012 at 3:35 PM, Jason Grout <[email protected]>wrote:
> On 11/2/12 4:39 PM, Brandon Curtis wrote:
>
>> This:
>> var('x y')
>> y = x^3
>> show(y)
>> plot(y,x,(-2,2))
>>
>
> That should be:
>
>
> var('x y')
> y = x^3
> plot(y, (x,-2,2))
>
> It sounds like the problem is that your code had a problem, but then
> IPython had an error when trying to show you your error.
>
>
> Thanks,
>
> Jason
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to sage-support+unsubscribe@**
> googlegroups.com <sage-support%[email protected]>.
> Visit this group at
> http://groups.google.com/**group/sage-support?hl=en<http://groups.google.com/group/sage-support?hl=en>
> .
>
>
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.