webcontainer-core
webcontainer-core copied to clipboard
python does not work
Describe the bug
❯ python main.py [<?>.wasm-function[ZN13rustpython_vm8builtins4dict94$LT$impl$u20$rustpython_vm..object..core..Py$LT$rustpython_vm..builtins..dict..PyDict$GT$$GT$9get_chain17h08f6c1608329ab6cE]@[wasm code]
>.wasm-function[_ZN13rustpython_vm5frame14ExecutingFrame3run17hd7f97db414f79d78E]@[wasm code] >.wasm-function[_ZN13rustpython_vm2vm14VirtualMachine14with_recursion17h5615ac5ed05b578fE]@[wasm code] >.wasm-function[_ZN13rustpython_vm8builtins8function10PyFunction18invoke_with_locals17h896b7b2bbc728b4bE]@[wasm code] >.wasm-function[_ZN13rustpython_vm5types4slot8Callable9slot_call17h0e11959f11a50133E]@[wasm code] >.wasm-function[_ZN13rustpython_vm8protocol8callable10PyCallable6invoke17h7522ed80b084678fE]@[wasm code] >.wasm-function[_ZN13rustpython_vm8protocol8callable55_$LT$impl$u20$rustpython_vm..object..core..PyObject$GT$14call_with_args17h8c529486f022ebccE]@[wasm code] >.wasm-function[_ZN13rustpython_vm5frame14ExecutingFrame3run17hd7f97db414f79d78E]@[wasm code] >.wasm-function[_ZN13rustpython_vm2vm14VirtualMachine14with_recursion17h5615ac5ed05b578fE]@[wasm code] >.wasm-function[_ZN13rustpython_vm8builtins8function10PyFunction18invoke_with_locals17h896b7b2bbc728b4bE]@[wasm code] >.wasm-function[_ZN13rustpython_vm5types4slot8Callable9slot_call17h0e11959f11a50133E]@[wasm code] >.wasm-function[_ZN13rustpython_vm8protocol8callable10PyCallable6invoke17h7522ed80b084678fE]@[wasm code] >.wasm-function[_ZN13rustpython_vm8protocol8callable55_$LT$impl$u20$rustpython_vm..object..core..PyObject$GT$14call_with_args17h8c529486f022ebccE]@[wasm code]]~/projects/secret-python-cuubgm ❯
Link to the blitz that caused the error
https://stackblitz.com/edit/secret-python-cuubgm?file=main.py&title=Python%20Starter
Steps to reproduce
type python main.py in terminal
Expected behavior
should print a message specified in main.py
Parity with Local
- [X] I have run the project in my local machine and I could not reproduce the issue.
Screenshots
No response
Platform
Browser name = Safari
Full version = 16.5.2
Major version = 16
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5.2 Safari/605.1.15
performance.memory = undefined
Hash = 6f234770
Additional context
No response
Hey @tsreddy-dr ! :wave:
I think you might need to update Safari. It's working for me: