Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 Bugs related to Simple Sage Server API #9275

Closed
williamstein opened this issue Jun 19, 2010 · 3 comments
Closed

2 Bugs related to Simple Sage Server API #9275

williamstein opened this issue Jun 19, 2010 · 3 comments

Comments

@williamstein
Copy link
Contributor

This is from a user:


Hi.

I was recently trying to use the Simple Sage Server API as described here:
http://www.sagemath.org/doc/reference/sagenb/simple/twist.html
I am using the opensuse-64bit build of Sage-4.4.

Well it didn't work (always got an error when I tried to compute
something), so I started to follow the error.

On my way I found to Bugs:

File sage.server.notebook.worksheet, Line 3497, in def preparse(self, s)
replace:   s = preparse_file(s, magic=False, do_time=True,
ignore_prompts=False)
with   :   s = preparse_file(s)
(The arguments magic and do_time do not exist in preparse_file)

File sage.server.notebook.worksheet, Line 2871, in def
start_next_comp(self) before:    input +=
'sage.server.notebook.interact.SAGE_CELL_ID=%s\n'%(C.id())
insert:    input += 'import sage.server.notebook.interact\n'
(You need to import the module before using it)

When I applied those two patches the tutorial worked out for me.

greetings,
David Poetzsch-Heffter

Component: notebook

Reviewer: Karl-Dieter Crisman

Issue created by migration from https://trac.sagemath.org/ticket/9275

@sagetrac-dpoetzsch
Copy link
Mannequin

sagetrac-dpoetzsch mannequin commented Jun 24, 2010

The bugfixes mentioned above as a patch file

@kcrisman
Copy link
Member

comment:1

Attachment: 14208.patch.gz

The simple server does not currently work at all; however, the Sage cell server should fit most of those needs.

@kcrisman kcrisman removed this from the sage-5.11 milestone Jun 14, 2013
@kcrisman
Copy link
Member

Reviewer: Karl-Dieter Crisman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants