Skip to content

[v2] Python Extension - Interactive Window not working #929

Closed
@lukasmasuch

Description

@lukasmasuch

Description

The Python Interactive feature (uses Jupyter to run Python code) does not seem to work with the v2 code-server version. When trying to run any script in interactive mode, the window will stay blank, and the Starting Jupyter server indicator in the status bar will remain there indefinitely:

image

This feature is working with the v1 version of code-server (same machine, settings, versions, configuration).

I tried to gather a few more insights to help solve the issue:

  • The Jupyter notebook server process is never created in v2 (for v1 the process is started)
  • The last log message in the developer tools console is Getting jupyter server options...
    image
  • The index_bundle.js under this url path /webview/vscode-resource/root/.vscode/extensions/ms-python.python-2019.6.24221/out/datascience-ui/history-react/index_bundle.js returns Not Found (in v1 the correct script is returned). However, the service worker seems to be able to load a valid script.
  • I wasn't able to find any specific errors in the logs that seems to be related to this issue, but here are some other errors that appear:
    image
    image
    image

Steps to Reproduce

  1. Start code server (preview 9)
  2. Install VSCode Python Extension
  3. Create python script and select Run Current File in Python Interactive Window

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions