On 5/10/12 9:32 AM, Christian Stump wrote:
This indicates that the patches to Sage did not apply successfully. Can
you check those?
thanks for your replies!
the error message has gone after reimporting the patches and building sage.
Nevertheless, I still don't get the cell running:
1. The device seems to be starting somehow:
stumpc5@stumpc5:~/progs/sage-5.0.rc0/devel/sagecell$ sage
../start_device.py
Executing: /home/stumpc5/progs/sage-5.0.rc0/sage -python trusted_db.py
--untrusted-mem -1 --workers 5 --quiet '' --untrusted-account
'localhost' --untrusted-python '/home/stumpc5/progs/sage-5.0.rc0/sage
-python' --untrusted-cpu -1
PID: 6773
/usr/bin/ssh:
/home/stumpc5/progs/sage-5.0.rc0/local/lib/libcrypto.so.1.0.0: no version
information available (required by /usr/bin/ssh)
stumpc5@localhost's password:
SSH process id: 6929
ssh: /home/stumpc5/progs/sage-5.0.rc0/local/lib/libcrypto.so.1.0.0: no
version information available (required by ssh)
Pseudo-terminal will not be allocated because stdin is not a terminal.
stumpc5@localhost's password:
Permission denied, please try again.
stumpc5@localhost's password:
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-24-generic x86_64)
* Documentation: https://help.ubuntu.com/
PROCESS GROUP ID: 7104
Looks good. Remember that it takes a few seconds or even a minute for
Sage to start up.
Can you copy the sagecell_config_default.py file to sagecell_config.py
and comment out the quiet: '' line in the device_config section? That
will turn on extra logging for the device process so we can see what is
happening.
-------------------------------------------------------------------------------
2. The server as well
stumpc5@stumpc5:~/progs/sage-5.0.rc0/devel/sagecell$ sage ./start_web.py
Executing: /home/stumpc5/progs/sage-5.0.rc0/sage -twistd -n web --wsgi
web_server.app --port 8080
2012-05-10 16:30:59+0200 [-] Log opened.
2012-05-10 16:30:59+0200 [-] twistd 12.0.0
(/home/stumpc5/progs/sage-5.0.rc0/local/bin/python 2.7.2) starting up.
2012-05-10 16:30:59+0200 [-] reactor class:
twisted.internet.pollreactor.PollReactor.
2012-05-10 16:30:59+0200 [-] Site starting on 8080
2012-05-10 16:30:59+0200 [-] Starting factory<twisted.web.server.Site
instance at 0x221eea8>
Looks good.
-------------------------------------------------------------------------------
But when I try to compute 1+1, I get this message in the server terminal
1336660297.76: : Retrieved messages: []
2012-05-10 16:31:37+0200 [-] 127.0.0.1 - - [10/May/2012:14:31:37 +0000]
"GET
/output_poll?computation_id=242b2ec6-062b-49c2-bf13-2522c6605564&sequence=0&rand=0.18678609952491598
HTTP/1.1" 200 2 "http://localhost:8080/" "Mozilla/5.0 (X11; Ubuntu; Linux
x86_64; rv:12.0) Gecko/20100101 Firefox/12.0"
again and again.
That's not an error message. That's a log message saying your browser
is requesting output.
Thanks,
Jason
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org