From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OOTkM-0006p1-LN for garchives@archives.gentoo.org; Tue, 15 Jun 2010 10:51:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2E82E0712; Tue, 15 Jun 2010 10:51:25 +0000 (UTC) Received: from mxi2.callplus.net.nz (mx194.callplus.net.nz [202.180.66.194]) by pigeon.gentoo.org (Postfix) with ESMTP id 263DFE0712 for ; Tue, 15 Jun 2010 10:51:24 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhIGAD/3Fkx8xQFN/2dsb2JhbACSV4wbcr8RhRoE Received: from 124-197-1-77.callplus.net.nz (HELO vrooom.localnet) ([124.197.1.77]) by ismtp02.callplus.net.nz with ESMTP; 15 Jun 2010 22:51:23 +1200 From: =?iso-8859-1?q?Fran=E7ois_Bissey?= To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] sage-notebook & jmol Date: Tue, 15 Jun 2010 22:51:23 +1200 User-Agent: KMail/1.13.3 (Linux/2.6.32-gentoo-r7; KDE/4.4.4; i686; ; ) References: <1276542835.6175.0@ledaig> In-Reply-To: <1276542835.6175.0@ledaig> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201006152251.23187.f.r.bissey@massey.ac.nz> X-Archives-Salt: 5757034e-5689-4ffe-b3b1-4d1bb943ec40 X-Archives-Hash: dce49e1dd7d979a02fc75eec241c02e1 > sci-chemistry/jmol. Now here I'm able to get Jmol to work from the > notebook if I create either of the symlinks, > > site-packages/sagenb/data/jmol -> > /usr/share/webapps/jmol/11.6.16/htdocs > or > site-packages/sagenb/data/jmol -> /var/www/localhost/htdocs/jmol > > There should be a better way to do this but I'm unable to find a way to > get the sagenb package to access external data other than through a > symlink. If the first of the above is done then a version bump of jmol > will require a new sage-notebook install! There is also an "appletweb" > directory that's present under sagenb/data/jmol and I was curious as to > whether it's needed? Is it perhaps a carry-over from the older > Sage-provided jmol stuff? > A bit more details on this. First the cli it is enough to install jmol with the flag client-only which just install the binary. The next problem is that to get the web-applet we need either -client-only or vhost use flags. Which require the gentoo web-app framework. We don't want that. *sage uses twisted as its server, this is not supported by web-app. We basically need a lot of the stuff that is provided for the web-app without the requirements of the web-app framework. I can say you have installed jmol as a web-app Steve. The stuff provided in the appletweb folder could be provided by jmol. At first I was trying to provide some stuff from jmol and keeping some stuff from sagenb. This one has tough requirements. Francois