It's a good suggestion that this could be a race condition. However, it's 
then odd that every other execution works. Here is the structure we're 
using. In the Python portion of the vpython module were these statement 
(before breaking the glow library into two pieces):

package_dir = os.path.dirname(__file__)
notebook.nbextensions.install_nbextension(path = 
package_dir+"/data/jquery-ui.custom.min.js",overwrite = True,user = 
True,verbose = 0)    
notebook.nbextensions.install_nbextension(path = 
package_dir+"/data/glow2.1.min.js",overwrite = True,user = True,verbose = 0)
notebook.nbextensions.install_nbextension(path = 
package_dir+"/data/glowcomm.js",overwrite = True,user = True,verbose = 0)

And here was the start of the glowcomm.js file:

define(["nbextensions/jquery-ui.custom.min","nbextensions/glow.2.1.min"], 
function() {
/*jslint plusplus: true */

I inherited these statements from a colleague far more knowledgeable about 
Jupyter than me, but I would assume that these statements are intended to 
ensure that all libraries are loaded before execution starts, no? I repeat 
that breaking glow2.1.min.js into two pieces completely eliminated the 
problem, whereas one might expect that adding another library would enhance 
a race condition.

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/482ca5c0-5139-4ab5-b610-c4dc63e0bfcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to