question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

python extension

See original GitHub issue

Description

When I start code-server and open a python file everything seems to work ok but there are quite a few errors shown in JS console. See the attached log file. This may not be much of an issue as the main things I want to use seem to work. Still seemed worth reporting errors however.

code-server-python-extension.log

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
vnijscommented, Oct 30, 2019

@code-asher Thanks for the detailed reply!

manifest.json is viewable, directly from the URL. Not sure what the “syntax error” is about: image

I’m also seeing some errors related to settings.json in vscode on macOS so not likely codeserver related then.

I’m not seeing anything for editor.worker.js. I checked the path it was referencing but see no such file. I see two issues that mention this file (links below) but I have no idea if they are really relevant here.

https://github.com/microsoft/vscode-python/issues/6762 https://github.com/microsoft/vscode-python/issues/7417

@davezhouwa I tried setting some breakpoints and, as far as I can tell, it seems to be working. See screenshot

image

0reactions
code-ashercommented, Nov 14, 2019

Ah so to continue I just skipped that line when self.caches isn’t available. I’m not sure this fixes all extension issues on HTTP but it does seem to fix some at least.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python - Visual Studio Marketplace
The Microsoft Python Extension for Visual Studio Code collects usage data and sends it to Microsoft to help improve our products and services....
Read more >
2. Defining Extension Types: Tutorial — Python 3.11.1 ...
Python allows the writer of a C extension module to define new types that can be manipulated from Python code, much like the...
Read more >
Python Shell
A Python shell for Chrome. You can use Python Shell to test Python code or as a learning tool. It is a complete...
Read more >
Python - Extension Programming with C - Tutorialspoint
A Python extension module is nothing more than a normal C library. On Unix machines, these libraries usually end in .so (for shared...
Read more >
Building a Python C Extension Module
In this tutorial, you'll learn how to write Python interfaces in C. Find out how to invoke C functions from within Python and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found