Comments (9)
@DonJayamanne sorry for the delay regarding your last message and congrats for your new position 👍
from vscode-python.
@DonJayamanne you can find above the information you needed and let me know if there is something missing
from vscode-python.
After some tests, I found that it happens when I try to use my python interpreter defined in my virtual environment, and also when I use a postgres database below is another log when I try to use my python virtual environment in a simple test
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [/home/johndoe/.vscode/extensions/ms-vscode.cpptools-0.14.2]: La commande 'workbench.action.gotoSymbol' apparaît plusieurs fois dans la section 'commands'.
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [/home/johndoe/.vscode/extensions/ms-vscode.cpptools-0.14.2]: La commande 'workbench.action.showAllSymbols' apparaît plusieurs fois dans la section 'commands'.
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] vscode-icons is active!
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 Linter pylint is not installed
e.doShow @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] rejected promise not handled within 1 second
t.log @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:10 spawn ctags ENOENT : Error: spawn ctags ENOENT
at exports._errnoException (util.js:1050:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
e.onUnexpectedError @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:10
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] rejected promise not handled within 1 second
t.log @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:10 [ms-python.python] Invalid selection : Error: Invalid selection
at Installer.<anonymous> (/home/johndoe/.vscode/extensions/ms-python.python-0.8.0/out/client/common/installer.js:243:27)
at Generator.next (<anonymous>)
at fulfilled (/home/johndoe/.vscode/extensions/ms-python.python-0.8.0/out/client/common/installer.js:4:58)
at <anonymous>
e.onUnexpectedError @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:10
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] activating extension
index.js:5 [uncaught exception]: Error: read ECONNRESET
onError @ index.js:5
index.js:5 Error: read ECONNRESET
at exports._errnoException (util.js:1050:11)
at Pipe.onread (net.js:581:26)
onError @ index.js:5
events.js:163 Uncaught Error: read ECONNRESET
at exports._errnoException (util.js:1050:11)
at Pipe.onread (net.js:581:26)
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:10 TypeError: Cannot read property 'Threads' of null
at PythonDebugger.threadsRequest (/home/johndoe/.vscode/extensions/ms-python.python-0.8.0/out/client/debugger/Main.js:365:27)
at PythonDebugger.DebugSession.dispatchRequest (/home/johndoe/.vscode/extensions/ms-python.python-0.8.0/node_modules/vscode-debugadapter/lib/debugSession.js:439:22)
at PythonDebugger.ProtocolServer._handleData (/home/johndoe/.vscode/extensions/ms-python.python-0.8.0/node_modules/vscode-debugadapter/lib/protocol.js:104:38)
at Socket.<anonymous> (/home/johndoe/.vscode/extensions/ms-python.python-0.8.0/node_modules/vscode-debugadapter/lib/protocol.js:24:60)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at readableAddChunk (_stream_readable.js:178:18)
at Socket.Readable.push (_stream_readable.js:136:10)
at Pipe.onread (net.js:560:20) : Error: TypeError: Cannot read property 'Threads' of null
at PythonDebugger.threadsRequest (/home/johndoe/.vscode/extensions/ms-python.python-0.8.0/out/client/debugger/Main.js:365:27)
at PythonDebugger.DebugSession.dispatchRequest (/home/johndoe/.vscode/extensions/ms-python.python-0.8.0/node_modules/vscode-debugadapter/lib/debugSession.js:439:22)
at PythonDebugger.ProtocolServer._handleData (/home/johndoe/.vscode/extensions/ms-python.python-0.8.0/node_modules/vscode-debugadapter/lib/protocol.js:104:38)
at Socket.<anonymous> (/home/johndoe/.vscode/extensions/ms-python.python-0.8.0/node_modules/vscode-debugadapter/lib/protocol.js:24:60)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at readableAddChunk (_stream_readable.js:178:18)
at Socket.Readable.push (_stream_readable.js:136:10)
at Pipe.onread (net.js:560:20)
at file:///usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9:2490403
at Object.v [as _notify] (file:///usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9:63266)
at Object.enter (file:///usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9:66540)
at n.Class.derive._oncancel._run (file:///usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9:67861)
at n.Class.derive._oncancel._error (file:///usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9:67378)
at file:///usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9:2127980
at _.e.dispatch (file:///usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9:2129331)
at _.e.handleData (file:///usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9:2128839)
at Socket.<anonymous> (file:///usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9:2127840)
at emitOne (events.js:96:13)
e.onUnexpectedError @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:10
console.ts:123 [Extension Host] (node:10586) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
t.log @ console.ts:123
t._logExtensionHostMessage @ extensionHost.ts:377
(anonymous) @ extensionHost.ts:202
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
from vscode-python.
@thynquest is this still an issue for you, @thynquest ?
from vscode-python.
Hello
Yes this is still an issue for me. last time I checked, when I launched the debug mode I get a segmentation fault. meanwhile I have switched to ipdb (which is not that comfortable btw)
Thank you
from vscode-python.
@thynquest
Please could you try debugging using the experimental debugger.
All you should really have to do is go into launch.json
and change the setting "type"="python"
to "type"="pythonExperimental"
from vscode-python.
Hello DonJayamanne and sorry for the delay
I tried the python exprerimental and it does work. what is the difference with this option compared with the previous one ?
Anyway I'll keep doing some tests to make sure it works well and I will let you know if anything comes up
Thank you for your help
from vscode-python.
from vscode-python.
@thynquest the experimental debugger is PTVSD 4 while the "normal" debugger is PTVSD 3. Since PTVSD 4 is still in alpha we have not made it the default yet, but once it's stable we will be switching versions.
from vscode-python.
Related Issues (20)
- duplicate entries when creating a new venv HOT 5
- Update how the Python "extension pack" is published HOT 6
- `=` and all following contents discarded from `.env` environment variables HOT 4
- Shift-enter should not move cursor to end of line HOT 4
- Testing pane should allow running correctly collected tests (even if pytest discovery partially failed)
- Test that Hatch environments are discovered and activated HOT 3
- pytest-rerunfailures prompts that the port is occupied when tasking
- Create Custom Python REPL (Interactive Interpreter) HOT 1
- Remove tensorboard functionality from the Python extension
- ignore
- Test suite execution error on imports that use shared filenames with the pythonFiles>unittestadapter directory HOT 1
- Create Python Extension's Notebook Controller HOT 1
- Running tests via test explorer breaks when getcwd is mocked HOT 5
- python extension errors during a JSON parse HOT 6
- [Remote] Automatic Virtual Env does not work with fish shell (automatic shell integration not working) HOT 7
- asdf interpreter cannot be selected HOT 2
- If automatic shell integration is failing to activate environment, recommend users to do manual installation
- Test pyenv environments are autoselected HOT 5
- Test pipenv environments are autoselected HOT 3
- Test poetry environments are autoselected HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-python.