Ask Your Question
0

3d Plotting not working when using server pool

asked 2013-08-17 20:43:13 +0100

feynman gravatar image

updated 2023-01-09 23:59:33 +0100

tmonteil gravatar image

I have the following line in my ~/.profile:

nohup sage -c "notebook(secure=True, interface='', directory='./sage_notebook.sagenb', timeout=3600, server_pool=['sage%d@localhost'%i for i in range(10)], ulimit='-u 100 -t 36000 -v 500000', automatic_login=False)" > /dev/null 2>&1 &

Ever since I started using the server pool, 3d plots will not show up. I get this error:

script ERROR: script ERROR: io error reading
/home/aeftimia/sage_notebook.sagenb/home/__store__/6/66/662/662c/aeftimi\
a/9/cells/509/sage0-size500-31677462.jmol.zip|SCRIPT:
java.io.FileNotFoundException:
/home/aeftimia/sage_notebook.sagenb/home/__store__/6/66/662/662c/aeftimi\
a/9/cells/509/sage0-size500-31677462.jmol.zip (Permission denied)

I found what seems to be an active ticket with this issue here.

Here are my questions:

  • Is there no workaround for this?
  • Are the developers working on solving the problem?
  • When might there be a solution?

I would like to be able to use a server pool for extra security, but I hate to give up 3d plotting.

edit retag flag offensive close merge delete

Comments

This may be tough one. The issue relates to where the scratch files are put by the server, how the location is passed to the browser and restrictions on cross server scripting. This may get better as I get the javascript version of 3-D plotting working, but I will also keep it in mind and look for other solutions. No promises of rapid progress, the javascript plotting is higher priority.

jonathan gravatar imagejonathan ( 2013-08-30 11:12:53 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-08-17 21:38:07 +0100

ppurka gravatar image

I haven't been able to find a solution for this since the error is from jmol and not from Sage proper.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-08-17 20:43:13 +0100

Seen: 466 times

Last updated: Aug 17 '13