Jason, regarding /tmp/uwsgi.sock I just change by hand its permission to 777 once it is created. Not an elegant way, I know, but it works.
I was confused about $SERVER and single-cell-server in your instructions. After the item 'Jmol' the 'cd $SERVER/static' should be 'cd $SERVER/single-cell-server/ static'. The item 'Single Cell Server' states: ------------- First, minify CSS and JavaScript files (this is required): cd $SERVER/static make --------------- and I think it should be ------------------ First, minify CSS and JavaScript files (this is required): cd $SERVER/single-cell-server/static make ----------------- Your excerpt of singlecell_config.py showed my error (I wrote 'python': sage -python in the device-config, in place of python='sage - python' before device-config). I suggest inserting this part of singlecell_config.py in the instructions. So, now my server is working ok (I can use Sage!). Nevertheless, I don't get plots yet (I did not patch Sage as indicated in your instructions). Thank you very much! Francisco On Sep 13, 8:35 pm, Jason Grout <jason-s...@creativetrax.com> wrote: > On 9/13/11 12:45 PM, fbotana wrote: > > > Finally, I solved (almost) all problems. > > > There was a problem with permissions on /tmp/uwsgi.sock. > > Ah, okay. How should we change the instructions to make it work? > > > It remains an issue. I get "NOTE: Sage Mode is unavailable, which may > > cause errors if using Sage-specific syntax.". Probably I forgot > > something, but I cannot figure what the problem is (yes, the box is > > ticked). > > Did you install sage and are you using sage to run the device? Here's > an excerpt from my singlecell_config.py: > > python='../sage/sage -python' > device_config={ > 'workers': 150, > 'python': python, > 'untrusted-account': 'deviceaccount@localhost', > 'untrusted-python': 'nice '+python, > 'untrusted-cpu': 100, # seconds > 'untrusted-mem': 2500, # megabytes > } > > Note that the "untrusted-python" is really 'sage -python' > > As a test, can you try doing this on your server? > > import sage > > Thanks, > > Jason -- 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 For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org