Opened 12 years ago

Closed 11 years ago

#302 closed enhancement (invalid)

Report server errors to online notebook users

Reported by: TimothyClemans Owned by: was
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: notebook Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

If the notebook server gets messed up, the notebook server should display a web page in place of any other pages.

Change History (8)

comment:1 Changed 12 years ago by was

  • Resolution set to invalid
  • Status changed from new to closed

This doesn't make sense. If the notebook server is "messed up", then it can't display anything, since it's messed up. Messed up, means it crashed.

comment:2 Changed 12 years ago by TimothyClemans

  • Resolution invalid deleted
  • Status changed from closed to reopened

"chmod -w nb.sobj" messes up the notebook.

self.save_notebook_every_so_often()

File "/usr/local/sage/local/lib/python2.5/site-packages/sage/server/notebook/server.py", line 320, in save_notebook_every_so_often

notebook.save()

File "/usr/local/sage/local/lib/python2.5/site-packages/sage/server/notebook/notebook.py", line 750, in save

SageObject?.save(self, F, compress=False)

File "sage_object.pyx", line 139, in sage_object.SageObject?.save

IOError: [Errno 13] Permission denied: '/home/Timothy/sage_notebook/nb.sobj'


localhost.localdomain - - [01/Mar/2007 14:22:37] "GET / HTTP/1.1" 200 - localhost.localdomain - - [01/Mar/2007 14:22:37] "GET /jsmath/plugins/noImageFonts.js HTTP/1.1" 200 - localhost.localdomain - - [01/Mar/2007 14:22:37] "GET /jsmath/jsMath.js HTTP/1.1" 200 - localhost.localdomain - - [01/Mar/2007 14:22:37] "GET /sagelogo.png HTTP/1.1" 200 - localhost.localdomain - - [01/Mar/2007 14:22:37] "GET /corner.png HTTP/1.1" 200 - localhost.localdomain - - [01/Mar/2007 14:22:38] "GET /jsmath/jsMath-fallback-unix.js HTTP/1.1" 200 -

The notebook stops running computations, however it is still serving web pages. It should stop serving those pages and show an error.

comment:3 Changed 12 years ago by TimothyClemans

  • Priority changed from critical to minor
  • Summary changed from Improved error reporting for notebook to Report server errors to online notebook users
  • Type changed from defect to enhancement

comment:4 Changed 11 years ago by mabshoff

  • Milestone set to sage-feature

comment:5 Changed 11 years ago by TimothyClemans

Please close this ticket as invalid.

comment:6 Changed 11 years ago by mabshoff

Timothy,

could you give a reason for the record why this should be invalid?

Cheers,

Michael

comment:7 Changed 11 years ago by TimothyClemans

I think it should be marked as invalid because we don't have a good list of the errors that could pop up. When we do then this will become more necessary.

For example on the TRAC server for Knoboo I've seen it report that the server is having database trouble. If we discover that a Sage Notebook can become unusable then this sort of error reporting would become necessary.

comment:8 Changed 11 years ago by mabshoff

  • Milestone changed from sage-feature to sage-duplicate/invalid
  • Resolution set to invalid
  • Status changed from reopened to closed

Sounds reasonable to me. Invalidated.

Note: See TracTickets for help on using tickets.