Skip to content

Vizgpm not loading #80

Description

@versar

Summary
I have not been able use VizGPM graphic elements recently in any bayeslite/iventure notebook. I tried notebooks from a few different machines, on AWS and locally.

Reproducing the issue
The issue can be reproduced by running https://github.com/probcomp/notebook/blob/master/tutorials/gapminder-exploratory.ipynb from our tutorial notebook set. The following occurs:

  • The code %vizgpm inline (in cell 2) produces a blank output rather than a message reporting that VizGPM has loaded.
  • The interactive VizGPM graphics come up blank when they are called after that.

Why it may be occurring
I wonder if there is a connection issue to the probcomp2 server required in the following line of code. I wonder if this is a result of a restriction on connections to CSAIL machines from off of campus since MIT updated its security policies:

$.getScript('https://probcomp-2.csail.mit.edu/vizgpm/vizgpm.js', function() {

If so, then a solution may be to make the same VisGPM library available from another server or change the connection properties of probcomp2.csail.mit.edu. Another part of the solution may be to raise a python Error if the VizGPM library does not load, so that our tutorial notebooks do not fail silently.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions