I installed sagecell server on Sage5.2 and I have two problems: with jmol graphic and error messages
JMOL
Simple example I am running (graph of x^2-y^2) works fine on aleph.sagemath.org, but the applet is not loaded on my computer. This is the diff between the answers from aleph server and my server (extracted from firebug). So I guess that the answer from my server looks fine.
< <param value="664676233371479" name="syncId">
---
> <param value="402882436366921" name="syncId">
8c8
< <param value="http://um-bc107.mendelu.cz:8080//static/jmol/appletweb/SageMenu.mnu" name="menuFile">
---
> <param value="http://aleph.sagemath.org/static/jmol/appletweb/SageMenu.mnu" name="menuFile">
11c11
< <param value="http://um-bc107.mendelu.cz:8080//static/jmol" name="codebase">
---
> <param value="http://aleph.sagemath.org/static/jmol" name="codebase">
14c14
< <param value="set defaultdirectory "http://um-bc107.mendelu.cz:8080/files/5a9e6070-3a46-4d28-809b-9b13749e1522/sage0-size500-701611956.jmol.zip"; script SCRIPT; " name="script">
---
> <param value="set defaultdirectory "http://aleph.sagemath.org/kernel/fafe6b8e-1a0e-4936-a5a3-bc7f6a685f6d/files/sage0-size500-129363341.jmol.zip"; script SCRIPT; " name="script">
The server on mendelu is behind firewall, so you cannot see the links to um-bc107, but they are visible from my location.
ERRORS
If the computation finishes fine, I can see the output (including plots). If the computation fails, I see empty cell (and no div with error message in Firebug). The code
1.show(
throws error message on my server, as expected. However, the code
1.show()
throws error on aleph.sagemath.org, but not on my server.
Current state
I installed the sage cell server as follows:
compiled sage 5.2 from sources, tested and installed tickets 12719 and 13121 following the instructions in the description to these tickets
changed host IP address in sagecell_config_default.py (the installation in the text only virtual machine in vmware).
allowed 'ProxyPreserveHost On' in apache configuration to keep correct url's, as described in one of the posts in sage-devel
3D graphic is missing also if i run the regular sage notebook instead of sagecell server.
If I use the kcrisman's solution to http://ask.sagemath.org/question/1726/display-matplotlib-graphic-in-sage-cell-server, I get no link at the bottom, in contrast to the link which appears on aleph sagecell server.
Can you help me? Many thanks.
The machine is installed on a server and apache2.conf is used to forward ports. However, the results are the same if I run the machine in VMware player and access directly from the same machine which runs the VMware player.