On Tue, Nov 1, 2016 at 7:41 AM, Volker Braun <vbraun.n...@gmail.com> wrote:
> Jupyter(-hub) expects the worksheet to be self-contained, so the entire
> graphics data needs to be embedded without any further calls to the backend.
> Thats the only way that you can then share the notebook on nbviewer or
> github, say, and graphics still works.
>
> Jmol's architecture is fundamentally at odds with this. I made some fugly
> iframe hack so we have something to show in the jupyter notebook but its
> imho not a viable long-term solution.

Your iframe hack doesn't respect Jupyter's base url options, which is
the (only) problem for both Jupyterhub and SageMathCloud.

 -- William

>
>
> On Tuesday, November 1, 2016 at 9:35:42 AM UTC-4, Jonathan wrote:
>>
>> Unfortunately, I have not got time to dig through the code and
>> understand what needs to be done to pass data properly to jupyter hub.
>> It appears that paths need to be specified using a particular utility
>> function. That part may be easy, but it is not clear to me where
>> everything needs to be adjusted. I suspect this will take somebody 3 -4
>> hours or solid work to make sure we do not miss anything.
>>
>> Jonathan
>>
>> On 10/31/16 9:13 PM, William Stein wrote:
>> > On Mon, Oct 31, 2016 at 7:11 PM, kcrisman <kcri...@gmail.com> wrote:
>> >>
>> >>
>> >>>    https://github.com/jupyterhub/jupyterhub/issues/401
>> >>>
>> >>> which blocks 3d graphics in jupyter/sage working at all for sage and
>> >>> jupyter hub:
>> >>>
>> >>>    https://github.com/sagemathinc/smc/issues/159
>> >>>
>> >>> It seems like according to
>> >>> https://github.com/jupyterhub/jupyterhub/issues/401 the fix might be
>> >>> an easy one liner for whoever maintains the sage jupyter jsmol 3d
>> >>> graphics notebook extension.
>> >>>
>> >>> Who is that?  Where is it?
>> >>>
>> >>
>> >> You mean for Sage inside of Jupyter?  I don't know whether anyone
>> >> "maintains" that.  Cc:ing people who did make a few magic changes to
>> >> keep
>> >> jsmol working in sagenb but I don't know if they will be able to
>> >> assist.
>> >>
>> >> Also, didn't the upstream say it was only a problem for Jupyterhub, or
>> >> is it
>> >> all of them now?
>> >
>> > The exact same thing that breaks 3d graphics using jsmol for
>> > jupyterhub also breaks them for SageMathCloud.
>> >
>> > William
>> >
>> >>
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups
>> >> "sage-devel" group.
>> >> To unsubscribe from this group and stop receiving emails from it, send
>> >> an
>> >> email to sage-devel+...@googlegroups.com.
>> >> To post to this group, send email to sage-...@googlegroups.com.
>> >> Visit this group at https://groups.google.com/group/sage-devel.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>>
>> --
>>                          Dr. Jonathan H. Gutow
>> Chemistry Department                                 gu...@uwosh.edu
>> UW-Oshkosh                                           Office:920-424-1326
>> 800 Algoma Boulevard                                 FAX:920-424-2042
>> Oshkosh, WI 54901
>>                  http://www.uwosh.edu/facstaff/gutow/
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to