question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Symbol.asyncIterator is not defined

See original GitHub issue

Installed Bokeh 1.4.0 using “pip3 install bokeh” using Python 3.6.8 on Linux Mint 19.1.

Trying to use Latex-Labels as in the example from the extension gallery, I get the following error message:

Compilation failed:

TypeError: Symbol.asyncIterator is not defined.
    at __asyncValues (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:149:19)
    at /usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:168:36
    at Generator.next (<anonymous>:null:null)
    at /usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:144:75
    at new Promise (<anonymous>:null:null)
    at __awaiter (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:130:16)
    at read_stdin (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:162:16)
    at /usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:205:48
    at Generator.next (<anonymous>:null:null)
    at /usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:144:75
    at new Promise (<anonymous>:null:null)
    at __awaiter (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:130:16)
    at compile (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:194:16)
    at /usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:244:33
    at Generator.next (<anonymous>:null:null)
    at /usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:144:75
    at new Promise (<anonymous>:null:null)
    at __awaiter (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:130:16)
    at main (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:211:16)
    at Object._ (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:252:5)
    at require (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:88:23)
    at P (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:96:16)
    at /usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:126:1
    at parent_require (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:32:19)
    at Object.<anonymous> (/usr/local/lib/python3.6/dist-packages/bokeh/server/static/js/compiler.js:33:3)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kassbohmcommented, Nov 20, 2019

Have installed node v12.13.1 now following these instructions. And Latex-Labels work fine now with Bokeh 1.4.0. Thanks again.

0reactions
mattpapcommented, Nov 19, 2019

I will leave this open until PR #9430 is merged.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Symbol.asyncIterator is not defined. #24454 - GitHub
TypeScript Version: 3.0.0-dev.201 version 2.8.3 Search Terms: Code async function* geoJSON(mapConfigurations: DirectionsRequest ) ...
Read more >
Using javascript's Symbol.asyncIterator with for await of loop
I create an empty object a and insert a key Symbol.asyncIterator on the same object and assign it a function named test that...
Read more >
Symbol.asyncIterator - JavaScript - MDN Web Docs
The Symbol.asyncIterator symbol is a builtin symbol that is used to access an object's @@asyncIterator method. In order for an object to be ......
Read more >
JavaScript Symbol.asyncIterator Property - GeeksforGeeks
An async iterable object is any object that returns a function which produces an AsyncIterator for its Symbol.asyncIterator property.
Read more >
Async iteration and generators - The Modern JavaScript Tutorial
iterator , not Symbol.asyncIterator . It's also the case for for..of : the syntax without await needs Symbol.iterator .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found