Comments (7)
Thanks.
I just pushed a commit that solves the issue. Probably when I tried to re-install the module for testing, the start-server.sh
never got deleted and hence, all of my examples still worked!
Let me know if the updates work.
from gr-bokehgui.
Is node.js required to use these blocks? I can start the flowgraph, but when I go to http://localhost:5006/bokehgui I get the error (in my console): RuntimeError: node.js is needed to allow compilation of custom models
EDIT- I installed node.js just to see if it fixed it, and now I get the following error when running any of the examples and then going to http://localhost:5006/bokehgui
2017-09-03 00:15:30,662 Uncaught exception GET /bokehgui (::1)
HTTPServerRequest(protocol='http', host='localhost:5006', method='GET', uri='/bokehgui', version='HTTP/1.1', remote_ip='::1', headers={'Accept-Language': 'en-US,en;q=0.8', 'Accept-Encoding': 'gzip, deflate, sdch, br', 'Host': 'localhost:5006', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36', 'Connection': 'keep-alive', 'Cache-Control': 'max-age=0', 'Upgrade-Insecure-Requests': '1'})
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1511, in _execute
result = yield result
File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1055, in run
value = future.result()
File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 1069, in run
yielded = self.gen.send(value)
File "/usr/local/lib/python2.7/dist-packages/bokeh/server/views/doc_handler.py", line 26, in get
template_variables=session.document.template_variables)
File "/usr/local/lib/python2.7/dist-packages/bokeh/embed.py", line 871, in server_html_page_for_session
return _html_page_for_render_items(bundle, dict(), render_items, title, template=template, template_variables=template_variables)
File "/usr/local/lib/python2.7/dist-packages/bokeh/embed.py", line 706, in _html_page_for_render_items
script = bundle_all_models()
File "/usr/local/lib/python2.7/dist-packages/bokeh/util/compiler.py", line 417, in bundle_all_models
return bundle_models(Model.model_class_reverse_map.values()) or ""
File "/usr/local/lib/python2.7/dist-packages/bokeh/util/compiler.py", line 332, in bundle_models
compiled = nodejs_compile(impl.code, lang=impl.lang, file=impl.file)
File "/usr/local/lib/python2.7/dist-packages/bokeh/util/compiler.py", line 177, in nodejs_compile
output = _run_nodejs([compilejs_script], dict(code=code, lang=lang, file=file))
File "/usr/local/lib/python2.7/dist-packages/bokeh/util/compiler.py", line 156, in _run_nodejs
return _run(_nodejs_path(), argv, input)
File "/usr/local/lib/python2.7/dist-packages/bokeh/util/compiler.py", line 151, in _run
raise RuntimeError(errout)
RuntimeError: /usr/local/lib/python2.7/dist-packages/bokeh/server/static/js/compiler.js:44
let { line, character: column } = diagnostic.file.getLineAndCharacterOfPosition(diagnostic.start);
^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
2017-09-03 00:15:30,662 500 GET /bokehgui (::1) 88.01ms
^C
Interrupted, shutting down
Exiting the simulation. Stopping Bokeh Server
from gr-bokehgui.
Yes. That is because the Waterfall plot in this module is a "custom models" (not provided by Bokeh). Thanks for the reminder. I will add it in CMake and README.
I guess I will create a virtual machine to re-setup the module.
from gr-bokehgui.
I just updated the previous comment with my error after installing node.js.
from gr-bokehgui.
@777arc Please use NodeJS v6.6 or above. The default Ubuntu package manager installs v4.8.
Updated the details on README. Thank you.
from gr-bokehgui.
It looks like start-server.sh is still missing. Are you sure that commit got pushed?
from gr-bokehgui.
@MattEttus It's fine without that. I changed the function itself at that time.
For now, I am closing this issue. Kindly re-check and if you find the issue still there, I will re-open the issue.
Thanks.
from gr-bokehgui.
Related Issues (20)
- Providing a default layout for the plot arrangements
- Add a BER sink
- Add a Histogram sink HOT 1
- Operation relies on deprecated event loop HOT 9
- Unable to serve bokeh document HOT 4
- tutorial.grc displayed unsuccessfully on the web page ("SyntaxError: Unexpected identifier") HOT 2
- gnuradio 3.9 requirements should be mentioned in the readme file HOT 10
- GrSwig missing in during cmake HOT 23
- Assertion len placement failed HOT 6
- Frequency sink plot can't show in mobile web client HOT 5
- possible dependency issues between bokeh 1.4->nodejs->python3? HOT 5
- AttributeError: module 'bokehgui' has no attribute 'BokehLayout' HOT 3
- Attribute Error HOT 6
- ss is replacing netstat HOT 2
- AttributeError: 'gnuradio.gr.gr_python.top_block_pb' object has no attribute 'doc' HOT 4
- Refreshing page causes endless loop and crashes HOT 3
- Choppy waterfall display HOT 1
- AttributeError: 'gnuradio.gr.gr_python.top_block_pb' object has no attribute 'plot_lst' HOT 2
- Gui config HOT 11
- Does not support Bokeh 3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gr-bokehgui.