Issue Description:
When using the Interactive Python Window in Cursor, I can successfully create and run cells using the “Run Cell” functionality. However, when attempting to execute code directly in the REPL input bar at the bottom of the interactive window, I receive the error:
“notebook controller with id ‘pythonREPL’ ALREADY exist”
Would appreciate any guidance on resolving this issue or if there are any known workarounds. Thanks!
Steps to Reproduce
Steps to Reproduce:
Open a Python file with cell markers (#%%)
Successfully run a cell using the “Run Cell” button
Try to execute code in the REPL input bar at the bottom of the interactive window
Error occurs: “notebook controller with id ‘pythonREPL’ ALREADY exist”
NB: f you press the arrow to the left of the bar it works, however pressing “enter” on the keyboard results in the error
In the recording, I first press enter three times producing the error and then click on the arrow.
Expected Behavior
Expected Behavior:
Should be able to execute code both in cells and in the REPL input bar
Similar functionality works correctly in VS Code
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
I get the same error when trying to input something into the input field in the interactive window more than one time. After the first time, I got this error:
Extension 'ms-python.python' CANNOT use API proposal: notebookVariableProvider. Its package.json#enabledApiProposals-property declares: contribEditorContentMenu, quickPickSortByLabel, portsAttributes, testObserver, quickPickItemTooltip, terminalDataWriteEvent, terminalExecuteCommandEvent, notebookReplDocument but NOT notebookVariableProvider. The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-python.python. Note that the cursor and control proposals are only available for built-in extensions
A fix for this would be great! I’ve heard that forks of VSCode (like Cursor) can have issues with Microsoft extensions because they are not open-source themselves (although VSCode is), but hopefully this one is doable.
same here, issue persists with version 1.1.6 and i get the following error when typing any code in the interactive window and pressing enter (weirdly no issues when selecting code and sending it to interactive)
notebook controller with id 'pythonREPL' ALREADY exist
Extension 'ms-python.python' CANNOT use API proposal: notebookVariableProvider.
Its package.json#enabledApiProposals-property declares: contribEditorContentMenu, quickPickSortByLabel, portsAttributes, testObserver, quickPickItemTooltip, terminalDataWriteEvent, terminalExecuteCommandEvent, notebookReplDocument but NOT notebookVariableProvider.
The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-python.python. Note that the cursor and control proposals are only available for built-in extensions