First time here? Check out the FAQ!

Ask Your Question
0

3d Plotting not working when using server pool

asked 11 years ago

feynman gravatar image

updated 2 years ago

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.

Preview: (hide)

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 ( 11 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 11 years ago

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.

Preview: (hide)
link

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: 11 years ago

Seen: 527 times

Last updated: Aug 17 '13