-
Notifications
You must be signed in to change notification settings - Fork 1.5k
py-editor
shows error in 2024.5.1
#2056
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
py-editor
shows error in 12024.5.1
py-editor
shows error in 2024.5.1
JFI the error is gone if it's run twice. |
@JeffersGlass thank you so much for reporting this! I can reproduce this on Firefox with MicroPython. On Firefox with Pyodide I see this error instead (when clicking the "run" button):
@WebReflection - any ideas? |
live on npm as:
The issue was silly (my bad) but luckily easy to solve and spot. Thanks a lot for the report, apologies for the missing integration test without config. |
Bravo @WebReflection - I've just checked out the |
* Fix #2056 - Provide a default empty config per editor env * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Try the following:
You will get an error
If you use
mpy-editor
, a slightly different error occurs:Note that in both cases, "Hello!" prints successfully.
Maybe something related to trying to load a non-existent config?
This does not occur with PyScript 2024.4.2.
The text was updated successfully, but these errors were encountered: