{"action":"created","issue":{"url":"https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/601","repository_url":"https://api.github.com/repos/DonJayamanne/pythonVSCode","labels_url":"https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/601/labels{/name}","comments_url":"https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/601/comments","events_url":"https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/601/events","html_url":"https://github.com/DonJayamanne/pythonVSCode/issues/601","id":197419004,"number":601,"title":"Autocompletion Stopped Working After Upgrading to Python 3.6","user":{"login":"moigagoo","id":1045340,"avatar_url":"https://avatars.githubusercontent.com/u/1045340?v=3","gravatar_id":"","url":"https://api.github.com/users/moigagoo","html_url":"https://github.com/moigagoo","followers_url":"https://api.github.com/users/moigagoo/followers","following_url":"https://api.github.com/users/moigagoo/following{/other_user}","gists_url":"https://api.github.com/users/moigagoo/gists{/gist_id}","starred_url":"https://api.github.com/users/moigagoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moigagoo/subscriptions","organizations_url":"https://api.github.com/users/moigagoo/orgs","repos_url":"https://api.github.com/users/moigagoo/repos","events_url":"https://api.github.com/users/moigagoo/events{/privacy}","received_events_url":"https://api.github.com/users/moigagoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-23T19:46:36Z","updated_at":"2016-12-31T15:16:10Z","closed_at":null,"body":"## Environment data\r\nVS Code version:  1.9.0-insider\r\nPython Extension version:  0.5.5\r\nPython Version:  3.6.0\r\nOS and version:  Windows 10, build 14986\r\nYour settings.json:   \r\n```json\r\n// Place your settings in this file to overwrite default and user settings.\r\n{\r\n    \"python.pythonPath\": \"C:\\\\Users\\\\moigagoo\\\\path\\\\to\\\\my_project\\\\.venv\\\\Scripts\\\\python.exe\"\r\n}\r\n```\r\n## Logs\r\nOutput from ```Python``` output panel  \r\n```\r\n##########Linting Output - pylint##########\r\n************* Module namer\r\n40,0,error,E0401:Unable to import 'yaml'\r\n44,0,convention,C0111:Missing function docstring\r\n52,0,convention,C0111:Missing function docstring\r\n54,61,error,E1101:Module 're' has no 'MULTILINE' member\r\n61,0,convention,C0111:Missing function docstring\r\n65,0,convention,C0111:Missing function docstring\r\n68,0,convention,C0111:Missing function docstring\r\n78,4,convention,C0111:Missing function docstring\r\n85,27,convention,C0321:More than one statement on a single line\r\n95,0,convention,C0111:Missing function docstring\r\n\r\nNo config file found, using default configuration\r\n\r\n```   \r\nOutput from ```Console window``` (Help->Developer Tools menu)\r\n```\r\nextensionHost.ts:293 [Extension Host] Error (stderr) Traceback (most recent call last):\r\n  File \"preview\\jedi\\parser\\__init__.py\", line 56, in load_grammar\r\n    return _loaded_grammars[path]\r\nKeyError: 'preview\\\\jedi\\\\parser\\\\grammar3.6.txt'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"completion.py\", line 404, in watch\r\n    self._process_request(self._input.readline())\r\n  File \"completion.py\", line 374, in _process_request\r\n    column=request['column'], path=request.get('path', ''))\r\n  File \"preview\\jedi\\api\\__init__.py\", line 130, in __init__\r\n    self._grammar = load_grammar(version='%s.%s' % sys.version_info[:2])\r\n  File \"preview\\jedi\\parser\\__init__.py\", line 58, in load_grammar\r\n    return _loaded_grammars.setdefault(path, generate_grammar(path))\r\n  File \"preview\\jedi\\parser\\pgen2\\pgen.py\", line 393, in generate_grammar\r\n    p = ParserGenerator(filename)\r\n  File \"preview\\jedi\\parser\\pgen2\\pgen.py\", line 18, in __init__\r\n    stream = open(filename)\r\nFileNotFoundError: [Errno 2] No such file or directory: 'preview\\\\jedi\\\\parser\\\\grammar3.6.txt'\r\n\r\n```\r\n\r\n## Actual behavior\r\nAutocompletion doesn't work, no suggestions are shown after \".\", installed modules are not detected, not existing errors are highlighted (\"[pylint] E1101:Module 're' has no 'MULTILINE' member\").\r\n\r\n## Expected  behavior\r\nAutocompletion and suggestions should work the same way as with python 3.5.2, modules from the current virtualenv should be importable, no false positives should be reported.\r\n\r\n## Steps to reproduce:  \r\n-  Install Python 3.6 (I did with `scoop install python`, the same way as always)\r\n-  Open any Python file and hit Ctrl+S to invoke jedi and pylint.\r\n"},"comment":{"url":"https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/comments/269869258","html_url":"https://github.com/DonJayamanne/pythonVSCode/issues/601#issuecomment-269869258","issue_url":"https://api.github.com/repos/DonJayamanne/pythonVSCode/issues/601","id":269869258,"user":{"login":"moigagoo","id":1045340,"avatar_url":"https://avatars.githubusercontent.com/u/1045340?v=3","gravatar_id":"","url":"https://api.github.com/users/moigagoo","html_url":"https://github.com/moigagoo","followers_url":"https://api.github.com/users/moigagoo/followers","following_url":"https://api.github.com/users/moigagoo/following{/other_user}","gists_url":"https://api.github.com/users/moigagoo/gists{/gist_id}","starred_url":"https://api.github.com/users/moigagoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moigagoo/subscriptions","organizations_url":"https://api.github.com/users/moigagoo/orgs","repos_url":"https://api.github.com/users/moigagoo/repos","events_url":"https://api.github.com/users/moigagoo/events{/privacy}","received_events_url":"https://api.github.com/users/moigagoo/received_events","type":"User","site_admin":false},"created_at":"2016-12-31T15:16:10Z","updated_at":"2016-12-31T15:16:10Z","body":"The Pylint issue I mentioned in the original report can't be solved or worked around so far—Pylint officially doesn't support Python 3.6 yet: https://github.com/PyCQA/pylint/issues/1241\r\n\r\nI just disabled Pylint and enabled Flake8 instead."}}
{"actor":{"display_login":"moigagoo"}}