Created
December 6, 2023 10:22
-
-
Save StarrFox/0608c9a82fe9061a7c220b9e69d45d6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
An internal error occurred while type checking file "/home/starr/tmp/zz_Garbage/a.py": TypeError: Cannot read properties of undefined (reading 'category') | |
at isVariadicTypeVar (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/types.ts:2703:17) | |
at forEach (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typePrinter.ts:254:37) | |
at Array.forEach (<anonymous>) | |
at printTypeInternal (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typePrinter.ts:247:62) | |
at Object.printType (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typePrinter.ts:100:12) | |
at printType (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:25810:28) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:25769:32) | |
at a.printSrcDestTypes [as timeOperation] (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/timing.ts:40:20) | |
at assignTypeToTypeVar (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/constraintSolver.ts:264:35) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:22363:22) | |
at assignType [as timeOperation] (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/timing.ts:40:20) | |
at assignTypeToTypeVar (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/constraintSolver.ts:537:24) | |
at assignType (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:22363:22) | |
at assignTypeToNameNode (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:3191:18) | |
at evaluateTypesForImportFromAs (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:18232:9) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:18976:21) | |
at a.evaluateTypesForStatement [as timeOperation] (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/timing.ts:40:20) | |
at forEach (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:1520:33) | |
at Array.forEach (<anonymous>) | |
at j.visitImportFrom (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:1519:26) | |
at j.visit (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:424:29) | |
at j.visitNode (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:933:21) | |
at j.walk (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:915:37) | |
at j.walk (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:267:19) | |
at forEach (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:924:22) | |
at Array.forEach (<anonymous>) | |
at j.walkMultiple (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:922:15) | |
at j.walk (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:917:18) | |
at j.walk (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:267:19) | |
at j._walkStatementsAndReportUnreachable (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:2695:18) | |
at j.check (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:246:14) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/sourceFile.ts:797:29) | |
at a.timeOperation (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/timing.ts:44:28) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/sourceFile.ts:788:45) | |
at t.LogTracker.log (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/logTracker.ts:45:20) | |
at t.SourceFile.check (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/sourceFile.ts:786:33) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/program.ts:1902:40) | |
at t.LogTracker.log (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/logTracker.ts:45:20) | |
at F._checkTypes (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/program.ts:1869:33) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/program.ts:673:30) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:597:20) | |
at a.runWithCancellationToken [as timeOperation] (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/timing.ts:44:28) | |
at F._runEvaluatorWithCancellationToken (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/program.ts:1044:41) | |
at F.analyze (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/program.ts:637:21) | |
at analyzeProgram (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/analysis.ts:52:33) | |
at t.BackgroundAnalysisProgram.startAnalysis (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/backgroundAnalysisProgram.ts:156:16) | |
at Timeout._onTimeout (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/service.ts:1705:67) | |
at listOnTimeout (node:internal/timers:569:17) | |
at processTimers (node:internal/timers:512:7) | |
Error performing analysis: TypeError: Cannot read properties of undefined (reading 'category') | |
at isVariadicTypeVar (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/types.ts:2703:17) | |
at forEach (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typePrinter.ts:254:37) | |
at Array.forEach (<anonymous>) | |
at printTypeInternal (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typePrinter.ts:247:62) | |
at Object.printType (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typePrinter.ts:100:12) | |
at printType (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:25810:28) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:25769:32) | |
at a.printSrcDestTypes [as timeOperation] (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/timing.ts:40:20) | |
at assignTypeToTypeVar (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/constraintSolver.ts:264:35) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:22363:22) | |
at assignType [as timeOperation] (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/timing.ts:40:20) | |
at assignTypeToTypeVar (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/constraintSolver.ts:537:24) | |
at assignType (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:22363:22) | |
at assignTypeToNameNode (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:3191:18) | |
at evaluateTypesForImportFromAs (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:18232:9) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:18976:21) | |
at a.evaluateTypesForStatement [as timeOperation] (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/timing.ts:40:20) | |
at forEach (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:1520:33) | |
at Array.forEach (<anonymous>) | |
at j.visitImportFrom (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:1519:26) | |
at j.visit (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:424:29) | |
at j.visitNode (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:933:21) | |
at j.walk (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:915:37) | |
at j.walk (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:267:19) | |
at forEach (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:924:22) | |
at Array.forEach (<anonymous>) | |
at j.walkMultiple (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:922:15) | |
at j.walk (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/parseTreeWalker.ts:917:18) | |
at j.walk (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:267:19) | |
at j._walkStatementsAndReportUnreachable (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:2695:18) | |
at j.check (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/checker.ts:246:14) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/sourceFile.ts:797:29) | |
at a.timeOperation (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/timing.ts:44:28) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/sourceFile.ts:788:45) | |
at t.LogTracker.log (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/logTracker.ts:45:20) | |
at t.SourceFile.check (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/sourceFile.ts:786:33) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/program.ts:1902:40) | |
at t.LogTracker.log (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/logTracker.ts:45:20) | |
at F._checkTypes (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/program.ts:1869:33) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/program.ts:673:30) | |
at callback (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/typeEvaluator.ts:597:20) | |
at a.runWithCancellationToken [as timeOperation] (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/common/timing.ts:44:28) | |
at F._runEvaluatorWithCancellationToken (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/program.ts:1044:41) | |
at F.analyze (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/program.ts:637:21) | |
at analyzeProgram (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/analysis.ts:52:33) | |
at t.BackgroundAnalysisProgram.startAnalysis (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/backgroundAnalysisProgram.ts:156:16) | |
at Timeout._onTimeout (/nix/store/f0fzac5zfdnpiqk1ixd1m4pyyqcsy5jq-pyright-1.1.335/lib/node_modules/pyright/dist/pyright-internal/src/analyzer/service.ts:1705:67) | |
at listOnTimeout (node:internal/timers:569:17) | |
at processTimers (node:internal/timers:512:7) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment