Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Running python code without debugging only works once #242

Closed
@b-hahn

Description

@b-hahn

Environment data

VS Code version: 1.18
Python Extension version: 0.8.0
Python Version: 2.7.14
OS and version: Ubuntu 14.04

Actual behavior

As mentioned in my comments in #58 , I can only run the 'Start without Debugging' command once, after which I can neither re-run in debug or non-debug mode unless I restart VS Code.

Steps to reproduce:

  • Occurs for any python file on my computer, i.e. simply press F5 or Ctrl-F5.

Logs

Output from Python output panel
Nothing related to the problem.

Output from Console window (Help->Developer Tools menu)

[Extension Host] rejected promise not handled within 1 second        console.ts:123
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
 
spawn ctags ENOENT: Error: spawn ctags ENOENT                          shell.ts:459
	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 @ shell.ts:459
(anonymous) @ shell.ts:419
e.onUnexpectedError @ errors.ts:119
o @ errors.ts:138
e.$onUnexpectedError @ mainThreadErrors.ts:26
e.invoke @ abstractThreadService.ts:41
e._invokeHandler @ rpcProtocol.ts:109
e._receiveOneMessage @ rpcProtocol.ts:96
(anonymous) @ rpcProtocol.ts:32
(anonymous) @ rpcProtocol.ts:157
e.invoke @ callbackList.ts:36
e.fire @ event.ts:123
(anonymous) @ ipc.net.ts:82
emitOne @ events.js:96
emit @ events.js:191
readableAddChunk @ _stream_readable.js:178
Readable.push @ _stream_readable.js:136
onread @ net.js:560
console.ts:123 [Extension Host] activating extension

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions