You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Language Server version: v2020.12.1 (vs code version 1.51.1, with remote ssh connection)
OS and version: Red Hat Enterprise Linux Server 7.4 (Maipo) - remote server (local OS is Ubuntu 18.04.3 LTS)
Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.11 in a conda environment (created with miniconda)
Expected behaviour
No errors, code coloring and code suggestions (autocomplete) working through entire .py files.
Actual behaviour
I'm still having this issue with version 2020.12.1 - Error while type checking file: RangeError: Maximum call stack size exceeded.
In both files I'm working on now along with having the error message I'm having code coloring and code suggestions (autocomplete) disappearing right after the part in code where I define a pyspark's UDF (user defined function) using a decorator. Meaning something of this kind:
An internal error occurred while type checking file "/home/local/X5/serzakharov/projects/x5id/sz_x5_id/0025_loyalty_funnel/rfm.py": RangeError: Maximum call stack size exceeded
at Object.isSameGenericClass (/home/local/X5/serzakharov/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.1/dist/pyright-internal/src/analyzer/types.ts:567:21)
at verifyTypeArgumentsAssignable (/home/local/X5/serzakharov/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:15213:26)
at canAssignClassWithTypeArgs (/home/local/X5/serzakharov/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:15140:18)
at canAssignClass (/home/local/X5/serzakharov/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:14998:24)
at canAssignType (/home/local/X5/serzakharov/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:15961:22)
at assignTypeToTypeVar (/home/local/X5/serzakharov/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:15521:18)
at canAssignType (/home/local/X5/serzakharov/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:15634:24)
at partiallySpecializeFunctionForBoundClassOrObject (/home/local/X5/serzakharov/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:17268:25)
at bindFunctionToClassOrObject (/home/local/X5/serzakharov/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:17139:24)
at /home/local/X5/serzakharov/.vscode-server/extensions/ms-python.vscode-pylance-2020.12.1/dist/pyright-internal/src/analyzer/typeEvaluator.ts:4176:28Pylance
UPDATE
Here's the log I have after enabling trace logging by adding "python.analysis.logLevel": "Trace" to my settings.json configuration file:
Environment data
Expected behaviour
No errors, code coloring and code suggestions (autocomplete) working through entire
.py
files.Actual behaviour
I'm still having this issue with version 2020.12.1 - Error while type checking file:
RangeError: Maximum call stack size exceeded
.In both files I'm working on now along with having the error message I'm having code coloring and code suggestions (autocomplete) disappearing right after the part in code where I define a
pyspark
's UDF (user defined function) using a decorator. Meaning something of this kind:Logs
UPDATE
Here's the log I have after enabling trace logging by adding "python.analysis.logLevel": "Trace" to my settings.json configuration file:
The text was updated successfully, but these errors were encountered: