Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code analysis sometimes never finishes, eats up one processor core #2291

Closed
xobs opened this issue Aug 1, 2018 · 1 comment
Closed

Code analysis sometimes never finishes, eats up one processor core #2291

xobs opened this issue Aug 1, 2018 · 1 comment

Comments

@xobs
Copy link

xobs commented Aug 1, 2018

Environment data

  • VS Code version: 1.25.1
  • Extension version (available under the Extensions sidebar): 2018.7.1
  • OS and version: Windows 10 x64 1803
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 (from Chocolatey)
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: My project at https://github.com/xobs/netv2-fpga

Actual behavior

The program occasionally gets stuck at "Analyzing workspace, 475 items remaining...". My machine gets very slow while this is happening. I have let this process run for hours, and it never finishes.

It doesn't always happen, but it might be related to network switching. For example, I left a VSCode window open overnight, and noticed this happening when I opened my machine this morning.

Expected behavior

It shouldn't take forver to analyze.

Steps to reproduce:

  1. Open a project

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

Starting Microsoft Python language server.
Downloading https://pvsc.blob.core.windows.net/python-language-server/Python-Language-Server-win-x64.0.1.18204.3.nupkg... complete.Unpacking archive... done.
[Info  - 4:22:39 PM] Created Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter instance from Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory
Initializing for C:\Python37\python.exe
Loading files from c:\Users\smcro\Documents\Code\NeTV\netv2-fpga
##########Linting Output - pylint##########

------------------------------------

Your code has been rated at 10.00/10



##########Linting Output - pylint##########
************* Module netv2mvp
277,0,error,E0102:class already defined line 16
321,8,error,E1101:Instance of 'CRG' has no 'specials' member
372,8,error,E1101:Instance of 'CRG' has no 'specials' member
396,8,error,E1101:Instance of 'BaseSoC' has no 'comb' member
420,8,error,E1101:Instance of 'BaseSoC' has no 'comb' member
421,8,error,E1101:Instance of 'BaseSoC' has no 'comb' member
426,8,error,E1101:Instance of 'BaseSoC' has no 'sync' member
427,8,error,E1101:Instance of 'BaseSoC' has no 'comb' member
437,8,error,E1101:Instance of 'I2Csnoop' has no 'specials' member
450,8,error,E1101:Instance of 'I2Csnoop' has no 'comb' member
485,8,error,E1101:Instance of 'HDCP' has no 'specials' member
533,8,error,E1101:Instance of 'RectOpening' has no 'sync' member
554,8,error,E1101:Instance of 'RectOpening' has no 'comb' member
576,16,error,E1101:Instance of 'TimingDelayRGB' has no 'sync' member
578,12,error,E1101:Instance of 'TimingDelayRGB' has no 'comb' member
574,16,warning,W0612:Unused variable 'i'
612,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
613,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
614,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
640,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
641,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
642,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
645,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
655,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'sync' member
666,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
670,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
671,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
679,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
736,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
740,26,error,E1101:Instance of 'VideoOverlaySoC' has no 'sync' member
749,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
752,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
772,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
773,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
774,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
777,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'specials' member
778,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'sync' member
787,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
790,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
791,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
792,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
794,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
824,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
833,12,error,E1101:Instance of 'VideoOverlaySoC' has no 'sync' member
842,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'sync' member
851,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
852,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
853,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
855,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'sync' member
869,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
870,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
872,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
883,12,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
886,12,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
887,12,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
897,12,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
900,12,error,E1101:Instance of 'VideoOverlaySoC' has no 'clock_domains' member; maybe '_clock_domains'?
901,12,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
905,12,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
924,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
925,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
929,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
931,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
933,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'comb' member
968,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'submodules' member; maybe '_submodules'?
975,8,error,E1101:Instance of 'VideoOverlaySoC' has no 'sync' member
608,8,warning,W0612:Unused variable 'pix_freq'
829,12,warning,W0612:Unused variable 'i'
13,0,warning,W0614:Unused import DUID from wildcard import
13,0,warning,W0614:Unused import wrap from wildcard import
13,0,warning,W0614:Unused import Mux from wildcard import
13,0,warning,W0614:Unused import Replicate from wildcard import
13,0,warning,W0614:Unused import Constant from wildcard import
13,0,warning,W0614:Unused import C from wildcard import
13,0,warning,W0614:Unused import Case from wildcard import
13,0,warning,W0614:Unused import Array from wildcard import
13,0,warning,W0614:Unused import SPECIAL_INPUT from wildcard import
13,0,warning,W0614:Unused import SPECIAL_OUTPUT from wildcard import
13,0,warning,W0614:Unused import SPECIAL_INOUT from wildcard import
13,0,warning,W0614:Unused import collections from wildcard import
13,0,warning,W0614:Unused import FinalizeError from wildcard import
13,0,warning,W0614:Unused import combinations from wildcard import
13,0,warning,W0614:Unused import flat_iteration from wildcard import
13,0,warning,W0614:Unused import rename_clock_domain from wildcard import
13,0,warning,W0614:Unused import Special from wildcard import
13,0,warning,W0614:Unused import Tristate from wildcard import
13,0,warning,W0614:Unused import TSTriple from wildcard import
13,0,warning,W0614:Unused import READ_FIRST from wildcard import
13,0,warning,W0614:Unused import WRITE_FIRST from wildcard import
13,0,warning,W0614:Unused import NO_CHANGE from wildcard import
13,0,warning,W0614:Unused import Memory from wildcard import
13,0,warning,W0614:Unused import itemgetter from wildcard import
13,0,warning,W0614:Unused import bits_for from wildcard import
13,0,warning,W0614:Unused import value_bits_sign from wildcard import
13,0,warning,W0614:Unused import list_targets from wildcard import
13,0,warning,W0614:Unused import list_inputs from wildcard import
13,0,warning,W0614:Unused import group_by_targets from wildcard import
13,0,warning,W0614:Unused import list_special_ios from wildcard import
13,0,warning,W0614:Unused import list_clock_domains_expr from wildcard import
13,0,warning,W0614:Unused import list_clock_domains from wildcard import
13,0,warning,W0614:Unused import is_variable from wildcard import
13,0,warning,W0614:Unused import generate_reset from wildcard import
13,0,warning,W0614:Unused import insert_reset from wildcard import
13,0,warning,W0614:Unused import insert_resets from wildcard import
13,0,warning,W0614:Unused import lower_basics from wildcard import
13,0,warning,W0614:Unused import lower_complex_slices from wildcard import
13,0,warning,W0614:Unused import rename_clock_domain_expr from wildcard import
13,0,warning,W0614:Unused import call_special_classmethod from wildcard import
13,0,warning,W0614:Unused import lower_specials from wildcard import
13,0,warning,W0614:Unused import NodeVisitor from wildcard import
13,0,warning,W0614:Unused import NodeTransformer from wildcard import
13,0,warning,W0614:Unused import get_obj_var_name from wildcard import
13,0,warning,W0614:Unused import verilog_printexpr from wildcard import
13,0,warning,W0614:Unused import log2_int from wildcard import
13,0,warning,W0614:Unused import f from wildcard import
13,0,warning,W0614:Unused import ModuleTransformer from wildcard import
13,0,warning,W0614:Unused import ControlInserter from wildcard import
13,0,warning,W0614:Unused import CEInserter from wildcard import
13,0,warning,W0614:Unused import ResetInserter from wildcard import
13,0,warning,W0614:Unused import FullMemoryWE from wildcard import
13,0,warning,W0614:Unused import MemoryToArray from wildcard import
13,0,warning,W0614:Unused import SplitMemory from wildcard import
13,0,warning,W0614:Unused import gcd_multiple from wildcard import
13,0,warning,W0614:Unused import Simulator from wildcard import
13,0,warning,W0614:Unused import run_simulation from wildcard import
13,0,warning,W0614:Unused import passive from wildcard import
13,0,warning,W0614:Unused import DIR_NONE from wildcard import
13,0,warning,W0614:Unused import DIR_S_TO_M from wildcard import
13,0,warning,W0614:Unused import DIR_M_TO_S from wildcard import
13,0,warning,W0614:Unused import set_layout_parameters from wildcard import
13,0,warning,W0614:Unused import layout_len from wildcard import
13,0,warning,W0614:Unused import layout_get from wildcard import
13,0,warning,W0614:Unused import layout_partial from wildcard import
13,0,warning,W0614:Unused import Record from wildcard import
13,0,warning,W0614:Unused import reduce from wildcard import
13,0,warning,W0614:Unused import or_ from wildcard import
13,0,warning,W0614:Unused import AnonymousState from wildcard import
13,0,warning,W0614:Unused import NextState from wildcard import
13,0,warning,W0614:Unused import NextValue from wildcard import
13,0,warning,W0614:Unused import FSM from wildcard import
13,0,warning,W0614:Unused import OrderedDict from wildcard import
16,0,warning,W0614:Unused import ConstraintError from wildcard import
16,0,warning,W0614:Unused import Drive from wildcard import
16,0,warning,W0614:Unused import PlatformInfo from wildcard import
16,0,warning,W0614:Unused import ConnectorManager from wildcard import
16,0,warning,W0614:Unused import ConstraintManager from wildcard import
16,0,warning,W0614:Unused import GenericPlatform from wildcard import
16,0,warning,W0614:Unused import verilog from wildcard import
16,0,warning,W0614:Unused import tools from wildcard import
19,0,warning,W0614:Unused import ControllerInjector from wildcard import
19,0,warning,W0614:Unused import soc_sdram_args from wildcard import
19,0,warning,W0614:Unused import soc_sdram_argdict from wildcard import
19,0,warning,W0614:Unused import wishbone from wildcard import
19,0,warning,W0614:Unused import inspect from wildcard import
19,0,warning,W0614:Unused import version from wildcard import
19,0,warning,W0614:Unused import mem_decoder from wildcard import
19,0,warning,W0614:Unused import ReadOnlyDict from wildcard import
19,0,warning,W0614:Unused import SoCCore from wildcard import
19,0,warning,W0614:Unused import soc_core_args from wildcard import
19,0,warning,W0614:Unused import soc_core_argdict from wildcard import
19,0,warning,W0614:Unused import identifier from wildcard import
19,0,warning,W0614:Unused import timer from wildcard import
19,0,warning,W0614:Unused import uart from wildcard import
19,0,warning,W0614:Unused import lm32 from wildcard import
19,0,warning,W0614:Unused import mor1kx from wildcard import
19,0,warning,W0614:Unused import picorv32 from wildcard import
19,0,warning,W0614:Unused import vexriscv from wildcard import
19,0,warning,W0614:Unused import csr_bus from wildcard import
19,0,warning,W0614:Unused import wishbone2csr from wildcard import
19,0,warning,W0614:Unused import crossbar from wildcard import
19,0,warning,W0614:Unused import LiteDRAMWishboneBridge from wildcard import
19,0,warning,W0614:Unused import dfii from wildcard import
19,0,warning,W0614:Unused import core from wildcard import
20,0,warning,W0614:Unused import subprocess from wildcard import
20,0,warning,W0614:Unused import struct from wildcard import
20,0,warning,W0614:Unused import shutil from wildcard import
20,0,warning,W0614:Unused import soc_software_packages from wildcard import
20,0,warning,W0614:Unused import soc_directory from wildcard import
20,0,warning,W0614:Unused import builder_args from wildcard import
20,0,warning,W0614:Unused import builder_argdict from wildcard import
20,0,warning,W0614:Unused import write_to_file from wildcard import
20,0,warning,W0614:Unused import cpu_interface from wildcard import
20,0,warning,W0614:Unused import soc_sdram from wildcard import
20,0,warning,W0614:Unused import sdram_init from wildcard import
31,0,warning,W0614:Unused import frame_parameter_layout from wildcard import
31,0,warning,W0614:Unused import frame_dma_layout from wildcard import
31,0,warning,W0614:Unused import color_bar_parameter_layout from wildcard import
31,0,warning,W0614:Unused import video_out_layout from wildcard import
31,0,warning,W0614:Unused import phy_layout from wildcard import
35,0,warning,W0614:Unused import CSRConstant from wildcard import
35,0,warning,W0614:Unused import CSR from wildcard import
35,0,warning,W0614:Unused import csrprefix from wildcard import
35,0,warning,W0614:Unused import memprefix from wildcard import
35,0,warning,W0614:Unused import GenericBank from wildcard import
35,0,warning,W0614:Unused import xdir from wildcard import
37,0,warning,W0614:Unused import reverse_bytes from wildcard import
37,0,warning,W0614:Unused import Port from wildcard import
37,0,warning,W0614:Unused import eth_mtu from wildcard import
37,0,warning,W0614:Unused import eth_min_len from wildcard import
37,0,warning,W0614:Unused import eth_interpacket_gap from wildcard import
37,0,warning,W0614:Unused import eth_preamble from wildcard import
37,0,warning,W0614:Unused import buffer_depth from wildcard import
37,0,warning,W0614:Unused import ethernet_type_ip from wildcard import
37,0,warning,W0614:Unused import ethernet_type_arp from wildcard import
37,0,warning,W0614:Unused import mac_header_length from wildcard import
37,0,warning,W0614:Unused import mac_header_fields from wildcard import
37,0,warning,W0614:Unused import mac_header from wildcard import
37,0,warning,W0614:Unused import arp_hwtype_ethernet from wildcard import
37,0,warning,W0614:Unused import arp_proto_ip from wildcard import
37,0,warning,W0614:Unused import arp_opcode_request from wildcard import
37,0,warning,W0614:Unused import arp_opcode_reply from wildcard import
37,0,warning,W0614:Unused import arp_header_length from wildcard import
37,0,warning,W0614:Unused import arp_header_fields from wildcard import
37,0,warning,W0614:Unused import arp_header from wildcard import
37,0,warning,W0614:Unused import ipv4_header_length from wildcard import
37,0,warning,W0614:Unused import ipv4_header_fields from wildcard import
37,0,warning,W0614:Unused import ipv4_header from wildcard import
37,0,warning,W0614:Unused import icmp_protocol from wildcard import
37,0,warning,W0614:Unused import icmp_header_length from wildcard import
37,0,warning,W0614:Unused import icmp_header_fields from wildcard import
37,0,warning,W0614:Unused import icmp_header from wildcard import
37,0,warning,W0614:Unused import udp_protocol from wildcard import
37,0,warning,W0614:Unused import udp_header_length from wildcard import
37,0,warning,W0614:Unused import udp_header_fields from wildcard import
37,0,warning,W0614:Unused import udp_header from wildcard import
37,0,warning,W0614:Unused import etherbone_magic from wildcard import
37,0,warning,W0614:Unused import etherbone_version from wildcard import
37,0,warning,W0614:Unused import etherbone_packet_header_length from wildcard import
37,0,warning,W0614:Unused import etherbone_packet_header_fields from wildcard import
37,0,warning,W0614:Unused import etherbone_packet_header from wildcard import
37,0,warning,W0614:Unused import etherbone_record_header_length from wildcard import
37,0,warning,W0614:Unused import etherbone_record_header_fields from wildcard import
37,0,warning,W0614:Unused import etherbone_record_header from wildcard import
37,0,warning,W0614:Unused import eth_phy_description from wildcard import
37,0,warning,W0614:Unused import eth_mac_description from wildcard import
37,0,warning,W0614:Unused import eth_arp_description from wildcard import
37,0,warning,W0614:Unused import arp_table_request_layout from wildcard import
37,0,warning,W0614:Unused import arp_table_response_layout from wildcard import
37,0,warning,W0614:Unused import eth_ipv4_description from wildcard import
37,0,warning,W0614:Unused import eth_ipv4_user_description from wildcard import
37,0,warning,W0614:Unused import eth_icmp_description from wildcard import
37,0,warning,W0614:Unused import eth_icmp_user_description from wildcard import
37,0,warning,W0614:Unused import eth_udp_description from wildcard import
37,0,warning,W0614:Unused import eth_udp_user_description from wildcard import
37,0,warning,W0614:Unused import eth_etherbone_packet_description from wildcard import
37,0,warning,W0614:Unused import eth_etherbone_packet_user_description from wildcard import
37,0,warning,W0614:Unused import eth_etherbone_record_description from wildcard import
37,0,warning,W0614:Unused import eth_etherbone_mmap_description from wildcard import
37,0,warning,W0614:Unused import eth_tty_description from wildcard import
37,0,warning,W0614:Unused import ceil from wildcard import
37,0,warning,W0614:Unused import EndpointDescription from wildcard import
37,0,warning,W0614:Unused import Header from wildcard import
37,0,warning,W0614:Unused import HeaderField from wildcard import

--------------------------------------------------------------------

Your code has been rated at -6.39/10 (previous run: -6.31/10, -0.08)



[Error - 4:24:23 PM] Request textDocument/completion failed.
  Message: Start and End must be well ordered
  Code: -32000 
[object Object]

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)

/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1375  INFO no standard startup: panel is active
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host]% Object
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
29/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1376   ERR Cannot read property 'map' of null: TypeError: Cannot read property 'map' of null
	at asCompletionResult (C:\Users\smcro\.vscode\extensions\ms-python.python-2018.7.1\node_modules\vscode-languageclient\lib\protocolConverter.js:145:50)
	at <anonymous>
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270 [Extension Host] Error: Traceback (most recent call last):
  File "C:\Users\smcro\.vscode\extensions\ms-python.python-2018.7.1\pythonFiles\normalizeForInterpreter.py", line 122, in <module>
    normalize_lines(contents)
  File "C:\Users\smcro\.vscode\extensions\ms-python.python-2018.7.1\pythonFiles\normalizeForInterpreter.py", line 103, in normalize_lines
    global_statement_ranges = _get_global_statement_blocks(source, lines)
  File "C:\Users\smcro\.vscode\extensions\ms-python.python-2018.7.1\pythonFiles\normalizeForInterpreter.py", line 45, in _get_global_statement_blocks
    tree = ast.parse(source)
  File "C:\Python37\lib\ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 1
    print(lxbuildenv doesn't )
    ^
IndentationError: unexpected indent

	at ChildProcess.proc.once (C:\Users\smcro\.vscode\extensions\ms-python.python-2018.7.1\out\client\common\process\proc.js:114:33)
	at Object.onceWrapper (events.js:293:19)
	at emitTwo (events.js:106:13)
	at ChildProcess.emit (events.js:194:7)
	at maybeClose (internal/child_process.js:899:16)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) Python: Failed to normalize code for execution in terminal
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:270
2/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1376   ERR Cannot read property 'map' of null: TypeError: Cannot read property 'map' of null
	at asCompletionResult (C:\Users\smcro\.vscode\extensions\ms-python.python-2018.7.1\node_modules\vscode-languageclient\lib\protocolConverter.js:145:50)
	at <anonymous>
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2364 Formatter autopep8 is not installed. Install?
e.onDidNotificationChange @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2364
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1376   ERR Cannot read property 'map' of null: TypeError: Cannot read property 'map' of null
	at asCompletionResult (C:\Users\smcro\.vscode\extensions\ms-python.python-2018.7.1\node_modules\vscode-languageclient\lib\protocolConverter.js:145:50)
	at <anonymous>
marketplace.visualstudio.com/_apis/public/gallery/extensionquery Failed to load resource: net::ERR_NETWORK_CHANGED
@brettcannon
Copy link
Member

Duplicate of #2297

@brettcannon brettcannon marked this as a duplicate of #2297 Aug 1, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Aug 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants