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

Run Python file in terminal input() issue #9441

Closed
gokulyc opened this issue Jan 8, 2020 · 6 comments
Closed

Run Python file in terminal input() issue #9441

gokulyc opened this issue Jan 8, 2020 · 6 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@gokulyc
Copy link

gokulyc commented Jan 8, 2020

Environment data

Version: 1.41.1 (system setup)
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18363

  • Extension version (available under the Extensions sidebar): 2020.1.57204
  • Python version (& distribution if applicable, e.g. Anaconda): anaconda base
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): XXX

Expected behaviour

image

Code

def factorial(n):
    res=1
    while n != 1:
        res=res*n
        n=n-1
    return res

from math import log10
def findlog10(num):
    return(log10(num))

if __name__ == "__main__":
    n=input('Enter interger to find factorial : ')
    print(factorial(int(n)))
    n1=input('Enter num to find log 10 is ')
    print('log10 of {} : {}'.format(n1,log10(float(n1))))

Actual behaviour

1)Input method message is showing after giving input value
2)Actual: The message should be shown before giving input

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. It only happens when python code ran in "Run Python File in Terminal"

Logs

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

User belongs to experiment group 'AlwaysDisplayTestExplorer - experiment'
User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'DebugAdapterFactory - control'
User belongs to experiment group 'AA_testing - experiment'
> conda --version
> pyenv root
> python3.7 -c "import sys;print(sys.executable)"
> python3.6 -c "import sys;print(sys.executable)"
> python3 -c "import sys;print(sys.executable)"
> python2 -c "import sys;print(sys.executable)"
> python -c "import sys;print(sys.executable)"
> py -3.7 -c "import sys;print(sys.executable)"
> py -3.6 -c "import sys;print(sys.executable)"
> py -3 -c "import sys;print(sys.executable)"
> py -2 -c "import sys;print(sys.executable)"
> ~\Anaconda3\python.exe -c "import sys;print(sys.executable)"
> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe env list
> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe env list
Starting Jedi Python language engine.
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -c "import sys;print(sys.prefix)"
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -c "import sys;print(sys.prefix)"
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -c "import sys;print(sys.executable)"
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -c "import sys;print(sys.executable)"
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -m site --user-site
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -m site --user-site
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
##########Linting Output - pylint##########
C:\Users\gokul\AppData\Local\Temp\conda-733-1945.tmp

> ~\Anaconda3\python.exe completion.py
cwd: c:\Users\gokul\.vscode\extensions\ms-python.python-2020.1.57204\pythonFiles
> ~\Anaconda3\python.exe completion.py
cwd: c:\Users\gokul\.vscode\extensions\ms-python.python-2020.1.57204\pythonFiles
> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text c:\Users\gokul\.vscode\extensions\ms-python.python-2020.1.57204\pythonFiles\lib\python\jedi\third_party\typeshed\stdlib\2and3\builtins.pyi
cwd: c:\Users\gokul\.vscode\extensions\ms-python.python-2020.1.57204\pythonFiles\lib\python\jedi\third_party\typeshed\stdlib\2and3
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text c:\Users\gokul\.vscode\extensions\ms-python.python-2020.1.57204\pythonFiles\lib\python\jedi\third_party\typeshed\stdlib\2and3\builtins.pyi
cwd: c:\Users\gokul\.vscode\extensions\ms-python.python-2020.1.57204\pythonFiles\lib\python\jedi\third_party\typeshed\stdlib\2and3
##########Linting Output - pylint##########
************* Module builtins

4,0,error,no-name-in-module:No name 'Protocol' in module 'typing'

> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
##########Linting Output - pylint##########


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


Your code has been rated at 10.00/10





> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
##########Linting Output - pylint##########


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


Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)





> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
##########Linting Output - pylint##########


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


Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)





> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
##########Linting Output - pylint##########


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


Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)





> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
##########Linting Output - pylint##########


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


Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)





> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\python.exe -m datascience.daemon --daemon-module=datascience.jupyter_daemon -v
> ~\Anaconda3\python.exe -m datascience.daemon --daemon-module=datascience.jupyter_daemon -v
> ~\Anaconda3\python.exe -m datascience.daemon --daemon-module=datascience.jupyter_daemon -v
> ~\Anaconda3\python.exe (daemon) -m jupyter notebook --version
> ~\Anaconda3\python.exe (daemon) c:\Users\gokul\.vscode\extensions\ms-python.python-2020.1.57204\pythonFiles\datascience\jupyter_nbInstalled.py
> ~\Anaconda3\python.exe (daemon) -m jupyter kernelspec --version
> ~\Anaconda3\python.exe (daemon) -m jupyter notebook --no-browser --notebook-dir=C:\Users\gokul\AppData\Local\Temp\69f39190-c245-48e0-988c-0b61d9b8df6f --config=C:\Users\gokul\AppData\Local\Temp\69f39190-c245-48e0-988c-0b61d9b8df6f\jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
> ~\Anaconda3\Scripts\conda.exe run -n base python -m jupyter kernelspec list --json
> ~\Anaconda3\Scripts\conda.exe run -n base python -m jupyter kernelspec list --json
> ~\Anaconda3\Scripts\conda.exe run -n base python -c "import ipykernel"
> ~\Anaconda3\Scripts\conda.exe run -n base python -c "import ipykernel"
> ~\Anaconda3\Scripts\conda.exe run -n base python -m ipykernel install --user --name python37364bitbasecondac1e1af396773407484830c731e4132c7 --display-name "Python 3.7.3 64-bit ('base': conda)"
> ~\Anaconda3\Scripts\conda.exe run -n base python -m ipykernel install --user --name python37364bitbasecondac1e1af396773407484830c731e4132c7 --display-name "Python 3.7.3 64-bit ('base': conda)"
> ~\Anaconda3\python.exe (daemon) c:\Users\gokul\.vscode\extensions\ms-python.python-2020.1.57204\pythonFiles\datascience\getServerInfo.py
> ~\Anaconda3\python.exe (daemon) c:\Users\gokul\.vscode\extensions\ms-python.python-2020.1.57204\pythonFiles\datascience\getServerInfo.py
> ~\Anaconda3\python.exe (daemon) c:\Users\gokul\.vscode\extensions\ms-python.python-2020.1.57204\pythonFiles\datascience\getServerInfo.py
> ~\Anaconda3\python.exe (daemon) c:\Users\gokul\.vscode\extensions\ms-python.python-2020.1.57204\pythonFiles\datascience\getServerInfo.py
> ~\Anaconda3\Scripts\conda.exe run -n base python -m jupyter kernelspec list --json
> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
> ~\Anaconda3\Scripts\conda.exe run -n base python -m pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2\calc.py
cwd: e:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2
##########Linting Output - pylint##########


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


Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)





> ~\Anaconda3\Scripts\conda.exe info --json
> ~\Anaconda3\Scripts\conda.exe info --json

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

(base) E:\Github\Excel-O365-Testcase-Automation-Scenarios\PyassignmentL2>C:/Users/gokul/Anaconda3/Scripts/conda.exe run -n base python e:/Github/Excel-O365-Testcase-Automation-Scenarios/PyassignmentL2/calc.py
10
1000
Enter interger to find factorial : 3628800
Enter num to find log 10 is log10 of 1000 : 3.0
@gokulyc gokulyc added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Jan 8, 2020
@DonJayamanne DonJayamanne added the P0 label Jan 8, 2020
@DonJayamanne
Copy link

Related issues:

@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Jan 8, 2020
@kimadeline
Copy link

Hi @gokulyc 👋 Thank you for reaching out.

Which version of conda do you use? If you look at the issues @DonJayamanne mentioned above there are issues with conda 4.8, while it works with conda 4.7 (with a workaround).

@gokulyc
Copy link
Author

gokulyc commented Jan 9, 2020

image

  1. Yes, Conda version is 4.8, how can I fix this issue?
  2. Provide a way to run conda run w/o buffering stdout (and output in general) conda/conda#9412 doesn't mention any fix. a temporary fix may be sufficient for now.

@traveller59
Copy link

the "conda run" also breaks the stdout order of my multiprocessing program.
downgrade python extension can avoid this problem.
please add a option to disable "conda run" forever. currently I can't find any related settings in python extension.

@kimadeline
Copy link

Hi @gokulyc , you can either downgrade to conda 4.7 (the repro step described in conda/conda#9572 using conda 4.7.12 works) or downgrade the extension to the previous release (2019.11) for now.

@luabud
Copy link
Member

luabud commented Jan 14, 2020

Closing in favour of upstream issue conda/conda#9412 and conda/conda#9572.

@luabud luabud closed this as completed Jan 14, 2020
@ghost ghost removed needs upstream fix labels Jan 14, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jan 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

6 participants