You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
%%py
from pathlib import Path
p = Path('/')
l = [str(pe) for pe in p.glob('*')]
l
So does this
%%py
Path('/')
But the following fails. The Pyodide console reports an array of 5 elements but when expanded, returns this error:
A value renderer encountered an error.
TypeError: Cannot read property 'childItems' of null
%%py
from pathlib import Path
p = Path('/')
l = list(p.glob('*'))
l
What I Expected
List of PosixPath objects (their repr() specifically).
What Happened
explanation, imgs. etc.
(if applicable) notebook that reproduces bug
link to the notebook that reproduces the bug. the smaller the better. you may wish to use https://definitely-staging.iodide.io/ (our staging environment, deploys from master) for creating/sharing the notebook.
The text was updated successfully, but these errors were encountered:
Encountered online at alpha.iodide.io
What I Did
This works works as expected.
So does this
But the following fails. The Pyodide console reports an array of 5 elements but when expanded, returns this error:
A value renderer encountered an error.
TypeError: Cannot read property 'childItems' of null
What I Expected
List of PosixPath objects (their repr() specifically).
What Happened
explanation, imgs. etc.
(if applicable) notebook that reproduces bug
link to the notebook that reproduces the bug. the smaller the better. you may wish to use https://definitely-staging.iodide.io/ (our staging environment, deploys from master) for creating/sharing the notebook.
The text was updated successfully, but these errors were encountered: