-
Notifications
You must be signed in to change notification settings - Fork 892
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Given the simple notebook below, I can run it without errors with marimo edit --sandbox script.py,
but if I leverage the new sandbox feature on the entire folder folder (marimo edit --sandbox .) I got this error:
choose a number:
Traceback (most recent call last):
File "C:\Users\aghensi\AppData\Local\Temp\marimo-sandbox-yrsrxb0b\venv\Lib\site-packages\marimo\_runtime\executor.py", line 138, in execute_cell
exec(cell.body, glbls)
File "C:\Users\aghensi\AppData\Local\Temp\marimo_46000\__marimo__cell_WBPv_.py", line 1, in <module>
number = int(input("choose a number:"))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aghensi\AppData\Local\Temp\marimo-sandbox-yrsrxb0b\venv\Lib\site-packages\marimo\_runtime\input_override.py", line 11, in input_override
return sys.stdin._readline_with_prompt(prompt) # type: ignore[attr-defined, no-any-return, union-attr] # noqa: E501
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aghensi\AppData\Local\Temp\marimo-sandbox-yrsrxb0b\venv\Lib\site-packages\marimo\_messaging\streams.py", line 392, in _readline_with_prompt
return self._stream.input_queue.get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aghensi\AppData\Local\Temp\marimo-sandbox-yrsrxb0b\venv\Lib\site-packages\marimo\_ipc\queue_proxy.py", line 52, in get
raise NotImplementedError(msg)
NotImplementedError: PushQueue does not support get operations
not sure what is going on here, I'll refrain from using the folder sandbox feature for now...
Will you submit a PR?
- Yes
Environment
Details
{
"marimo": "0.19.6",
"editable": false,
"location": "C:/Users/aghensi/AppData/Roaming/uv/tools/marimo/Lib/site-packages/marimo",
"OS": "Windows",
"OS Version": "11",
"Processor": "Intel64 Family 6 Model 170 Stepping 4, GenuineIntel",
"Python Version": "3.13.2",
"Locale": "it_IT",
"Binaries": {
"Browser": "139.0.7258.128",
"Node": "v22.14.0"
},
"Dependencies": {
"click": "8.3.1",
"docutils": "0.22.4",
"itsdangerous": "2.2.0",
"jedi": "0.19.2",
"markdown": "3.10.1",
"narwhals": "2.15.0",
"packaging": "26.0",
"psutil": "7.2.1",
"pygments": "2.19.2",
"pymdown-extensions": "10.20.1",
"pyyaml": "6.0.3",
"starlette": "0.52.1",
"tomlkit": "0.14.0",
"typing-extensions": "missing",
"uvicorn": "0.40.0",
"websockets": "16.0"
},
"Optional Dependencies": {
"loro": "1.10.3"
},
"Experimental Flags": {}
}
Code to reproduce
# /// script
# dependencies = ["marimo"]
# requires-python = ">=3.13"
# ///
import marimo
__generated_with = "0.19.6"
app = marimo.App(width="medium")
@app.cell
def _():
input("test")
return
if __name__ == "__main__":
app.run()Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working