When I run that command (in the directory of setup.py) I get
python setup.py install --build_js
deploying bokehjs...
Traceback (most recent call last):
File "setup.py", line 195, in <module>
out = subprocess.check_output(['grunt', 'deploy'])
File "/Users/kevinjamieson/anaconda/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/Users/kevinjamieson/anaconda/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/Users/kevinjamieson/anaconda/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Is it an issue that I installed bokeh originally using anaconda distribution and then started using the cloned repository?
Also, for some directory information, when I run "python setup.py install" I see
Installing bokeh...
/Users/kevinjamieson/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
warnings.warn(msg)
/Users/kevinjamieson/anaconda/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install
running build
got version from git {'version': '0.4.4-49-ge939f7f', 'full': 'e939f7fe3d0b70f7d943dd2494c2dae8fb68d1b5'}
running build_py
copying bokeh/server/static/js/bokeh.js -> build/lib/bokeh/server/static/js
copying bokeh/server/static/js/bokeh.min.js -> build/lib/bokeh/server/static/js
running build_scripts
UPDATING build/lib/bokeh/_version.py
running install_lib
copying build/lib/bokeh/_version.py -> /Users/kevinjamieson/anaconda/lib/python2.7/site-packages/bokeh
copying build/lib/bokeh/server/static/js/bokeh.js -> /Users/kevinjamieson/anaconda/lib/python2.7/site-packages/bokeh/server/static/js
copying build/lib/bokeh/server/static/js/bokeh.min.js -> /Users/kevinjamieson/anaconda/lib/python2.7/site-packages/bokeh/server/static/js
byte-compiling /Users/kevinjamieson/anaconda/lib/python2.7/site-packages/bokeh/_version.py to _version.pyc
running install_scripts
changing mode of /Users/kevinjamieson/anaconda/bin/bokeh-server to 755
running install_egg_info
Removing /Users/kevinjamieson/anaconda/lib/python2.7/site-packages/bokeh-0.4.4_49_ge939f7f-py2.7.egg-info
Writing /Users/kevinjamieson/anaconda/lib/python2.7/site-packages/bokeh-0.4.4_49_ge939f7f-py2.7.egg-info
On Monday, April 21, 2014 12:50:49 PM UTC-7, Damian Avila wrote:
Can you please run:
python setup.py install --build_js
and try again...
On Mon, Apr 21, 2014 at 4:44 PM, Kevin Jamieson <[email protected]> wrote:
Thank all of you for your attention on this issue, it is much appreciated. Unfortunately, I still run into problems running the example you've added.
I clone the latest, run "python setup.py install" in the directory to update things, go into terminal and enter python and check for updated version:
>>> import bokeh
>>> bokeh.__version__
'0.4.4-49-ge939f7f'
Now I navigate to examples/plotting/file and type "python image_url.py" and image_url.html is created successfully, the browser (Chrome 34.0.1847.116, also Safari) is launched but all I see is "Plots" with nothing else. When I look at the javascript console, I see
1d8c6072-2add-4441-9517-82aaa942f244 PlotContext 30ffaace-e41e-430f-aba9-c58cc956edfa image_url.html:229
calling require source/column_data_source image_url.html:219
calling require range/data_range1d image_url.html:219
calling require ticking/basic_tick_formatter image_url.html:219
calling require ticking/basic_ticker image_url.html:219
calling require renderer/guide/linear_axis image_url.html:219
calling require renderer/guide/grid image_url.html:219
calling require tool/box_zoom_tool image_url.html:219
calling require renderer/overlay/box_selection image_url.html:219
calling require renderer/glyph/glyph_factory image_url.html:219
calling require tool/box_select_tool image_url.html:219
calling require tool/pan_tool image_url.html:219
calling require tool/wheel_zoom_tool image_url.html:219
calling require tool/preview_save_tool image_url.html:219
calling require tool/resize_tool image_url.html:219
calling require tool/reset_tool image_url.html:219
calling require common/plot image_url.html:219
calling require common/plot_context image_url.html:219
unknown glyph type 'image_url' image_url.html:211
Uncaught TypeError: undefined is not a function image_url.html:205
error with binder
n
change:x_range image_url.html:205
error with binder
n
change:y_range image_url.html:205
error with binder
n
change:x_range image_url.html:205
error with binder
n
change:y_range image_url.html:205
I should mention that if I try "python image_rgba.py" everything works as expected.
Any suggestions?
Thanks
On Monday, April 21, 2014 10:26:20 AM UTC-7, Bryan Van de ven wrote:
This PR is merged and the issue is fixed on master. Additionally an example has been added at
examples/plotting/file/image_url.py
Thanks,
Bryan
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
To post to this group, send email to bo...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/fbf8c562-1798-4985-8f87-bcbecd006b06%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" 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/a/continuum.io/d/msgid/bokeh/c0335538-a214-4ada-871d-e578d52e151f%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.