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 08:52:36 +1200 [thread overview]
Message-ID: <201006150852.36329.f.r.bissey@massey.ac.nz> (raw)
In-Reply-To: <1276542835.6175.0@ledaig>
> Hello,
>
> I believe Jmol is the default Sage 3D viewer. However, it seems to be
> broken from the notebook. A
>
> sphere()
>
> from the sage prompt works as expected but not so from the notebook.
> Here I get that the problem is in locating the JmolApplet class. It
> appears that sagenb is coded to look in the data directory under sagenb
> for package data, i.e. relative to the python tree in
> site-packages/sagenb/data. After opening the notebook the contents of
> the directory can be viewed by pointing one's browser to
>
> http://localhost:8000/java/
>
> In particular the notebook seems to look in
> site-packages/sagenb/data/jmol for the JmolApplet class data which was
> removed with the advent of the sage-on-gentoo package,
> 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?
>
Hi,
My fault completely. We noticed about a month ago that jmol was broken
and I started to work on fixing it. I had troubles and hadn't find a good
solution at the time.
Then I more or less forgot. You are putting it back on the top of my
priorities here.
Francois
next prev parent reply other threads:[~2010-06-14 20:52 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 [this message]
2010-06-15 10:51 ` François Bissey
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=201006150852.36329.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