Opened 9 years ago

Closed 5 years ago

#9275 closed defect (wontfix)

2 Bugs related to Simple Sage Server API

Reported by: was Owned by: jason, was
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: notebook Keywords:
Cc: Merged in:
Authors: Reviewers: Karl-Dieter Crisman
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

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

Attachments (1)

14208.patch (1.7 KB) - added by dpoetzsch 9 years ago.
The bugfixes mentioned above as a patch file

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by dpoetzsch

The bugfixes mentioned above as a patch file

comment:1 Changed 7 years ago by kcrisman

  • Milestone changed from sage-5.11 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

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

comment:2 Changed 7 years ago by kcrisman

  • Reviewers set to Karl-Dieter Crisman
  • Status changed from needs_review to positive_review

comment:3 Changed 7 years ago by kcrisman

  • Status changed from positive_review to needs_info

comment:4 Changed 5 years ago by kcrisman

  • Status changed from needs_info to positive_review

comment:5 Changed 5 years ago by vbraun

  • Resolution set to wontfix
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.