On 08/10/2010 12:56 PM, Rolandb wrote:
> On 10 aug, 07:45, Mitesh Patel <[email protected]> wrote:
>> On 08/08/2010 05:43 AM, Rolandb wrote:
>>
>>> I used dowload all, and thereafter I tried to upload the file
>>> download_worksheets. The following message appears:
>>
>>> Bad Gateway
>>
>>> The proxy server received an invalid response from an upstream server.
>>> Apache/2.2.12 (Ubuntu) Server at 192.168.231.129 Port 80
>>
>>> Any idea how to get the job done? Thanks in advance!
>>
>> Could you give more information about your server setup?  Where does the
>> message appear?
>>
>> Does uploading download_worksheets.zip work with a notebook server
>> that's not proxied through Apache?  That is, if you run, e.g.,
>>
>> sage: notebook()
>>
>> visithttp://localhost:8000, click on "Upload," etc.?
> 
> I'm using VMware, Sage 4.5.1., with Firefox.
> Just used "download all" in Sage 4.1, and I tried to upload
> "download_worksheets" (note: that is the full file name!), size 57Mb.
> 
> The error appeared at the top of the browser.

Thanks.  I'm not familiar with the Sage VMware image, so it may be best
for me to defer to more experienced hands.

The missing .zip extension could be a notebook bug or a browser quirk.

What happens if you rename download_worksheets to
download_worksheets.zip and then try to upload the file?

The problem *may* be that UploadWorksheet.render() in the notebook's
twist.py module

SAGE_ROOT/local/lib/python/site-packages/sagenb-*-py2.6.egg/sagenb/notebook/twist.py

checks the extension of the uploaded file to determine how to proceed.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to