Hello!
I use
'Sage Version 4.6, Release Date: 2010-10-30'
which I compiled myself from the sources.
on Linux (Gentoo) 2.6.35.7 x86_64 AMD Athlon(tm) 64 X2 Dual Core
Processor 4600+ AuthenticAMD GNU/Linux.
I start notebook() and then start a new worksheet. Then I try "Load
worksheet from a file" and in the new page I browse my computer to
select a worksheet file (sws) to upload. After selecting, I press the
button "Upload worksheet" and in the new page I read
Internal Server Error
An error occurred rendering the requested page. More information is
available in the server log.
In the terminal the following appears:
2010-12-27 18:27:47+0100 [HTTPChannel,0,127.0.0.1] Exception
rendering:
2010-12-27 18:27:47+0100 [HTTPChannel,0,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/home/alex/usr/share/sage-4.6/local/lib/python2.6/site-
packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/
defer.py", line 307, in _startRunCallbacks
self._runCallbacks()
File "/home/alex/usr/share/sage-4.6/local/lib/python2.6/site-
packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/
defer.py", line 323, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/home/alex/usr/share/sage-4.6/local/lib/python2.6/site-
packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/web2/
fileupload.py", line 210, in _doReadHeaders
return _readHeaders(self.stream)
File "/home/alex/usr/share/sage-4.6/local/lib/python2.6/site-
packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/
defer.py", line 697, in unwindGenerator
return _deferGenerator(f(*args, **kwargs), Deferred())
--- <exception caught here> ---
File "/home/alex/usr/share/sage-4.6/local/lib/python2.6/site-
packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/
defer.py", line 600, in _deferGenerator
result = g.next()
File "/home/alex/usr/share/sage-4.6/local/lib/python2.6/site-
packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/web2/
fileupload.py", line 73, in _readHeaders
ctype =
http_headers.parseContentType(http_headers.tokenize((value,),
foldCase=False))
File "/home/alex/usr/share/sage-4.6/local/lib/python2.6/site-
packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/web2/
http_headers.py", line 519, in parseContentType
raise ValueError, "MIME Type "+str(type)+" invalid."
exceptions.ValueError: MIME Type [] invalid.
I would be grateful for any help!
Best Regards
Alexandros
--
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