Ticket #12219 (closed defect: invalid)

Opened 17 months ago

Last modified 17 months ago

loading a worksheet from a https url gives poor error message when SSL not available

Reported by: ddrake Owned by: jason, mpatel, was
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: notebook Keywords:
Cc: jason Work issues:
Report Upstream: N/A Reviewers: Keshav Kini
Authors: Dan Drake Merged in:
Dependencies: Stopgaps:

Description (last modified by jdemeyer) (diff)

In the "Upload worksheet" page, there's a box that says "Or enter the URL of a worksheet file on the web:" If you give that box an https URL, it fails if SSL is not available, both with the old Twistd notebook and the new Flask-based one.

Old notebook: fails with Internal Server Error.

Flask notebook: fails with blank page. The server log shows that urllib.py is throwing an IOError exception because it doesn't know how to handle 'https'.

If Sage wasn't built with SSL support, this should at least fail with a reasonable error message.

See flask notebook instead.

Attachments

trac_12219.patch Download (1.2 KB) - added by ddrake 17 months ago.
for Flask notebook

Change History

Changed 17 months ago by ddrake

for Flask notebook

comment:1 Changed 17 months ago by ddrake

  • Status changed from new to needs_review
  • Authors set to Dan Drake

I'm also experimenting with github and pull requests there; see  https://github.com/sagemath/sagenb/pull/5

comment:2 Changed 17 months ago by kini

  • Reviewers set to Keshav Kini

This is in trunk and will be in sagenb 0.90.

comment:3 Changed 17 months ago by kini

  • Status changed from needs_review to positive_review

comment:4 Changed 17 months ago by jdemeyer

  • Status changed from positive_review to closed
  • Resolution set to invalid
  • Description modified (diff)
  • Milestone changed from sage-4.8 to sage-duplicate/invalid/wontfix
Note: See TracTickets for help on using tickets.