Skip to content

Python extension not loading correctly #2290

@dschartman

Description

@dschartman

I'm experiencing weird loading behavior of the python extension in code server 3.6.2 and 3.6.1. Basically, the extension doesn't load at all. However, if I pull up the developer console, the extension loads after refresh.

Steps to reproduce

  1. Spin up code server

     if [ -d .local ]; then
         rm -rf .local
     fi
    
     mkdir .local && chmod 777 .local
     docker run -it --rm -v ${PWD}/.local:/home/coder/.local -p 80:8080 codercom/code-server:3.6.2 --auth none --log trace
    
  2. Go to localhost

  3. Install python extension

  4. Create and open test.py file

  5. Refresh page and confirm extension does not load

  6. Open the developer console (F12)

  7. Refresh page and confirm exension loads

Here is a screenshot of what I see after step 5:
image

After step 7:
image

Thanks in advance!

  • Web Browser: Chromium
  • Local OS: Win10 host / Debian 10 buster VM
  • Remote OS: codercom/code-server:3.6.2 container and debian VM
  • Remote Architecture: x86_64
  • code-server --version: 3.6.2 and 3.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions