Ticket #5773 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

notebook -- uploading a corrupted worksheet (sws file) results in blank screen (no useful error message)

Reported by: was Owned by: boothby
Priority: major Milestone: sage-4.3.1
Component: notebook Keywords:
Cc: was Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

I uploaded a corrupted tarball and get a blank screen from the server instead of a useful error. I also get this in the server logs

2009-04-12 21:12:35-0700 [-] cd "/Users/wstein/.sage/temp/teragon.local/61279/dir_1"; tar -jxf "/Users/wstein/.sage/temp/teragon.local/61279/dir_0/Homework_1____Devon_McMinn.sws"

bzip2: Data integrity error when decompressing.
	Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Child returned status 2
tar: Error exit delayed from previous errors


Change History

comment:1 Changed 3 years ago by timdumol

  • Cc was added
  • Work issues set to Close/mark as fixed?
  • Report Upstream set to N/A

This is already fixed. Try:

$ echo '!@#rsfdsagarbage' > foo.sws

and try uploading it.

comment:2 Changed 3 years ago by timdumol

  • Status changed from new to closed
  • Resolution set to duplicate
  • Work issues Close/mark as fixed? deleted
  • Milestone changed from sage-4.3.1 to sage-duplicate/invalid/wontfix

comment:3 Changed 3 years ago by timdumol

  • Resolution changed from duplicate to fixed
  • Milestone changed from sage-duplicate/invalid/wontfix to sage-4.3.1
Note: See TracTickets for help on using tickets.