On 9/23/12 4:32 PM, ma...@mendelu.cz wrote:


Dne čtvrtek, 20. září 2012 15:16:59 UTC+2 ma...@mendelu.cz napsal(a):



    Websocket closed<http://192.168.26.133:8000/#>
    Websocket connection to
    ws://192.168.26.133:8888/kernel/428c10d5-20f2-4db5-ae9c-e678d6538c9b
    <http://192.168.26.133:8888/kernel/428c10d5-20f2-4db5-ae9c-e678d6538c9b>
    could not be established. You will NOT be able to run code. Your
    browser may not be compatible with the websocket version in the
    server, or if the url does not look right, there could be an error
    in the server's configuration.


Any idea what could be wrong? In the terminal where I run "sage
web_server.py" I get the following:

agecell@sagecell:~/sage-5.3/devel/sagecell$ sage web_server.py
ZMQ Connection with computer 68fc3612-0d2f-4501-a964-1d7b0bf5022e at
port 57951 established.
ERROR:root:WebSocket
Traceback (most recent call last):
   File
"/home/sagecell/sage-5.3/local/lib/python2.7/site-packages/sockjs_tornado-0.0.4-py2.7.egg/sockjs/tornado/transports/websocket.py",
line 57, in on_message
     self.session.on_messages(msg)
   File
"/home/sagecell/sage-5.3/local/lib/python2.7/site-packages/sockjs_tornado-0.0.4-py2.7.egg/sockjs/tornado/session.py",
line 409, in on_messages
     self.conn.on_message(msg)
   File "/home/sagecell/sage-5.3/devel/sagecell-main/handlers.py", line
122, in on_message
     self.channels[kernel][channel].on_message(message)
   File "/home/sagecell/sage-5.3/devel/sagecell-main/handlers.py", line
332, in on_message
     self.session.send(self.shell_stream, msg)
   File
"/home/sagecell/sage-5.3/local/lib/python2.7/site-packages/ipython-0.14.dev-py2.7.egg/IPython/zmq/session.py",
line 578, in send
     to_send = self.serialize(msg, ident)
   File
"/home/sagecell/sage-5.3/local/lib/python2.7/site-packages/ipython-0.14.dev-py2.7.egg/IPython/zmq/session.py",
line 498, in serialize
     self.pack(msg['metadata']),
KeyError: 'metadata'


What commit is your sagecell installation? It looks like the sagecell installation may be old. Did you run 'make' to remake the javascript files?

Thanks,

Jason



--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to