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

Intellisense and pylint don't work at all #719

Closed
nautilus7 opened this issue Feb 6, 2018 · 20 comments
Closed

Intellisense and pylint don't work at all #719

nautilus7 opened this issue Feb 6, 2018 · 20 comments
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. area-linting bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@nautilus7
Copy link

nautilus7 commented Feb 6, 2018

Environment data

VS Code version: 1.20.0-Insider
Python Extension version: 2018.1
Python Version: 2.7.14 (64bit)
OS and version: Windows 10 Education x64 (Creator's Fall Update)

Actual behavior

I am unable to make python intellisense and linting to work on vscode. I have tried all possible fixes and suggestions around without any success. I attach a picture, which provides many additional info about my setup.

vscode_pylint

The file shown opened in the photo is located in C:\Users\Σπύρος\Documents\enigma2\lib\python\Screens\Hotkey.py.

While I have included the required python modules in the autoComplete.extraPaths variable, pylint throws errors about not being able to find enigma module.

In addition, intellisense doesn't work. When I right-click on a class/module and select "peak definition", it shows nothing. Autocomplete doesn't work as well, even for os module. Same for all other modules. The folders shown in the bottom right explorer windows contain all required modules. Each sub folder contains an empty __init__ file to tell python that it contains modules.

The python version and pylint version are displayed in the upper right corner in the cmd window. Both are in windows PATH.

What I noticed some days ago, when I tried different solutions, was that if I move the whole project folder to somewhere else (e.g. C:), I was able to make intellisense to work. So there must be something wrong with the files being located inside C:\User\Σπύρος\... because of the Greek letters being used. But this worked only for autocomplete. Pylint didn't work in this case either.

Expected behavior

Steps to reproduce:

Logs

Click to expand (Output from ```Python``` output panel ) ```##########Linting Output - pylint########## No config file found, using default configuration ************* Module Screens.Hotkey 13,0,error,E0401:Unable to import 'enigma' 18,10,error,E0602:Undefined variable '_' 18,27,error,E0602:Undefined variable '_' 19,3,error,E0602:Undefined variable '_' 19,22,error,E0602:Undefined variable '_' 20,3,error,E0602:Undefined variable '_' 20,23,error,E0602:Undefined variable '_' 21,3,error,E0602:Undefined variable '_' 21,21,error,E0602:Undefined variable '_' 23,16,error,E0602:Undefined variable '_' 25,16,error,E0602:Undefined variable '_' 27,16,error,E0602:Undefined variable '_' 28,3,error,E0602:Undefined variable '_' 29,3,error,E0602:Undefined variable '_' 30,3,error,E0602:Undefined variable '_' 31,3,error,E0602:Undefined variable '_' 34,19,error,E0602:Undefined variable '_' 36,16,error,E0602:Undefined variable '_' 38,17,error,E0602:Undefined variable '_' 41,18,error,E0602:Undefined variable '_' 45,24,error,E0602:Undefined variable '_' 47,26,error,E0602:Undefined variable '_' 49,25,error,E0602:Undefined variable '_' 52,23,error,E0602:Undefined variable '_' 61,22,error,E0602:Undefined variable '_' 63,23,error,E0602:Undefined variable '_' 77,19,error,E0602:Undefined variable '_' 81,20,error,E0602:Undefined variable '_' 84,34,error,E0602:Undefined variable '_' 86,19,error,E0602:Undefined variable '_' 88,21,error,E0602:Undefined variable '_' 90,24,error,E0602:Undefined variable '_' 93,19,error,E0602:Undefined variable '_' 95,20,error,E0602:Undefined variable '_' 97,19,error,E0602:Undefined variable '_' 99,23,error,E0602:Undefined variable '_' 101,24,error,E0602:Undefined variable '_' 132,25,error,E0602:Undefined variable '_' 133,25,error,E0602:Undefined variable '_' 134,25,error,E0602:Undefined variable '_' 135,25,error,E0602:Undefined variable '_' 136,25,error,E0602:Undefined variable '_' 137,25,error,E0602:Undefined variable '_' 138,25,error,E0602:Undefined variable '_' 139,25,error,E0602:Undefined variable '_' 140,25,error,E0602:Undefined variable '_' 141,25,error,E0602:Undefined variable '_' 142,25,error,E0602:Undefined variable '_' 143,25,error,E0602:Undefined variable '_' 144,25,error,E0602:Undefined variable '_' 145,25,error,E0602:Undefined variable '_' 146,25,error,E0602:Undefined variable '_' 147,25,error,E0602:Undefined variable '_' 148,25,error,E0602:Undefined variable '_' 149,25,error,E0602:Undefined variable '_' 150,25,error,E0602:Undefined variable '_' 151,25,error,E0602:Undefined variable '_' 152,25,error,E0602:Undefined variable '_' 153,25,error,E0602:Undefined variable '_' 154,25,error,E0602:Undefined variable '_' 155,25,error,E0602:Undefined variable '_' 156,25,error,E0602:Undefined variable '_' 157,25,error,E0602:Undefined variable '_' 158,25,error,E0602:Undefined variable '_' 159,25,error,E0602:Undefined variable '_' 160,25,error,E0602:Undefined variable '_' 161,25,error,E0602:Undefined variable '_' 162,25,error,E0602:Undefined variable '_' 163,25,error,E0602:Undefined variable '_' 164,25,error,E0602:Undefined variable '_' 165,25,error,E0602:Undefined variable '_' 166,25,error,E0602:Undefined variable '_' 168,26,error,E0602:Undefined variable '_' 169,26,error,E0602:Undefined variable '_' 170,26,error,E0602:Undefined variable '_' 171,26,error,E0602:Undefined variable '_' 172,25,error,E0602:Undefined variable '_' 173,25,error,E0602:Undefined variable '_' 175,26,error,E0602:Undefined variable '_' 176,25,error,E0602:Undefined variable '_' 177,25,error,E0602:Undefined variable '_' 179,26,error,E0602:Undefined variable '_' 180,26,error,E0602:Undefined variable '_' 182,26,error,E0602:Undefined variable '_' 183,25,error,E0602:Undefined variable '_' 184,25,error,E0602:Undefined variable '_' 185,25,error,E0602:Undefined variable '_' 186,25,error,E0602:Undefined variable '_' 187,25,error,E0602:Undefined variable '_' 188,25,error,E0602:Undefined variable '_' 189,25,error,E0602:Undefined variable '_' 192,25,error,E0602:Undefined variable '_' 193,25,error,E0602:Undefined variable '_' 194,25,error,E0602:Undefined variable '_' 195,25,error,E0602:Undefined variable '_' 196,25,error,E0602:Undefined variable '_' 203,25,error,E0602:Undefined variable '_' 204,25,error,E0602:Undefined variable '_' 205,25,error,E0602:Undefined variable '_' 206,25,error,E0602:Undefined variable '_' 207,25,error,E0602:Undefined variable '_' 208,25,error,E0602:Undefined variable '_' 209,25,error,E0602:Undefined variable '_' 210,25,error,E0602:Undefined variable '_' 211,25,error,E0602:Undefined variable '_' 212,25,error,E0602:Undefined variable '_' 213,25,error,E0602:Undefined variable '_' 214,25,error,E0602:Undefined variable '_' 216,53,error,E1101:Instance of 'tuple' has no 'endswith' member 218,27,error,E0602:Undefined variable '_' 222,27,error,E0602:Undefined variable '_' 229,16,error,E0602:Undefined variable '_' 230,31,error,E0602:Undefined variable '_' 301,67,error,E0602:Undefined variable '_' 309,47,error,E0602:Undefined variable '_' 311,47,error,E0602:Undefined variable '_' 323,16,error,E0602:Undefined variable '_' 324,31,error,E0602:Undefined variable '_' 325,33,error,E0602:Undefined variable '_' 337,51,error,E0602:Undefined variable '_' 339,51,error,E0602:Undefined variable '_' 346,30,error,E0602:Undefined variable '_' 391,64,error,E0602:Undefined variable '_' 392,64,error,E0602:Undefined variable '_' 402,30,error,E0602:Undefined variable '_' 413,30,error,E0602:Undefined variable '_' 441,80,error,E0602:Undefined variable '_' 444,80,error,E0602:Undefined variable '_' 501,66,error,E0602:Undefined variable '_' 531,2,error,E1137:'self' does not support item assignment 535,222,error,E1101:Instance of 'InfoBarHotkey' has no 'timeshiftActivated' member 541,22,error,E0602:Undefined variable '_' 543,22,error,E0602:Undefined variable '_' 557,10,error,E0602:Undefined variable '_' 567,3,error,E1101:Instance of 'InfoBarHotkey' has no 'session' member 567,61,error,E0602:Undefined variable '_' 584,7,error,E1101:Instance of 'InfoBarHotkey' has no 'runPlugin' member 596,7,error,E1101:Instance of 'InfoBarHotkey' has no 'runPlugin' member 602,6,error,E1101:Instance of 'InfoBarHotkey' has no 'runPlugin' member 614,5,error,E1601:print statement used 617,4,error,E1101:Instance of 'InfoBarHotkey' has no 'session' member 619,4,error,E1609:Import * only allowed at module level 623,5,error,E1101:Instance of 'InfoBarHotkey' has no 'servicelist' member 624,5,error,E1101:Instance of 'InfoBarHotkey' has no 'pipShown' member 624,25,error,E1101:Instance of 'InfoBarHotkey' has no 'showPiP' member 625,4,error,E1101:Instance of 'InfoBarHotkey' has no 'servicelist' member 626,4,error,E1101:Instance of 'InfoBarHotkey' has no 'servicelist' member 629,5,error,E1101:Instance of 'InfoBarHotkey' has no 'close' member 631,5,error,E1101:Instance of 'InfoBarHotkey' has no 'show' member 639,5,error,E0611:No name 'PPanel' in module 'Plugins.Extensions' 639,5,error,E0401:Unable to import 'Plugins.Extensions.PPanel.ppanel' 640,5,error,E1101:Instance of 'InfoBarHotkey' has no 'session' member 645,6,error,E0401:Unable to import 'enigma' 649,6,error,E1101:Instance of 'InfoBarHotkey' has no 'session' member 658,21,error,E1101:Instance of 'InfoBarHotkey' has no 'session' member 619,4,warning,W0612:Unused variable 'ConfigNothing' 619,4,warning,W0612:Unused variable 'StaticText' 619,4,warning,W0612:Unused variable 'Label' 619,4,warning,W0612:Unused variable 'setupfile' 619,4,warning,W0612:Unused variable 'xml' 619,4,warning,W0612:Unused variable 'ConfigListScreen' 619,4,warning,W0612:Unused variable 'getConfigMenuItem' 619,4,warning,W0612:Unused variable 'SetupSummary' 619,4,warning,W0612:Unused variable 'eEnv' 619,4,warning,W0612:Unused variable 'Setup' 619,4,warning,W0612:Unused variable 'setupdom' 619,4,warning,W0612:Unused variable 'getSetupTitle' 619,4,warning,W0612:Unused variable 'NumberActionMap' 619,4,warning,W0612:Unused variable 'SetupError' 619,4,warning,W0612:Unused variable 'Screen' 658,7,warning,W0612:Unused variable 'menu_screen' 663,3,error,E1101:Instance of 'InfoBarHotkey' has no 'openServiceList' member 665,3,error,E1101:Instance of 'InfoBarHotkey' has no 'showMovies' member Traceback (most recent call last): File "c:\program files\python27\lib\runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "c:\program files\python27\lib\runpy.py", line 72, in _run_code exec code in run_globals File "C:\Program Files\Python27\Scripts\pylint.exe\__main__.py", line 9, in File "c:\program files\python27\lib\site-packages\pylint\__init__.py", line 16, in run_pylint Run(sys.argv[1:]) File "c:\program files\python27\lib\site-packages\pylint\lint.py", line 1347, in __init__ linter.check(args) File "c:\program files\python27\lib\site-packages\pylint\lint.py", line 768, in check self._do_check(files_or_modules) File "c:\program files\python27\lib\site-packages\pylint\lint.py", line 901, in _do_check self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers) File "c:\program files\python27\lib\site-packages\pylint\lint.py", line 980, in check_astroid_module walker.walk(ast_node) File "c:\program files\python27\lib\site-packages\pylint\utils.py", line 1016, in walk cb(astroid) File "c:\program files\python27\lib\site-packages\pylint\checkers\imports.py", line 443, in leave_module std_imports, ext_imports, loc_imports = self._check_imports_order(node) File "c:\program files\python27\lib\site-packages\pylint\checkers\imports.py", line 590, in _check_imports_order known_standard_library=self.config.known_standard_library, File "c:\program files\python27\lib\site-packages\isort\isort.py", line 64, in __init__ self.config = settings.from_path(settings_path).copy() File "c:\program files\python27\lib\site-packages\isort\pie_slice.py", line 333, in wrapper result = user_function(*args, **kwds) File "c:\program files\python27\lib\site-packages\isort\settings.py", line 146, in from_path _update_settings_with_config(path, '.editorconfig', '~/.editorconfig', ('*', '*.py', '**.py'), computed_settings) File "c:\program files\python27\lib\site-packages\isort\settings.py", line 154, in _update_settings_with_config editor_config_file = default and os.path.expanduser(default) File "c:\program files\python27\lib\ntpath.py", line 311, in expanduser return userhome + path[i:] UnicodeDecodeError: 'utf8' codec can't decode byte 0xd3 in position 9: invalid continuation byte ```
Click to expand (Output from ```Console window``` (Help->Developer Tools menu)) ```/C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321 Error: Failed opening file C:\Users\Σπύρος\AppData\Roaming\Code - Insiders\logs\20180217T125350\renderer1.log for writing: No such file or directory at RotatingLogger (C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules\spdlog\index.js:16:3) at Object.t.createSpdLogService (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321:145) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:4736:9 at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:4736:246 at Object.V [as startup] (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:4737:810) at file:///C:/Program%20Files/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/workbench/electron-browser/bootstrap/index.js:10:553 at t.createSpdLogService @ /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1313 ERR Error: Failed opening file c:\Users\Σπύρος\AppData\Roaming\Code - Insiders\logs\20180217T125350\output_1_20180217T125352\tasks.log for writing: No such file or directory at RotatingLogger (C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules\spdlog\index.js:16:3) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2944:617) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:886) at e._createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1294:289) at e.createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1293:560) at t.instantiateChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2952:211) at t.createChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2951:336) at t.onDidRegisterChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2950:830) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2949:615) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:886) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1313 ERR Error: Failed opening file c:\Users\Σπύρος\AppData\Roaming\Code - Insiders\logs\20180217T125350\output_1_20180217T125352\extensions.log for writing: No such file or directory at RotatingLogger (C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules\spdlog\index.js:16:3) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2944:617) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:886) at e._createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1294:289) at e.createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1293:560) at t.instantiateChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2952:211) at t.createChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2951:336) at t.onDidRegisterChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2950:830) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2949:615) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:886) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:4220 [C:\Users\Σπύρος\.vscode-insiders\extensions\ms-vscode.cpptools-0.15.0]: Command `workbench.action.gotoSymbol` appears multiple times in the `commands` section. /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:4220 [C:\Users\Σπύρος\.vscode-insiders\extensions\ms-vscode.cpptools-0.15.0]: Command `workbench.action.showAllSymbols` appears multiple times in the `commands` section. /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1416 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for xmlTools.formatXml e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1416 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1416 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for xmlTools.evaluateXPath e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1416 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:257 [Extension Host] Error: Failed opening file C:\Users\Σπύρος\AppData\Roaming\Code - Insiders\logs\20180217T125350\exthost1.log for writing: No such file or directory at RotatingLogger (c:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules\spdlog\index.js:16:3) at Object.t.createSpdLogService (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:405:666) at new t (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:456:21) at new t (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:706:139) at c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:712:480 at (at Object.t.createSpdLogService (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:405:751)) t.log @ /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:257 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1313 ERR Error: Failed opening file c:\Users\Σπύρος\AppData\Roaming\Code - Insiders\logs\20180217T125350\output_1_20180217T125352\extension-output-#1.log for writing: No such file or directory at RotatingLogger (C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules\spdlog\index.js:16:3) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2944:617) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:886) at e._createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1294:289) at e.createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1293:560) at t.instantiateChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2952:211) at t.createChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2951:336) at t.onDidRegisterChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2950:830) at e.fire (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:165:44) at e.registerChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2378:837) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1313 ERR Error: Failed opening file c:\Users\Σπύρος\AppData\Roaming\Code - Insiders\logs\20180217T125350\output_1_20180217T125352\extension-output-#2.log for writing: No such file or directory at RotatingLogger (C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules\spdlog\index.js:16:3) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2944:617) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:886) at e._createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1294:289) at e.createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1293:560) at t.instantiateChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2952:211) at t.createChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2951:336) at t.onDidRegisterChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2950:830) at e.fire (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:165:44) at e.registerChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2378:837) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:257 [Extension Host] Python Extension: Failed to get conda info from conda null (at Console.originalConsole.(anonymous function) [as error] (c:\Program Files\Microsoft VS Code Insiders\resources\app\extensions\git\node_modules\diagnostic-channel-publishers\dist\src\console.pub.js:42:39)) t.log @ /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:257
</details>
@elliott-beach
Copy link

Can you make pylint work without errors from the command line?

I don't believe python.autoComplete.extraPaths relates to pylint. Those paths are for libraries to search for definitions of methods during intellisense (from reading https://donjayamanne.github.io/pythonVSCodeDocs/docs/autocomplete/).

@nautilus7
Copy link
Author

nautilus7 commented Feb 8, 2018

Well, I wrote that intellisense doesn't work either.
Pylint seem to work when I run it directly to that file:

C:\Users\Σπύρος\Documents\enigma2\lib\python\Screens>pylint Hotkey.py

Click to expand (output from terminal)> No config file found, using default configuration ************* Module Screens.Hotkey W: 18, 0: Found indentation with tabs instead of spaces (mixed-indentation) C: 19, 0: Wrong continued indentation (add 7 spaces). (_("Green") + " " + _("long"), "green_long", ""), ^ | (bad-continuation) C: 20, 0: Wrong continued indentation (add 7 spaces). (_("Yellow") + " " + _("long"), "yellow_long", ""), ^ | (bad-continuation) C: 21, 0: Wrong continued indentation (add 7 spaces). (_("Blue") + " " + _("long"), "blue_long", "SoftcamSetup"), ^ | (bad-continuation) C: 22, 0: Wrong continued indentation (add 7 spaces). ("F1/LAN", "f1", ""), ^ | (bad-continuation) C: 23, 0: Wrong continued indentation (add 7 spaces). ("F1" + " " + _("long"), "f1_long", ""), ^ | (bad-continuation) C: 24, 0: Wrong continued indentation (add 7 spaces). ("F2", "f2", ""), ^ | (bad-continuation) C: 25, 0: Wrong continued indentation (add 7 spaces). ("F2" + " " + _("long"), "f2_long", ""), ^ | (bad-continuation) C: 26, 0: Wrong continued indentation (add 7 spaces). ("F3", "f3", ""), ^ | (bad-continuation) C: 27, 0: Wrong continued indentation (add 7 spaces). ("F3" + " " + _("long"), "f3_long", ""), ^ | (bad-continuation) C: 28, 0: Wrong continued indentation (add 7 spaces). (_("Red"), "red", ""), ^ | (bad-continuation) C: 29, 0: Wrong continued indentation (add 7 spaces). (_("Green"), "green", ""), ^ | (bad-continuation) C: 30, 0: Wrong continued indentation (add 7 spaces). (_("Yellow"), "yellow", ""), ^ | (bad-continuation) C: 31, 0: Wrong continued indentation (add 7 spaces). (_("Blue"), "blue", ""), ^ | (bad-continuation) C: 32, 0: Wrong continued indentation (add 7 spaces). ("Rec", "rec", ""), ^ | (bad-continuation) C: 33, 0: Wrong continued indentation (add 7 spaces). ("Radio", "radio", ""), ^ | (bad-continuation) C: 34, 0: Wrong continued indentation (add 7 spaces). ("Radio" + " " + _("long"), "radio_long", ""), ^ | (bad-continuation) C: 35, 0: Wrong continued indentation (add 7 spaces). ("TV", "showTv", ""), ^ | (bad-continuation) C: 36, 0: Wrong continued indentation (add 7 spaces). ("TV" + " " + _("long"), "showTv_long", SystemInfo["LcdLiveTV"] and "Infobar/ToggleLCDLiveTV" or ""), ^ | (bad-continuation) C: 36, 0: Line too long (103/100) (line-too-long) C: 37, 0: Wrong continued indentation (add 7 spaces). ("TV2", "toggleTvRadio", ""), ^ | (bad-continuation) C: 38, 0: Wrong continued indentation (add 7 spaces). ("TV2" + " " + _("long"), "toggleTvRadio_long", SystemInfo["LcdLiveTV"] and "Infobar/ToggleLCDLiveTV" or ""), ^ | (bad-continuation) C: 38, 0: Line too long (111/100) (line-too-long) C: 39, 0: Wrong continued indentation (add 7 spaces). ("Teletext", "text", ""), ^ | (bad-continuation) C: 40, 0: Wrong continued indentation (add 7 spaces). ("Help", "displayHelp", ""), ^ | (bad-continuation) C: 41, 0: Wrong continued indentation (add 7 spaces). ("Help" + " " + _("long"), "displayHelp_long", ""), ^ | (bad-continuation) C: 42, 0: Wrong continued indentation (add 7 spaces). ("Subtitle", "subtitle", ""), ^ | (bad-continuation) C: 43, 0: Wrong continued indentation (add 7 spaces). ("Menu", "mainMenu", ""), ^ | (bad-continuation) C: 44, 0: Wrong continued indentation (add 7 spaces). ("Info (EPG)", "info", "Infobar/openEventView"), ^ | (bad-continuation) C: 45, 0: Wrong continued indentation (add 7 spaces). ("Info (EPG)" + " " + _("long"), "info_long", "Infobar/showEventInfoPlugins"), ^ | (bad-continuation) C: 46, 0: Wrong continued indentation (add 7 spaces). ("List/Fav/PVR", "list", ""), ^ | (bad-continuation) C: 47, 0: Wrong continued indentation (add 7 spaces). ("List/Fav/PVR" + " " + _("long"), "list_long", "Plugins/Extensions/Kodi/1"), ^ | (bad-continuation) C: 48, 0: Wrong continued indentation (add 7 spaces). ("Back/Recall", "back", ""), ^ | (bad-continuation) C: 49, 0: Wrong continued indentation (add 7 spaces). ("Back/Recall" + " " + _("long"), "back_long", ""), ^ | (bad-continuation) C: 50, 0: Wrong continued indentation (add 7 spaces). ("End", "end", ""), ^ | (bad-continuation) C: 51, 0: Wrong continued indentation (add 7 spaces). ("Epg/Guide", "epg", "Plugins/Extensions/GraphMultiEPG/1"), ^ | (bad-continuation) C: 52, 0: Wrong continued indentation (add 7 spaces). ("Epg/Guide" + " " + _("long"), "epg_long", "Infobar/showEventInfoPlugins"), ^ | (bad-continuation) C: 53, 0: Wrong continued indentation (add 7 spaces). ("Left", "cross_left", ""), ^ | (bad-continuation) C: 54, 0: Wrong continued indentation (add 7 spaces). ("Right", "cross_right", ""), ^ | (bad-continuation) C: 55, 0: Wrong continued indentation (add 7 spaces). ("Up", "cross_up", ""), ^ | (bad-continuation) C: 56, 0: Wrong continued indentation (add 7 spaces). ("Down", "cross_down", ""), ^ | (bad-continuation) C: 57, 0: Wrong continued indentation (add 7 spaces). ("Ok", "ok", ""), ^ | (bad-continuation) C: 58, 0: Wrong continued indentation (add 7 spaces). ("Channel up", "channelup", ""), ^ | (bad-continuation) C: 59, 0: Wrong continued indentation (add 7 spaces). ("Channel down", "channeldown", ""), ^ | (bad-continuation) C: 60, 0: Wrong continued indentation (add 7 spaces). ("Page up", "pageUp", ""), ^ | (bad-continuation) C: 61, 0: Wrong continued indentation (add 7 spaces). ("Page up" + " " + _("long"), "pageUp_long", ""), ^ | (bad-continuation) C: 62, 0: Wrong continued indentation (add 7 spaces). ("Page down", "pageDown", ""), ^ | (bad-continuation) C: 63, 0: Wrong continued indentation (add 7 spaces). ("Page down" + " " + _("long"), "pageDown_long", ""), ^ | (bad-continuation) C: 64, 0: Wrong continued indentation (add 7 spaces). ("Next", "next", ""), ^ | (bad-continuation) C: 65, 0: Wrong continued indentation (add 7 spaces). ("Previous", "previous", ""), ^ | (bad-continuation) C: 66, 0: Wrong continued indentation (add 7 spaces). ("Audio", "audio", ""), ^ | (bad-continuation) C: 67, 0: Wrong continued indentation (add 7 spaces). ("Play", "play", ""), ^ | (bad-continuation) C: 68, 0: Wrong continued indentation (add 7 spaces). ("Playpause", "playpause", ""), ^ | (bad-continuation) C: 69, 0: Wrong continued indentation (add 7 spaces). ("Stop", "stop", ""), ^ | (bad-continuation) C: 70, 0: Wrong continued indentation (add 7 spaces). ("Pause", "pause", ""), ^ | (bad-continuation) C: 71, 0: Wrong continued indentation (add 7 spaces). ("Rewind", "rewind", ""), ^ | (bad-continuation) C: 72, 0: Wrong continued indentation (add 7 spaces). ("Fastforward", "fastforward", ""), ^ | (bad-continuation) C: 73, 0: Wrong continued indentation (add 7 spaces). ("Skip back", "skip_back", ""), ^ | (bad-continuation) C: 74, 0: Wrong continued indentation (add 7 spaces). ("Skip forward", "skip_forward", ""), ^ | (bad-continuation) C: 75, 0: Wrong continued indentation (add 7 spaces). ("activatePiP", "activatePiP", ""), ^ | (bad-continuation) C: 76, 0: Wrong continued indentation (add 7 spaces). ("Timer", "timer", ""), ^ | (bad-continuation) C: 77, 0: Wrong continued indentation (add 7 spaces). ("Timer" + " " + _("long"), "timer_long", ""), ^ | (bad-continuation) C: 78, 0: Wrong continued indentation (add 7 spaces). ("Playlist", "playlist", ""), ^ | (bad-continuation) C: 79, 0: Wrong continued indentation (add 7 spaces). ("Timeshift", "timeshift", ""), ^ | (bad-continuation) C: 80, 0: Wrong continued indentation (add 7 spaces). ("Search", "search", ""), ^ | (bad-continuation) C: 81, 0: Wrong continued indentation (add 7 spaces). ("Search" + " " + _("long"), "search_long", ""), ^ | (bad-continuation) C: 82, 0: Wrong continued indentation (add 7 spaces). ("Slow", "slow", ""), ^ | (bad-continuation) C: 83, 0: Wrong continued indentation (add 7 spaces). ("Mark/Portal/Playlist", "mark", ""), ^ | (bad-continuation) C: 84, 0: Wrong continued indentation (add 7 spaces). ("Mark/Portal/Playlist" + " " + _("long"), "mark_long", ""), ^ | (bad-continuation) C: 85, 0: Wrong continued indentation (add 7 spaces). ("Sleep", "sleep", ""), ^ | (bad-continuation) C: 86, 0: Wrong continued indentation (add 7 spaces). ("Sleep" + " " + _("long"), "sleep_long", ""), ^ | (bad-continuation) C: 87, 0: Wrong continued indentation (add 7 spaces). ("Context", "contextmenu", ""), ^ | (bad-continuation) C: 88, 0: Wrong continued indentation (add 7 spaces). ("Context" + " " + _("long"), "contextmenu_long", ""), ^ | (bad-continuation) C: 89, 0: Wrong continued indentation (add 7 spaces). ("Video Mode", "vmode", ""), ^ | (bad-continuation) C: 90, 0: Wrong continued indentation (add 7 spaces). ("Video Mode" + " " + _("long"), "vmode_long", ""), ^ | (bad-continuation) C: 91, 0: Wrong continued indentation (add 7 spaces). ("Home", "home", ""), ^ | (bad-continuation) C: 92, 0: Wrong continued indentation (add 7 spaces). ("Power", "power", "Module/Screens.Standby/Standby"), ^ | (bad-continuation) C: 93, 0: Wrong continued indentation (add 7 spaces). ("Power" + " " + _("long"), "power_long", "Menu/shutdown"), ^ | (bad-continuation) C: 94, 0: Wrong continued indentation (add 7 spaces). ("HDMIin", "HDMIin", "Infobar/HDMIIn"), ^ | (bad-continuation) C: 95, 0: Wrong continued indentation (add 7 spaces). ("HDMIin" + " " + _("long"), "HDMIin_long", ""), ^ | (bad-continuation) C: 96, 0: Wrong continued indentation (add 7 spaces). ("Media", "media", ""), ^ | (bad-continuation) C: 97, 0: Wrong continued indentation (add 7 spaces). ("Media" + " " + _("long"), "media_long", ""), ^ | (bad-continuation) C: 98, 0: Wrong continued indentation (add 7 spaces). ("Favorites", "favorites", "Infobar/openFavouritesList"), ^ | (bad-continuation) C: 99, 0: Wrong continued indentation (add 7 spaces). ("Favorites" + " " + _("long"), "favorites_long", ""), ^ | (bad-continuation) C:100, 0: Wrong continued indentation (add 7 spaces). ("WWW Portal", "www", ""), ^ | (bad-continuation) C:101, 0: Wrong continued indentation (add 7 spaces). ("WWW Portal" + " " + _("long"), "www_long", "")] ^ | (bad-continuation) W:106, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:109, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:110, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:111, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:112, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:113, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:114, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:115, 0: Line too long (117/100) (line-too-long) W:115, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:116, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:117, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:118, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:119, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:120, 0: Line too long (107/100) (line-too-long) W:120, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:120, 0: No space allowed before comma hotkeyFunctions.append((plugin.name, plugin.path[24:] + "/" + str(twinPaths[plugin.path[24:]]) , "EPG")) ^ (bad-whitespace) W:121, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:122, 0: Line too long (108/100) (line-too-long) W:122, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:123, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:124, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:125, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:126, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:127, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:128, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:129, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:130, 0: Line too long (111/100) (line-too-long) W:130, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:130, 0: No space allowed before comma hotkeyFunctions.append((plugin.name, plugin.path[24:] + "/" + str(twinPaths[plugin.path[24:]]) , "Plugins")) ^ (bad-whitespace) W:131, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:132, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:133, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:134, 0: Line too long (101/100) (line-too-long) W:134, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:135, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:136, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:137, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:138, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:139, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:140, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:141, 0: Line too long (104/100) (line-too-long) W:141, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:142, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:143, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:144, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:145, 0: Line too long (110/100) (line-too-long) W:145, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:146, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:147, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:148, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:149, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:150, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:151, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:152, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:153, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:154, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:155, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:156, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:157, 0: Line too long (115/100) (line-too-long) W:157, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:158, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:159, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:160, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:161, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:162, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:163, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:164, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:165, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:166, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:167, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:168, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:169, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:170, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:171, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:172, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:173, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:174, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:175, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:176, 0: Line too long (114/100) (line-too-long) W:176, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:177, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:178, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:179, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:180, 0: Line too long (101/100) (line-too-long) W:180, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:181, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:182, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:183, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:184, 0: Line too long (102/100) (line-too-long) W:184, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:185, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:186, 0: Line too long (101/100) (line-too-long) W:186, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:187, 0: Line too long (104/100) (line-too-long) W:187, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:188, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:189, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:190, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:191, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:192, 0: Line too long (103/100) (line-too-long) W:192, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:193, 0: Line too long (101/100) (line-too-long) W:193, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:194, 0: Line too long (104/100) (line-too-long) W:194, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:195, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:196, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:197, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:198, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:199, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:200, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:201, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:202, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:203, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:204, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:205, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:206, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:207, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:208, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:209, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:210, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:211, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:212, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:213, 0: Line too long (103/100) (line-too-long) W:213, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:214, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:215, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:216, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:217, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:218, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:219, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:220, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:221, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:222, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:223, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:226, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:227, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:228, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:229, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:230, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:231, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:232, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:233, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:234, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:235, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:235, 0: Exactly one space required after comma self.list.append(ChoiceEntryComponent('',(x[0], x[1]))) ^ (bad-whitespace) W:236, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:237, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:238, 0: Line too long (101/100) (line-too-long) W:238, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:239, 0: Wrong continued indentation (add 28 spaces). { ^ | (bad-continuation) C:240, 0: Wrong hanging indentation (add 17 spaces). "ok": self.keyOk, ^ | (bad-continuation) C:241, 0: Wrong hanging indentation (add 17 spaces). "cancel": self.close, ^ | (bad-continuation) C:242, 0: Wrong hanging indentation (add 17 spaces). "red": self.close, ^ | (bad-continuation) C:243, 0: Wrong hanging indentation (add 17 spaces). "up": self.keyUp, ^ | (bad-continuation) C:244, 0: Wrong hanging indentation (add 17 spaces). "down": self.keyDown, ^ | (bad-continuation) C:245, 0: Wrong hanging indentation (add 17 spaces). "left": self.keyLeft, ^ | (bad-continuation) C:246, 0: Wrong hanging indentation (add 17 spaces). "right": self.keyRight, ^ | (bad-continuation) C:247, 0: Wrong hanging indentation (add 17 spaces). "menu": boundFunction(self.close, True), ^ | (bad-continuation) C:248, 0: Wrong hanging indentation. }, -1) ^ | | (bad-continuation) W:249, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:250, 0: Wrong continued indentation (add 40 spaces). { ^ | (bad-continuation) C:251, 0: Wrong hanging indentation (add 17 spaces). "0": self.keyNumberGlobal ^ | (bad-continuation) C:252, 0: Wrong hanging indentation. }) ^ | | (bad-continuation) C:253, 0: Line too long (121/100) (line-too-long) W:253, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:254, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:255, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:257, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:258, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:260, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:261, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:262, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:263, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:264, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:265, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:266, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:267, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:269, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:270, 0: Line too long (120/100) (line-too-long) W:270, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:272, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:273, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:274, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:276, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:277, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:278, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:280, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:281, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:282, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:284, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:285, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:286, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:288, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:289, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:290, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:292, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:293, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:294, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:295, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:296, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:297, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:298, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:300, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:301, 0: Line too long (122/100) (line-too-long) W:301, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:303, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:304, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:305, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:306, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:307, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:308, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:309, 0: Line too long (159/100) (line-too-long) W:309, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:309, 0: Exactly one space required after comma selected.append(ChoiceEntryComponent('',((_("Panic to") + " " + ServiceReference(eServiceReference(x.split("/", 1)[1]).toString()).getServiceName()), x))) ^ (bad-whitespace) W:310, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:311, 0: Line too long (157/100) (line-too-long) W:311, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:311, 0: Exactly one space required after comma selected.append(ChoiceEntryComponent('',((_("Zap to") + " " + ServiceReference(eServiceReference(x.split("/", 1)[1]).toString()).getServiceName()), x))) ^ (bad-whitespace) W:312, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:313, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:313, 0: No space allowed before bracket function = list(function for function in self.hotkeyFunctions if function[1] == x ) ^ (bad-whitespace) W:314, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:315, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:315, 0: Exactly one space required after comma selected.append(ChoiceEntryComponent('',((function[0][0]), function[0][1]))) ^ (bad-whitespace) W:316, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:319, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:320, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:321, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:322, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:323, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:324, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:325, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:326, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:327, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:328, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:330, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:331, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:332, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:333, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:334, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:335, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:336, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:337, 0: Line too long (163/100) (line-too-long) W:337, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:337, 0: Exactly one space required after comma self.selected.append(ChoiceEntryComponent('',((_("Panic to") + " " + ServiceReference(eServiceReference(x.split("/", 1)[1]).toString()).getServiceName()), x))) ^ (bad-whitespace) W:338, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:339, 0: Line too long (161/100) (line-too-long) W:339, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:339, 0: Exactly one space required after comma self.selected.append(ChoiceEntryComponent('',((_("Zap to") + " " + ServiceReference(eServiceReference(x.split("/", 1)[1]).toString()).getServiceName()), x))) ^ (bad-whitespace) W:340, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:341, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:341, 0: No space allowed before bracket function = list(function for function in self.hotkeyFunctions if function[1] == x ) ^ (bad-whitespace) W:342, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:343, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:343, 0: Exactly one space required after comma self.selected.append(ChoiceEntryComponent('',((function[0][0]), function[0][1]))) ^ (bad-whitespace) W:344, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:345, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:346, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:347, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:348, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:349, 0: Line too long (125/100) (line-too-long) W:349, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:350, 0: Wrong continued indentation (add 28 spaces). { ^ | (bad-continuation) C:351, 0: Wrong hanging indentation (add 17 spaces). "ok": self.keyOk, ^ | (bad-continuation) C:352, 0: Wrong hanging indentation (add 17 spaces). "cancel": self.cancel, ^ | (bad-continuation) C:353, 0: Wrong hanging indentation (add 17 spaces). "red": self.cancel, ^ | (bad-continuation) C:354, 0: Wrong hanging indentation (add 17 spaces). "green": self.save, ^ | (bad-continuation) C:355, 0: Wrong hanging indentation (add 17 spaces). "yellow": self.toggleMode, ^ | (bad-continuation) C:356, 0: Wrong hanging indentation (add 17 spaces). "up": self.keyUp, ^ | (bad-continuation) C:357, 0: Wrong hanging indentation (add 17 spaces). "down": self.keyDown, ^ | (bad-continuation) C:358, 0: Wrong hanging indentation (add 17 spaces). "left": self.keyLeft, ^ | (bad-continuation) C:359, 0: Wrong hanging indentation (add 17 spaces). "right": self.keyRight, ^ | (bad-continuation) C:360, 0: Wrong hanging indentation (add 17 spaces). "upRepeated": self.keyUp, ^ | (bad-continuation) C:361, 0: Wrong hanging indentation (add 17 spaces). "downRepeated": self.keyDown, ^ | (bad-continuation) C:362, 0: Wrong hanging indentation (add 17 spaces). "leftRepeated": self.keyLeft, ^ | (bad-continuation) C:363, 0: Wrong hanging indentation (add 17 spaces). "rightRepeated": self.keyRight, ^ | (bad-continuation) C:364, 0: Wrong hanging indentation (add 17 spaces). "pageUp": self.toggleMode, ^ | (bad-continuation) C:365, 0: Wrong hanging indentation (add 17 spaces). "pageDown": self.toggleMode, ^ | (bad-continuation) C:366, 0: Wrong hanging indentation (add 17 spaces). "moveUp": self.moveUp, ^ | (bad-continuation) C:367, 0: Wrong hanging indentation (add 17 spaces). "moveDown": self.moveDown, ^ | (bad-continuation) C:368, 0: Wrong hanging indentation (add 17 spaces). "menu": boundFunction(self.close, True), ^ | (bad-continuation) C:369, 0: Wrong hanging indentation. }, -1) ^ | | (bad-continuation) W:371, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:373, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:375, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:376, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:378, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:379, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:380, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:381, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:382, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:383, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:384, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:385, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:386, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:387, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:387, 0: Exactly one space required after comma functionslist.append(ChoiceEntryComponent('expanded',((catagorie), "Expander"))) ^ (bad-whitespace) W:388, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:389, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:389, 0: Exactly one space required after comma functionslist.append(ChoiceEntryComponent('verticalline',((function[0]), function[1]))) ^ (bad-whitespace) W:390, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:391, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:391, 0: Exactly one space required after comma functionslist.append(ChoiceEntryComponent('verticalline',((_("Zap to")), "Zap"))) ^ (bad-whitespace) W:392, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:392, 0: Exactly one space required after comma functionslist.append(ChoiceEntryComponent('verticalline',((_("Panic to")), "ZapPanic"))) ^ (bad-whitespace) W:393, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:394, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:394, 0: Exactly one space required after comma functionslist.append(ChoiceEntryComponent('expandable',((catagorie), "Expander"))) ^ (bad-whitespace) W:395, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:397, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:398, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:399, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:400, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:401, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:402, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:403, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:404, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:405, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:406, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:407, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:408, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:409, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:411, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:412, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:413, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:414, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:415, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:416, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:418, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:419, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:420, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:421, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:422, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:423, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:424, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:426, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:427, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:428, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:429, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:430, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:431, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:432, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:433, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:434, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:435, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:436, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:437, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:438, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:439, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:440, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:441, 0: Line too long (142/100) (line-too-long) W:441, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:442, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:443, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:444, 0: Line too long (140/100) (line-too-long) W:444, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:445, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:446, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:447, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:448, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:449, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:450, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:451, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:452, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:453, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:454, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:455, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:457, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:458, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:459, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:460, 0: Line too long (123/100) (line-too-long) W:460, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:460, 0: Exactly one space required around assignment currentSelected[1]=currentSelected[1][:-1] + (currentSelected[0][0] + " " + ServiceReference(args[0]).getServiceName(),) ^ (bad-whitespace) C:461, 0: Line too long (120/100) (line-too-long) W:461, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:463, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:464, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:466, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:467, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:469, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:470, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:472, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:473, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:475, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:476, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:478, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:479, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:481, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:482, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:483, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:484, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:485, 0: Line too long (140/100) (line-too-long) W:485, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:486, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:487, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:488, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:489, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:491, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:492, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:493, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:494, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:495, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:496, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:497, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:499, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:500, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:501, 0: Line too long (121/100) (line-too-long) W:501, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:502, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:503, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:505, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:506, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:509, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:510, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:511, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:512, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:513, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:514, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:515, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:516, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:519, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:520, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:521, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:522, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:523, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:524, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:525, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:526, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:529, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:530, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:531, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:532, 0: Wrong continued indentation (add 53 spaces). dict((x[1],(self.hotkeyGlobal, boundFunction(self.getHelpText, x[1]))) for x in self.hotkeys), -10) ^ | (bad-continuation) C:532, 0: Line too long (102/100) (line-too-long) C:532, 0: Exactly one space required after comma dict((x[1],(self.hotkeyGlobal, boundFunction(self.getHelpText, x[1]))) for x in self.hotkeys), -10) ^ (bad-whitespace) W:534, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:535, 0: Line too long (249/100) (line-too-long) W:535, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:536, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:537, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:538, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:539, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:540, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:541, 0: Line too long (133/100) (line-too-long) W:541, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:542, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:543, 0: Line too long (131/100) (line-too-long) W:543, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:544, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:545, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:545, 0: No space allowed before bracket function = list(function for function in getHotkeyFunctions() if function[1] == x ) ^ (bad-whitespace) W:546, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:547, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:548, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:550, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:551, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:552, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:553, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:554, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:555, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:556, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:557, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:559, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:560, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:561, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:562, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:563, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:564, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:565, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:566, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:567, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:569, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:570, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:571, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:572, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:573, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:574, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:575, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:576, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:577, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:578, 0: Line too long (120/100) (line-too-long) W:578, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:579, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:580, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:581, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:582, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:583, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:584, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:585, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:586, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:587, 0: Line too long (111/100) (line-too-long) W:587, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:588, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:589, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:590, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:591, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:592, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:593, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:594, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:595, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:596, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:597, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:598, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:599, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:600, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:601, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:602, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:603, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:604, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:605, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:606, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:607, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:608, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:609, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:610, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:611, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:612, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:613, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:614, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:615, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:616, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:617, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:618, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:619, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:620, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:621, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:622, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:623, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:624, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:625, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:626, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:626, 0: No space allowed around keyword argument assignment self.servicelist.zap(enable_pipzap = True) ^ (bad-whitespace) W:627, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:628, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:629, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:630, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:631, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:632, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:633, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:634, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:635, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:636, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:637, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:638, 0: Line too long (109/100) (line-too-long) W:638, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:639, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:640, 0: Line too long (113/100) (line-too-long) W:640, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:641, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:642, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:643, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:644, 0: Found indentation with tabs instead of spaces (mixed-indentation) C:645, 0: Line too long (139/100) (line-too-long) W:645, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:646, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:647, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:648, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:649, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:650, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:651, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:652, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:653, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:654, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:655, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:657, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:658, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:659, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:660, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:661, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:663, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:664, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:666, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:667, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:669, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:670, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:672, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:673, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:674, 0: Found indentation with tabs instead of spaces (mixed-indentation) W:675, 0: Found indentation with tabs instead of spaces (mixed-indentation) C: 1, 0: Module name "Hotkey" doesn't conform to snake_case naming style (invalid-name) C: 1, 0: Missing module docstring (missing-docstring) E: 12, 0: Unable to import 'ServiceReference' (import-error) E: 13, 0: Unable to import 'enigma' (import-error) C: 17, 0: Function name "getHotkeys" doesn't conform to snake_case naming style (invalid-name) C: 17, 0: Missing function docstring (missing-docstring) E: 18,10: Undefined variable '_' (undefined-variable) E: 18,27: Undefined variable '_' (undefined-variable) E: 19, 3: Undefined variable '_' (undefined-variable) E: 19,22: Undefined variable '_' (undefined-variable) E: 20, 3: Undefined variable '_' (undefined-variable) E: 20,23: Undefined variable '_' (undefined-variable) E: 21, 3: Undefined variable '_' (undefined-variable) E: 21,21: Undefined variable '_' (undefined-variable) E: 23,16: Undefined variable '_' (undefined-variable) E: 25,16: Undefined variable '_' (undefined-variable) E: 27,16: Undefined variable '_' (undefined-variable) E: 28, 3: Undefined variable '_' (undefined-variable) E: 29, 3: Undefined variable '_' (undefined-variable) E: 30, 3: Undefined variable '_' (undefined-variable) E: 31, 3: Undefined variable '_' (undefined-variable) E: 34,19: Undefined variable '_' (undefined-variable) E: 36,16: Undefined variable '_' (undefined-variable) E: 38,17: Undefined variable '_' (undefined-variable) E: 41,18: Undefined variable '_' (undefined-variable) E: 45,24: Undefined variable '_' (undefined-variable) E: 47,26: Undefined variable '_' (undefined-variable) E: 49,25: Undefined variable '_' (undefined-variable) E: 52,23: Undefined variable '_' (undefined-variable) E: 61,22: Undefined variable '_' (undefined-variable) E: 63,23: Undefined variable '_' (undefined-variable) E: 77,19: Undefined variable '_' (undefined-variable) E: 81,20: Undefined variable '_' (undefined-variable) E: 84,34: Undefined variable '_' (undefined-variable) E: 86,19: Undefined variable '_' (undefined-variable) E: 88,21: Undefined variable '_' (undefined-variable) E: 90,24: Undefined variable '_' (undefined-variable) E: 93,19: Undefined variable '_' (undefined-variable) E: 95,20: Undefined variable '_' (undefined-variable) E: 97,19: Undefined variable '_' (undefined-variable) E: 99,23: Undefined variable '_' (undefined-variable) E:101,24: Undefined variable '_' (undefined-variable) W:106, 1: Use of exec (exec-used) W:216, 6: Redefining name 'x' from outer scope (line 105) (redefined-outer-name) C:108, 0: Function name "getHotkeyFunctions" doesn't conform to snake_case naming style (invalid-name) C:108, 0: Missing function docstring (missing-docstring) C:109, 1: Variable name "hotkeyFunctions" doesn't conform to snake_case naming style (invalid-name) C:110, 1: Variable name "twinPlugins" doesn't conform to snake_case naming style (invalid-name) C:111, 1: Variable name "twinPaths" doesn't conform to snake_case naming style (invalid-name) E:132,25: Undefined variable '_' (undefined-variable) E:133,25: Undefined variable '_' (undefined-variable) E:134,25: Undefined variable '_' (undefined-variable) E:135,25: Undefined variable '_' (undefined-variable) E:136,25: Undefined variable '_' (undefined-variable) E:137,25: Undefined variable '_' (undefined-variable) E:138,25: Undefined variable '_' (undefined-variable) E:139,25: Undefined variable '_' (undefined-variable) E:140,25: Undefined variable '_' (undefined-variable) E:141,25: Undefined variable '_' (undefined-variable) E:142,25: Undefined variable '_' (undefined-variable) E:143,25: Undefined variable '_' (undefined-variable) E:144,25: Undefined variable '_' (undefined-variable) E:145,25: Undefined variable '_' (undefined-variable) E:146,25: Undefined variable '_' (undefined-variable) E:147,25: Undefined variable '_' (undefined-variable) E:148,25: Undefined variable '_' (undefined-variable) E:149,25: Undefined variable '_' (undefined-variable) E:150,25: Undefined variable '_' (undefined-variable) E:151,25: Undefined variable '_' (undefined-variable) E:152,25: Undefined variable '_' (undefined-variable) E:153,25: Undefined variable '_' (undefined-variable) E:154,25: Undefined variable '_' (undefined-variable) E:155,25: Undefined variable '_' (undefined-variable) E:156,25: Undefined variable '_' (undefined-variable) E:157,25: Undefined variable '_' (undefined-variable) E:158,25: Undefined variable '_' (undefined-variable) E:159,25: Undefined variable '_' (undefined-variable) E:160,25: Undefined variable '_' (undefined-variable) E:161,25: Undefined variable '_' (undefined-variable) E:162,25: Undefined variable '_' (undefined-variable) E:163,25: Undefined variable '_' (undefined-variable) E:164,25: Undefined variable '_' (undefined-variable) E:165,25: Undefined variable '_' (undefined-variable) E:166,25: Undefined variable '_' (undefined-variable) E:168,26: Undefined variable '_' (undefined-variable) E:169,26: Undefined variable '_' (undefined-variable) E:170,26: Undefined variable '_' (undefined-variable) E:171,26: Undefined variable '_' (undefined-variable) E:172,25: Undefined variable '_' (undefined-variable) E:173,25: Undefined variable '_' (undefined-variable) E:175,26: Undefined variable '_' (undefined-variable) E:176,25: Undefined variable '_' (undefined-variable) E:177,25: Undefined variable '_' (undefined-variable) E:179,26: Undefined variable '_' (undefined-variable) E:180,26: Undefined variable '_' (undefined-variable) E:182,26: Undefined variable '_' (undefined-variable) E:183,25: Undefined variable '_' (undefined-variable) E:184,25: Undefined variable '_' (undefined-variable) E:185,25: Undefined variable '_' (undefined-variable) E:186,25: Undefined variable '_' (undefined-variable) E:187,25: Undefined variable '_' (undefined-variable) E:188,25: Undefined variable '_' (undefined-variable) E:189,25: Undefined variable '_' (undefined-variable) E:192,25: Undefined variable '_' (undefined-variable) E:193,25: Undefined variable '_' (undefined-variable) E:194,25: Undefined variable '_' (undefined-variable) E:195,25: Undefined variable '_' (undefined-variable) E:196,25: Undefined variable '_' (undefined-variable) E:203,25: Undefined variable '_' (undefined-variable) E:204,25: Undefined variable '_' (undefined-variable) E:205,25: Undefined variable '_' (undefined-variable) E:206,25: Undefined variable '_' (undefined-variable) E:207,25: Undefined variable '_' (undefined-variable) E:208,25: Undefined variable '_' (undefined-variable) E:209,25: Undefined variable '_' (undefined-variable) E:210,25: Undefined variable '_' (undefined-variable) E:211,25: Undefined variable '_' (undefined-variable) E:212,25: Undefined variable '_' (undefined-variable) E:213,25: Undefined variable '_' (undefined-variable) E:214,25: Undefined variable '_' (undefined-variable) C:216, 6: Variable name "x" doesn't conform to snake_case naming style (invalid-name) W:216,12: Using possibly undefined loop variable 'x' (undefined-loop-variable) E:216,53: Instance of 'tuple' has no 'endswith' member (no-member) W:216,53: Using possibly undefined loop variable 'x' (undefined-loop-variable) C:217, 3: Variable name "x" doesn't conform to snake_case naming style (invalid-name) E:218,27: Undefined variable '_' (undefined-variable) C:220, 6: Variable name "x" doesn't conform to snake_case naming style (invalid-name) W:220,12: Using possibly undefined loop variable 'x' (undefined-loop-variable) W:220,52: Using possibly undefined loop variable 'x' (undefined-loop-variable) C:221, 3: Variable name "x" doesn't conform to snake_case naming style (invalid-name) E:222,27: Undefined variable '_' (undefined-variable) R:108, 0: Too many branches (21/12) (too-many-branches) R:108, 0: Too many statements (108/50) (too-many-statements) C:233, 2: Attribute name "hotkeyFunctions" doesn't conform to snake_case naming style (invalid-name) C:225, 0: Missing class docstring (missing-docstring) W:234, 6: Redefining name 'x' from outer scope (line 105) (redefined-outer-name) E:229,16: Undefined variable '_' (undefined-variable) E:230,31: Undefined variable '_' (undefined-variable) C:234, 6: Variable name "x" doesn't conform to snake_case naming style (invalid-name) W:226,29: Unused argument 'args' (unused-argument) C:257, 1: Method name "__layoutFinished" doesn't conform to snake_case naming style (invalid-name) W:262, 6: Redefining name 'x' from outer scope (line 105) (redefined-outer-name) C:260, 1: Method name "hotkeyGlobal" doesn't conform to snake_case naming style (invalid-name) C:260, 1: Missing method docstring (missing-docstring) C:262, 6: Variable name "x" doesn't conform to snake_case naming style (invalid-name) C:269, 1: Method name "keyOk" doesn't conform to snake_case naming style (invalid-name) C:269, 1: Missing method docstring (missing-docstring) C:272, 1: Method name "HotkeySetupSelectCallback" doesn't conform to snake_case naming style (invalid-name) C:272, 1: Missing method docstring (missing-docstring) C:276, 1: Method name "keyLeft" doesn't conform to snake_case naming style (invalid-name) C:276, 1: Missing method docstring (missing-docstring) C:280, 1: Method name "keyRight" doesn't conform to snake_case naming style (invalid-name) C:280, 1: Missing method docstring (missing-docstring) C:284, 1: Method name "keyUp" doesn't conform to snake_case naming style (invalid-name) C:284, 1: Missing method docstring (missing-docstring) C:288, 1: Method name "keyDown" doesn't conform to snake_case naming style (invalid-name) C:288, 1: Missing method docstring (missing-docstring) W:294, 7: Redefining name 'x' from outer scope (line 105) (redefined-outer-name) C:292, 1: Method name "setDefaultHotkey" doesn't conform to snake_case naming style (invalid-name) C:292, 1: Missing method docstring (missing-docstring) C:294, 7: Variable name "x" doesn't conform to snake_case naming style (invalid-name) W:295,21: Use of eval (eval-used) C:300, 1: Method name "keyNumberGlobal" doesn't conform to snake_case naming style (invalid-name) C:300, 1: Missing method docstring (missing-docstring) E:301,67: Undefined variable '_' (undefined-variable) W:300,27: Unused argument 'number' (unused-argument) W:307, 7: Redefining name 'x' from outer scope (line 105) (redefined-outer-name) C:303, 1: Method name "getFunctions" doesn't conform to snake_case naming style (invalid-name) C:303, 1: Missing method docstring (missing-docstring) C:307, 7: Variable name "x" doesn't conform to snake_case naming style (invalid-name) W:307,12: Use of eval (eval-used) E:309,47: Undefined variable '_' (undefined-variable) E:311,47: Undefined variable '_' (undefined-variable) C:331, 2: Attribute name "hotkeyFunctions" doesn't conform to snake_case naming style (invalid-name) C:318, 0: Missing class docstring (missing-docstring) R:318, 0: Too many instance attributes (8/7) (too-many-instance-attributes) W:335, 6: Redefining name 'x' from outer scope (line 105) (redefined-outer-name) E:323,16: Undefined variable '_' (undefined-variable) E:324,31: Undefined variable '_' (undefined-variable) E:325,33: Undefined variable '_' (undefined-variable) W:332,16: Use of eval (eval-used) C:335, 6: Variable name "x" doesn't conform to snake_case naming style (invalid-name) E:337,51: Undefined variable '_' (undefined-variable) E:339,51: Undefined variable '_' (undefined-variable) E:346,30: Undefined variable '_' (undefined-variable) W:319,34: Unused argument 'args' (unused-argument) C:375, 1: Method name "__layoutFinished" doesn't conform to snake_case naming style (invalid-name) C:378, 1: Method name "getFunctionList" doesn't conform to snake_case naming style (invalid-name) C:378, 1: Missing method docstring (missing-docstring) E:391,64: Undefined variable '_' (undefined-variable) E:392,64: Undefined variable '_' (undefined-variable) C:397, 1: Method name "toggleMode" doesn't conform to snake_case naming style (invalid-name) C:397, 1: Missing method docstring (missing-docstring) E:402,30: Undefined variable '_' (undefined-variable) C:411, 1: Method name "toggleText" doesn't conform to snake_case naming style (invalid-name) C:411, 1: Missing method docstring (missing-docstring) E:413,30: Undefined variable '_' (undefined-variable) C:418, 1: Method name "showPrevNext" doesn't conform to snake_case naming style (invalid-name) C:418, 1: Missing method docstring (missing-docstring) C:426, 1: Method name "keyOk" doesn't conform to snake_case naming style (invalid-name) C:426, 1: Missing method docstring (missing-docstring) C:428, 3: Variable name "currentSelected" doesn't conform to snake_case naming style (invalid-name) E:441,80: Undefined variable '_' (undefined-variable) E:444,80: Undefined variable '_' (undefined-variable) C:457, 1: Method name "zaptoCallback" doesn't conform to snake_case naming style (invalid-name) C:457, 1: Missing method docstring (missing-docstring) C:459, 3: Variable name "currentSelected" doesn't conform to snake_case naming style (invalid-name) C:463, 1: Method name "keyLeft" doesn't conform to snake_case naming style (invalid-name) C:463, 1: Missing method docstring (missing-docstring) C:466, 1: Method name "keyRight" doesn't conform to snake_case naming style (invalid-name) C:466, 1: Missing method docstring (missing-docstring) C:469, 1: Method name "keyUp" doesn't conform to snake_case naming style (invalid-name) C:469, 1: Missing method docstring (missing-docstring) C:472, 1: Method name "keyDown" doesn't conform to snake_case naming style (invalid-name) C:472, 1: Missing method docstring (missing-docstring) C:475, 1: Method name "moveUp" doesn't conform to snake_case naming style (invalid-name) C:475, 1: Missing method docstring (missing-docstring) C:478, 1: Method name "moveDown" doesn't conform to snake_case naming style (invalid-name) C:478, 1: Missing method docstring (missing-docstring) C:481, 1: Method name "moveChoosen" doesn't conform to snake_case naming style (invalid-name) C:481, 1: Missing method docstring (missing-docstring) C:483, 3: Variable name "currentIndex" doesn't conform to snake_case naming style (invalid-name) C:484, 3: Variable name "swapIndex" doesn't conform to snake_case naming style (invalid-name) R:481, 1: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) W:493, 6: Redefining name 'x' from outer scope (line 105) (redefined-outer-name) C:491, 1: Missing method docstring (missing-docstring) C:492, 2: Variable name "configValue" doesn't conform to snake_case naming style (invalid-name) C:493, 6: Variable name "x" doesn't conform to snake_case naming style (invalid-name) C:499, 1: Missing method docstring (missing-docstring) E:501,66: Undefined variable '_' (undefined-variable) C:505, 1: Method name "cancelCallback" doesn't conform to snake_case naming style (invalid-name) C:505, 1: Missing method docstring (missing-docstring) W:506, 2: Expression "(answer) and (self.close(None))" is assigned to nothing (expression-not-assigned) C:508, 0: Class name "hotkeyActionMap" doesn't conform to PascalCase naming style (invalid-name) C:508, 0: Missing class docstring (missing-docstring) W:509, 1: Parameters differ from overridden 'action' method (arguments-differ) C:518, 0: Class name "helpableHotkeyActionMap" doesn't conform to PascalCase naming style (invalid-name) C:518, 0: Missing class docstring (missing-docstring) W:519, 1: Parameters differ from overridden 'action' method (arguments-differ) C:528, 0: Missing class docstring (missing-docstring) C:528, 0: Old-style class defined. (old-style-class) E:531, 2: 'self' does not support item assignment (unsupported-assignment-operation) W:539, 6: Redefining name 'x' from outer scope (line 105) (redefined-outer-name) C:534, 1: Method name "getKeyFunctions" doesn't conform to snake_case naming style (invalid-name) C:534, 1: Missing method docstring (missing-docstring) E:535,222: Instance of 'InfoBarHotkey' has no 'timeshiftActivated' member (no-member) W:537,14: Use of eval (eval-used) C:539, 6: Variable name "x" doesn't conform to snake_case naming style (invalid-name) E:541,22: Undefined variable '_' (undefined-variable) E:543,22: Undefined variable '_' (undefined-variable) C:550, 1: Method name "getHelpText" doesn't conform to snake_case naming style (invalid-name) C:550, 1: Missing method docstring (missing-docstring) R:554, 2: Unnecessary "else" after "return" (no-else-return) E:557,10: Undefined variable '_' (undefined-variable) R:550, 1: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) C:559, 1: Method name "hotkeyGlobal" doesn't conform to snake_case naming style (invalid-name) C:559, 1: Missing method docstring (missing-docstring) E:567, 3: Instance of 'InfoBarHotkey' has no 'session' member (no-member) E:567,61: Undefined variable '_' (undefined-variable) R:559, 1: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) W:619, 4: Redefining name 'SystemInfo' from outer scope (line 4) (redefined-outer-name) W:619, 4: Redefining name 'StaticText' from outer scope (line 2) (redefined-outer-name) W:652, 6: Redefining built-in 'id' (redefined-builtin) W:619, 4: Redefining name 'config' from outer scope (line 5) (redefined-outer-name) W:619, 4: Redefining name 'NumberActionMap' from outer scope (line 1) (redefined-outer-name) W:649, 8: Redefining name 'x' from outer scope (line 105) (redefined-outer-name) W:619, 4: Redefining name 'Screen' from outer scope (line 8) (redefined-outer-name) C:569, 1: Method name "execHotkey" doesn't conform to snake_case naming style (invalid-name) C:569, 1: Missing method docstring (missing-docstring) R:569, 1: Too many local variables (37/15) (too-many-locals) C:573, 4: Variable name "twinPlugins" doesn't conform to snake_case naming style (invalid-name) C:574, 4: Variable name "twinPaths" doesn't conform to snake_case naming style (invalid-name) E:584, 7: Instance of 'InfoBarHotkey' has no 'runPlugin' member (no-member) E:596, 7: Instance of 'InfoBarHotkey' has no 'runPlugin' member (no-member) E:602, 6: Instance of 'InfoBarHotkey' has no 'runPlugin' member (no-member) W:606, 5: Use of exec (exec-used) W:613, 4: No exception type(s) specified (bare-except) W:611, 5: Use of exec (exec-used) W:612, 5: Use of exec (exec-used) E:617, 4: Instance of 'InfoBarHotkey' has no 'session' member (no-member) W:619, 4: Wildcard import Screens.Setup (wildcard-import) W:620, 4: Use of exec (exec-used) E:623, 5: Instance of 'InfoBarHotkey' has no 'servicelist' member (no-member) W:624, 5: Expression "(self.pipShown()) and (self.showPiP())" is assigned to nothing (expression-not-assigned) E:624, 5: Instance of 'InfoBarHotkey' has no 'pipShown' member (no-member) E:624,25: Instance of 'InfoBarHotkey' has no 'showPiP' member (no-member) E:625, 4: Instance of 'InfoBarHotkey' has no 'servicelist' member (no-member) E:626, 4: Instance of 'InfoBarHotkey' has no 'servicelist' member (no-member) E:629, 5: Instance of 'InfoBarHotkey' has no 'close' member (no-member) E:631, 5: Instance of 'InfoBarHotkey' has no 'show' member (no-member) C:637, 4: Variable name "ppanelFileName" doesn't conform to snake_case naming style (invalid-name) E:639, 5: No name 'PPanel' in module 'Plugins.Extensions' (no-name-in-module) E:639, 5: Unable to import 'Plugins.Extensions.PPanel.ppanel' (import-error) E:640, 5: Instance of 'InfoBarHotkey' has no 'session' member (no-member) E:645, 5: Instance of 'InfoBarHotkey' has no 'session' member (no-member) C:649, 8: Variable name "x" doesn't conform to snake_case naming style (invalid-name) C:650, 5: Variable name "y" doesn't conform to snake_case naming style (invalid-name) C:652, 6: Variable name "id" doesn't conform to snake_case naming style (invalid-name) E:654,21: Instance of 'InfoBarHotkey' has no 'session' member (no-member) R:569, 1: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) W:619, 4: Unused variable 'ConfigNothing' (unused-variable) W:619, 4: Unused variable 'StaticText' (unused-variable) W:619, 4: Unused variable 'Label' (unused-variable) W:619, 4: Unused variable 'setupfile' (unused-variable) W:619, 4: Unused variable 'xml' (unused-variable) W:619, 4: Unused variable 'ConfigListScreen' (unused-variable) W:619, 4: Unused variable 'getConfigMenuItem' (unused-variable) W:619, 4: Unused variable 'SetupSummary' (unused-variable) W:619, 4: Unused variable 'eEnv' (unused-variable) W:619, 4: Unused variable 'Setup' (unused-variable) W:619, 4: Unused variable 'setupdom' (unused-variable) W:619, 4: Unused variable 'getSetupTitle' (unused-variable) W:619, 4: Unused variable 'NumberActionMap' (unused-variable) W:619, 4: Unused variable 'SetupError' (unused-variable) W:619, 4: Unused variable 'Screen' (unused-variable) W:654, 7: Unused variable 'menu_screen' (unused-variable) R:569, 1: Too many branches (35/12) (too-many-branches) R:569, 1: Too many statements (79/50) (too-many-statements) C:657, 1: Method name "showServiceListOrMovies" doesn't conform to snake_case naming style (invalid-name) C:657, 1: Missing method docstring (missing-docstring) E:659, 3: Instance of 'InfoBarHotkey' has no 'openServiceList' member (no-member) E:661, 3: Instance of 'InfoBarHotkey' has no 'showMovies' member (no-member) C:663, 1: Method name "ToggleLCDLiveTV" doesn't conform to snake_case naming style (invalid-name) C:663, 1: Missing method docstring (missing-docstring) R:663, 1: Method could be a function (no-self-use) C:666, 1: Method name "SourceActiveHdmiCec" doesn't conform to snake_case naming style (invalid-name) C:666, 1: Missing method docstring (missing-docstring) C:669, 1: Method name "SourceInactiveHdmiCec" doesn't conform to snake_case naming style (invalid-name) C:669, 1: Missing method docstring (missing-docstring) C:672, 1: Method name "setHdmiCec" doesn't conform to snake_case naming style (invalid-name) C:672, 1: Missing method docstring (missing-docstring) R:672, 1: Method could be a function (no-self-use) W:628, 5: Attribute 'lastservice' defined outside __init__ (attribute-defined-outside-init) W: 5, 0: Unused ConfigText imported from Components.config (unused-import) Traceback (most recent call last): File "c:\program files\python27\lib\runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "c:\program files\python27\lib\runpy.py", line 72, in _run_code exec code in run_globals File "C:\Program Files\Python27\Scripts\pylint.exe\__main__.py", line 9, in File "c:\program files\python27\lib\site-packages\pylint\__init__.py", line 16, in run_pylint Run(sys.argv[1:]) File "c:\program files\python27\lib\site-packages\pylint\lint.py", line 1347, in __init__ linter.check(args) File "c:\program files\python27\lib\site-packages\pylint\lint.py", line 768, in check self._do_check(files_or_modules) File "c:\program files\python27\lib\site-packages\pylint\lint.py", line 901, in _do_check self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers) File "c:\program files\python27\lib\site-packages\pylint\lint.py", line 980, in check_astroid_module walker.walk(ast_node) File "c:\program files\python27\lib\site-packages\pylint\utils.py", line 1016, in walk cb(astroid) File "c:\program files\python27\lib\site-packages\pylint\checkers\imports.py", line 443, in leave_module std_imports, ext_imports, loc_imports = self._check_imports_order(node) File "c:\program files\python27\lib\site-packages\pylint\checkers\imports.py", line 590, in _check_imports_order known_standard_library=self.config.known_standard_library, File "c:\program files\python27\lib\site-packages\isort\isort.py", line 64, in __init__ self.config = settings.from_path(settings_path).copy() File "c:\program files\python27\lib\site-packages\isort\pie_slice.py", line 333, in wrapper result = user_function(*args, **kwds) File "c:\program files\python27\lib\site-packages\isort\settings.py", line 146, in from_path _update_settings_with_config(path, '.editorconfig', '~/.editorconfig', ('*', '*.py', '**.py'), computed_settings) File "c:\program files\python27\lib\site-packages\isort\settings.py", line 154, in _update_settings_with_config editor_config_file = default and os.path.expanduser(default) File "c:\program files\python27\lib\ntpath.py", line 311, in expanduser return userhome + path[i:] UnicodeDecodeError: 'utf8' codec can't decode byte 0xd3 in position 9: invalid continuation byte

@CtrlZvi
Copy link

CtrlZvi commented Feb 11, 2018

I'm having the same issue. It seems like the python extension is not being to loaded. I tried reselecting the python interpreter to force it to reload, and received the error command python.setInterpreter not found. The developer debug console indicates that the module ./banner can't be found.

/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183 Activating extension `ms-python.python` failed: Cannot find module './banner'.
R._logMessageInConsole @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:253 [Extension Host] Activating extension `ms-python.python` failed:  Cannot find module './banner'
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:253
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:253 [Extension Host] Here is the error stack:  Error: Cannot find module './banner'
	at Function.Module._resolveFilename (module.js:470:15)
	at Function.Module._load (module.js:418:25)
	at Function.o._load (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:664:413)
	at Module.require (module.js:498:17)
	at require (internal/module.js:20:19)
	at Object.<anonymous> (C:\Users\viz_s\.vscode\extensions\ms-python.python-2018.1.0\out\client\extension.js:21:18)
	at Object.<anonymous> (C:\Users\viz_s\.vscode\extensions\ms-python.python-2018.1.0\out\client\extension.js:215:3)
	at Module._compile (module.js:571:32)
	at Object.Module._extensions..js (module.js:580:10)
	at Module.load (module.js:488:32)
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2925 command 'python.setInterpreter' not found

This worked fine in Code 1.19, but stopped working with 1.20.

@DonJayamanne
Copy link

DonJayamanne commented Feb 11, 2018

@CtrlZvi
Please try uninstalling and reinstalling. If that falls please create a separate issue.

@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. area-linting awaiting 1-verification labels Feb 12, 2018
@CtrlZvi
Copy link

CtrlZvi commented Feb 14, 2018

Tried uninstalling and reinstalling both VSCode and Python. New issue created #781

@nautilus7
Copy link
Author

nautilus7 commented Feb 17, 2018

@DonJayamanne any idea what might be wrong on my setup? You haven't made any comment regarding my problem...

@DonJayamanne
Copy link

@nautilus7 we've flagged this as awaiting-verification. Meaning someone from the team will need to look into this issue. Will check this out and get back. Apologies for the delay.

In the mean time please confirm you have checked:

  • Python output window
  • console window (Help -> Toggle Developer Tools)

There must be an error somewhere, even though you have not provided this.

@DonJayamanne DonJayamanne added info-needed Issue requires more information from poster and removed awaiting 1-verification labels Feb 17, 2018
@nautilus7
Copy link
Author

Hi, I added both python and console outputs. There's plenty of output to both, so I think it should help.

Thanks!

@MikhailArkhipov
Copy link

MikhailArkhipov commented Feb 21, 2018

I think the problem is in Unicode characters in the path you use (your user name)
C:\Users\Σπύρος

For example, error

File "c:\program files\python27\lib\ntpath.py", line 311, in expanduser
    return userhome + path[i:]
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd3 in position 9: invalid continuation byte

Windows console does not support Unicode or UTF-8 so running Python (which is essentially a console app) may have issues with that kind of pahts. You may get some results from setting appropriate code page for non-Unicode programs in Control Panel (see below) but I'd recommend avoiding Unicode paths.

image

@nautilus7
Copy link
Author

Hi, my system locale is already set to Greece.

What do you mean that windows console doesn't support utf8 or unicode? It works perfectly fine!

utf8cmd

@MikhailArkhipov
Copy link

MikhailArkhipov commented Feb 21, 2018

This is actually MBCS, not Unicode or utf-8 (single language only). I.e. you can't set utf-8 codepage in Windows console (see https://stackoverflow.com/questions/166503/utf-8-in-windows for example). For example if you add another keyboard (say, Japanese), you will be able to type English, Greek and Japanese in the same document in the editor BUT only English and Greek in console.

Conversion to and from console OEM encodings is not very reliable. The error I mentioned is not in VS Code but in the Python itself

File "c:\program files\python27\lib\ntpath.py", line 311, in expanduser

See long article here https://pythonhosted.org/kitchen/unicode-frustrations.html

Also, Python 3+ is supposedly better in this area.

@brettcannon
Copy link
Member

@MikhailArkhipov not supposedly; Python 3 is tons better with Unicode than Python 2 😁

@MikhailArkhipov
Copy link

@brettcannon - yes, but Windows console is still OEM and not UTF-8. So many things still apply.

@brettcannon
Copy link
Member

@MikhailArkhipov I think @zooba fixed that in Python 3.6.

@nautilus7
Copy link
Author

nautilus7 commented Feb 28, 2018

@DonJayamanne @MikhailArkhipov

OK, so I moved my working folder into another path, with no Greek names. Now autocomplete works, pylint works, BUT there's still a strange behavior with imports. See attached picture:

vscode python imports

As you can see, while the module is indeed imported and vscode can find it and I can "peek definition" , pylint still displays an error message about not being able to import it! Same for every module I import.

The output from the developer tools console is this: ` /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321 ERR Error: Failed opening file c:\Users\Σπύρος\AppData\Roaming\Code - Insiders\logs\20180228T201704\output_1_20180228T201708\extensions.log for writing: No such file or directory at RotatingLogger (C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\spdlog\index.js:16:3) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3004:16) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:870) at e._createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1302:661) at e.createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1301:899) at t.instantiateChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3011:689) at t.createChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3010:819) at t.onDidRegisterChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3010:290) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3009:106) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:870) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321 ERR Error: Failed opening file c:\Users\Σπύρος\AppData\Roaming\Code - Insiders\logs\20180228T201704\output_1_20180228T201708\tasks.log for writing: No such file or directory at RotatingLogger (C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\spdlog\index.js:16:3) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3004:16) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:870) at e._createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1302:661) at e.createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1301:899) at t.instantiateChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3011:689) at t.createChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3010:819) at t.onDidRegisterChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3010:290) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3009:106) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:870) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2839 [C:\Users\Σπύρος\.vscode-insiders\extensions\ms-vscode.cpptools-0.15.0]: Command `workbench.action.gotoSymbol` appears multiple times in the `commands` section. /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2839 [C:\Users\Σπύρος\.vscode-insiders\extensions\ms-vscode.cpptools-0.15.0]: Command `workbench.action.showAllSymbols` appears multiple times in the `commands` section. /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:257 [Extension Host] Error: Failed opening file C:\Users\Σπύρος\AppData\Roaming\Code - Insiders\logs\20180228T201704\exthost1.log for writing: No such file or directory at RotatingLogger (c:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\spdlog\index.js:16:3) at Object.t.createSpdLogService (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:403:666) at new t (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:454:21) at new t (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:711:615) at c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:718:174 at (at Object.t.createSpdLogService (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:403:751)) t.log @ /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:257 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321 ERR Error: Failed opening file c:\Users\Σπύρος\AppData\Roaming\Code - Insiders\logs\20180228T201704\output_1_20180228T201708\extension-output-#1.log for writing: No such file or directory at RotatingLogger (C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\spdlog\index.js:16:3) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3004:16) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:870) at e._createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1302:661) at e.createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1301:899) at t.instantiateChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3011:689) at t.createChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3010:819) at t.onDidRegisterChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3010:290) at e.fire (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:165:238) at e.registerChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2384:893) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321 ERR Error: Failed opening file c:\Users\Σπύρος\AppData\Roaming\Code - Insiders\logs\20180228T201704\output_1_20180228T201708\extension-output-#2.log for writing: No such file or directory at RotatingLogger (C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\spdlog\index.js:16:3) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3004:16) at t.create (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:93:870) at e._createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1302:661) at e.createInstance (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1301:899) at t.instantiateChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3011:689) at t.createChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3010:819) at t.onDidRegisterChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:3010:290) at e.fire (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:165:238) at e.registerChannel (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2384:893) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:257 [Extension Host] Python Extension: Failed to get conda info from conda null (at Logger.logError (C:\Users\Σπύρος\.vscode-insiders\extensions\ms-python.python-2018.1.0\out\client\common\logger.js:13:17)) t.log @ /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:257 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321 ERR File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/main.log): Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/main.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:161 WARNING: Promise with no error callback:163 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:161 Object index.js:5 [uncaught exception]: Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/main.log) onError @ index.js:5 index.js:5 Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/main.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) onError @ index.js:5 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:154 Uncaught Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/main.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321 ERR File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/sharedprocess.log): Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/sharedprocess.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:161 WARNING: Promise with no error callback:167 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:161 Object index.js:5 [uncaught exception]: Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/sharedprocess.log) onError @ index.js:5 index.js:5 Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/sharedprocess.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) onError @ index.js:5 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:154 Uncaught Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/sharedprocess.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321 ERR File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/renderer1.log): Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/renderer1.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:161 WARNING: Promise with no error callback:171 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:161 Object index.js:5 [uncaught exception]: Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/renderer1.log) onError @ index.js:5 index.js:5 Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/renderer1.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) onError @ index.js:5 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:154 Uncaught Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/renderer1.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321 ERR File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/extHost1.log): Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/extHost1.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:161 WARNING: Promise with no error callback:175 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:161 Object index.js:5 [uncaught exception]: Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/extHost1.log) onError @ index.js:5 index.js:5 Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/extHost1.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) onError @ index.js:5 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:154 Uncaught Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/extHost1.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1321 ERR File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/extHost1.log): Error: File not found (file:///c:/Users/Σπύρος/AppData/Roaming/Code - Insiders/logs/20180228T201704/extHost1.log) at new t (file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1272:150) at file:///C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:2856:800 at C:\Program Files\Microsoft VS Code Insiders\resources\app\node_modules.asar\graceful-fs\graceful-fs.js:241:16 at FSReqWrap.oncomplete (original-fs.js:114:15) /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:161 WARNING: Promise with no error callback:179 /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:161 Object console.ts:123 [Extension Host] (node:8316) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. (at process.on (internal/process/warning.js:21:17)) t.log @ console.ts:123 t._logExtensionHostMessage @ extensionHost.ts:400 (anonymous) @ extensionHost.ts:213 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`

The python output is empty.

What's wrong?

@DonJayamanne
Copy link

@nautilus7
The problem is you do not have those python modules installed in your python environment.
The python environment used by VS Code is displayed on the bottom left of the statusbar (the fully qualified path to the interpreter is displayed in the tooltip).

Note: These messages are returned by pylint. You should have the same problems reported to you if you were to use pylint from a terminal window (outside of VSCode).

@nautilus7
Copy link
Author

@DonJayamanne Hi, thanks. I thought that having them listed in the python.autoComplete.extraPaths was enough.

How can I install them? I am new to python development. I tried installing one with python -m pip install ActionMap.py but I got

Collecting ActionMap.py
Could not find a version that satisfies the requirement ActionMap.py (from versions: )
No matching distribution found for ActionMap.py

@DonJayamanne
Copy link

python.autoComplete.extraPaths

That only works for autoComplete/intellisense.

A better solution is:

  • Create a file named .env in your workspace (project folder)
  • Add the following entry:
PYTOHNPATH=xyz

Where XYZ is a path where Python will look for your custom packages/modules.

@brettcannon
Copy link
Member

Since this isn't a bug I'm closing this, but feel free to ask more questions to get help in resolving this.

@nautilus7
Copy link
Author

nautilus7 commented Feb 28, 2018

@DonJayamanne THANKS! It works now! And python.autoComplete.extraPaths is not needed at all as I can see.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. area-linting bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

6 participants