benmaier/tacoma

visualization not working

Closed this issue · 9 comments

untitled

Hi, I don't replicate the visualization example. I attach a screenshot of the error message. I work on a Mac (High Sierra), python3.7

best

Apparently sometimes the javascript source code was not copied to the "~/.tacoma" subfolder prior to starting a visualization. It should work now with version 0.1.1

sorry for closing this -- it happened automatically with the commit

actually it's still not working. However it's indeed clearly linked to the issue of not copying these javascript code. If I copy by hand the directories css, custom_js, widgets_js into .tacoma/web, then it works. However it works just once: if I stop it and try to relaunch a visualization in the same notebook, it opens a tab but does not show the animation.

Hi, I just updated to 0.1.1 and I'm still getting an issue similar to barrat's.
screen shot 2018-10-15 at 2 22 26 pm

I tried barrat's suggestion of copying the folders. As barrat mentioned, this mostly fixes it but there are still some errors popping up. Here's the output.

screen shot 2018-10-15 at 2 37 29 pm

Also, when closing the visualization, I do not get the '>>>' prompt again and I have to manually exit with a control-c.

Using MacOS High Sierra 10.13.6 and Python 3.6.5

Thanks for the updates!

@Yacoub-Kureh closing the visualization in the browser does not send a signal back to Python so you have to send the KeyboardInterrupt-signal (Control-C in console or the "Stop" button in a Jupyter notebook) manually, as you said, so unfortunately this works as intended -- I have not found a better solution to this problem yet. The 404 messages correspond to two images not being found. Is the visualization running otherwise?

@barrat I can reproduce the error that a visualization can't be restarted once another has been started in the same session. I'm going to open another issue with this problem and look into it asap.

Meanwhile, I'll be working to fix the issue of copying the visualization files.

I found the bug concerning the JS-files -- some subdirectories were not included in the MANIFEST.in which I did not recognize because I falsely kept working with the development install. Those files were then not copied.

It should now really work with version 0.1.4.

Visualizations now work multiple times per session (fixed #14)

Works indeed for me now. Thanks a lot!

Great! Thanks for raising this issue!