When I'm trying to use Jupyter component liteMode=true and pass python code for execution to Output component I got an error of pyodide with error message
Traceback (most recent call last):
File "/lib/python311.zip/_pyodide/_base.py", line 573, in eval_code_async
await CodeRunner(
File "/lib/python311.zip/_pyodide/_base.py", line 395, in run_async
await coroutine
File "<exec>", line 6, in <module>
NameError: name 'false' is not defined
script has an unsupported MIME type ('text/html').
pyodide.asm.js:9 Loading micropip, packaging
pyodide.asm.js:9 Loading micropip, packaging
pyodide.asm.js:9 Loaded micropip, packaging
pyodide.asm.js:9 Loaded micropip, packaging
kernel.js:40 Uncaught (in promise) PythonError: Traceback (most recent call last):
File "/lib/python311.zip/_pyodide/_base.py", line 573, in eval_code_async
await CodeRunner(
File "/lib/python311.zip/_pyodide/_base.py", line 395, in run_async
await coroutine
File "<exec>", line 6, in <module>
NameError: name 'false' is not defined
Description
When I'm trying to use
Jupyter
componentliteMode=true
and pass python code for execution toOutput
component I got an error ofpyodide
with error messageReproduce
Simplified version of my code
Steps to reproduce
Initialization works fine
I execute code by incrementing
executeTrigger
When I set
code
value to something likeexecution also doesn't return any error
But when I set
code
valueI got pyodide error
NameError: name 'false' is not defined
plt
package is imported earlierBrowser logs data
then