public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: "François Bissey" <f.r.bissey@massey.ac.nz>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] sage-notebook & jmol
Date: Tue, 15 Jun 2010 22:51:23 +1200	[thread overview]
Message-ID: <201006152251.23187.f.r.bissey@massey.ac.nz> (raw)
In-Reply-To: <1276542835.6175.0@ledaig>


> 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



  parent reply	other threads:[~2010-06-15 10:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-14 19:13 [gentoo-science] sage-notebook & jmol Steven Trogdon
2010-06-14 20:52 ` François Bissey
2010-06-15 10:51 ` François Bissey [this message]
2010-06-15 15:11   ` Steven Trogdon
2010-06-17 11:09     ` François Bissey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201006152251.23187.f.r.bissey@massey.ac.nz \
    --to=f.r.bissey@massey.ac.nz \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox