Created
January 26, 2025 02:38
-
-
Save Bazmundi/2ba874aaa2d0c097ee784db8bab9417f to your computer and use it in GitHub Desktop.
joern reports from python files in blender 4.3 baseline
This file contains 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
joern> importCode(inputPath="/home/asterion/dev/rag/data/blender/blender", projectName="blender") | |
Using generator for language: PYTHONSRC: PythonSrcCpgGenerator | |
Creating project `blender` for code at `/home/asterion/dev/rag/data/blender/blender` | |
Project with name blender already exists - overwriting | |
closing/saving project `blender` | |
======================================================================================================= | |
Invoking CPG generator in a separate process. Note that the new process will consume additional memory. | |
If you are importing a large codebase (and/or running into memory issues), please try the following: | |
1) exit joern | |
2) invoke the frontend: /opt/joern/joern-cli/pysrc2cpg -J-Xmx30688m /home/asterion/dev/rag/data/blender/blender -o /home/asterion/dev/rag/joern/workspace/blender/cpg.bin.zip | |
3) start joern, import the cpg: `importCpg("path/to/cpg")` | |
======================================================================================================= | |
2025-01-26 12:27:52.948 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/modules/python_wheel_generate.py at line 37 column 11. Invalid code: as fh: | |
Parser exception message: Encountered " "as" "as "" at line 37, column 11. | |
Was expecting: | |
":" ... | |
2025-01-26 12:27:52.955 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/modules/python_wheel_generate.py at line 38 column 12. Invalid code: fh.write(value) | |
Parser exception message: Encountered " <INDENT> " "" at line 38, column 12. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:52.957 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/modules/python_wheel_generate.py at line 40 column 1. Invalid code: def search_impl(directory: str, fn: Callable[[os.DirEntry[str]], bool], result: list[str]) -> None: | |
Parser exception message: Encountered " <DEDENT> " "" at line 40, column 1. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:52.958 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/modules/python_wheel_generate.py at line 42 column 4. Invalid code: for entry in os.scandir(directory): | |
Parser exception message: Encountered " <INDENT> " "" at line 42, column 4. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:52.958 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/modules/python_wheel_generate.py at line 43 column 8. Invalid code: if entry.is_dir(): | |
Parser exception message: Encountered " <INDENT> " "" at line 43, column 8. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:52.958 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/modules/python_wheel_generate.py at line 44 column 12. Invalid code: search_impl(entry.path, fn, result) | |
Parser exception message: Encountered " <INDENT> " "" at line 44, column 12. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:52.958 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/modules/python_wheel_generate.py at line 45 column 8. Invalid code: if fn(entry): | |
Parser exception message: Encountered " <DEDENT> " "" at line 45, column 8. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:52.958 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/modules/python_wheel_generate.py at line 46 column 12. Invalid code: result.append(entry.path) | |
Parser exception message: Encountered " <INDENT> " "" at line 46, column 12. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:52.959 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/modules/python_wheel_generate.py at line 48 column 1. Invalid code: def search(directory: str, fn: Callable[[os.DirEntry[str]], bool]) -> list[str]: | |
Parser exception message: Encountered " <DEDENT> " "" at line 48, column 1. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:52.959 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/modules/python_wheel_generate.py at line 50 column 4. Invalid code: result: list[str] = [] | |
Parser exception message: Encountered " <INDENT> " "" at line 50, column 4. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:53.362 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/test_cli_blender.py at line 167 column 11. Invalid code: as fh: | |
Parser exception message: Encountered " "as" "as "" at line 167, column 11. | |
Was expecting: | |
":" ... | |
2025-01-26 12:27:53.363 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/test_cli_blender.py at line 168 column 12. Invalid code: fh.write(value) | |
Parser exception message: Encountered " <INDENT> " "" at line 168, column 12. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:53.363 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/test_cli_blender.py at line 170 column 1. Invalid code: def create_package( | |
pkg_src_dir: str, | |
*, | |
pkg_idname: str, | |
# Optional. | |
wheel_params: Sequence[WheelModuleParams] = (), | |
platforms: tuple[str, ...] | None = None, | |
blender_version_min: str | None = None, | |
blender_version_max: str | None = None, | |
python_script: str | None = None, | |
file_contents: dict[str, bytes] | None = None, | |
) -> None: | |
Parser exception message: Encountered " <DEDENT> " "" at line 170, column 1. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:53.364 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/tests/test_cli_blender.py at line 184 column 4. Invalid code: pkg_name = pkg_idname.replace("_", " ").title() | |
Parser exception message: Encountered " <INDENT> " "" at line 184, column 4. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:53.845 WARN PythonAstVisitor$: Could not parse file extern/audaspace/src/respec/filter_design.py at line 54 column 4. Invalid code: print("\n", end='') | |
Parser exception message: Encountered " <NAME> "print "" at line 54, column 4. | |
Was expecting: | |
<INDENT> ... | |
2025-01-26 12:27:53.846 WARN PythonAstVisitor$: Could not parse file extern/audaspace/src/respec/filter_design.py at line 55 column 1. Invalid code: print(f'}};') | |
Parser exception message: Encountered " <DEDENT> " "" at line 55, column 1. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
2025-01-26 12:27:53.857 WARN CodeToCpg$: Failed to convert file extern/mantaflow/preprocessed/python/defines.py | |
io.joern.pythonparser.TokenMgrError: Lexical error at line 6, column 17. Encountered: '10' (10), after prefix "!" | |
at io.joern.pythonparser.PythonParserTokenManager.getNextToken(PythonParserTokenManager.java:3692) ~[io.joern.pysrc2cpg-4.0.226.jar:4.0.226] | |
at io.joern.pythonparser.PythonParser.getNextToken(PythonParser.java:7581) ~[io.joern.pysrc2cpg-4.0.226.jar:4.0.226] | |
at io.joern.pythonparser.PythonParser.recoverAndCreateErrorStmt(PythonParser.java:35) ~[io.joern.pysrc2cpg-4.0.226.jar:4.0.226] | |
at io.joern.pythonparser.PythonParser.module(PythonParser.java:240) ~[io.joern.pysrc2cpg-4.0.226.jar:4.0.226] | |
at io.joern.pythonparser.PyParser.parse(PyParser.scala:23) ~[io.joern.pysrc2cpg-4.0.226.jar:4.0.226] | |
at io.joern.pythonparser.PyParser.parse(PyParser.scala:15) ~[io.joern.pysrc2cpg-4.0.226.jar:4.0.226] | |
at io.joern.pysrc2cpg.CodeToCpg.runOnPart(CodeToCpg.scala:25) [io.joern.pysrc2cpg-4.0.226.jar:4.0.226] | |
at io.joern.pysrc2cpg.CodeToCpg.runOnPart(CodeToCpg.scala:20) [io.joern.pysrc2cpg-4.0.226.jar:4.0.226] | |
at io.shiftleft.passes.ForkJoinParallelCpgPass$$anon$2.accept(CpgPass.scala:124) [io.shiftleft.codepropertygraph_3-1.7.23.jar:1.7.23] | |
at io.shiftleft.passes.ForkJoinParallelCpgPass$$anon$2.accept(CpgPass.scala:123) [io.shiftleft.codepropertygraph_3-1.7.23.jar:1.7.23] | |
at java.util.stream.ReduceOps$4ReducingSink.accept(ReduceOps.java:220) [?:?] | |
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) [?:?] | |
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) [?:?] | |
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) [?:?] | |
at java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:960) [?:?] | |
at java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:934) [?:?] | |
at java.util.stream.AbstractTask.compute(AbstractTask.java:327) [?:?] | |
at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754) [?:?] | |
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?] | |
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?] | |
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?] | |
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?] | |
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?] | |
2025-01-26 12:27:54.239 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/cli/blender_ext.py at line 1355 column 7. Invalid code: as fp: | |
Parser exception message: Encountered " "as" "as "" at line 1355, column 7. | |
Was expecting: | |
":" ... | |
2025-01-26 12:27:54.240 WARN PythonAstVisitor$: Could not parse file scripts/addons_core/bl_pkg/cli/blender_ext.py at line 1356 column 8. Invalid code: response_headers = fp.info() | |
Parser exception message: Encountered " <INDENT> " "" at line 1356, column 8. | |
Was expecting one of: | |
"if" ... | |
"not" ... | |
"def" ... | |
"async" ... | |
"lambda" ... | |
"for" ... | |
"with" ... | |
"return" ... | |
"try" ... | |
"class" ... | |
"while" ... | |
"import" ... | |
"from" ... | |
"raise" ... | |
"pass" ... | |
"del" ... | |
"yield" ... | |
"assert" ... | |
"break" ... | |
"continue" ... | |
"global" ... | |
"nonlocal" ... | |
"await" ... | |
"None" ... | |
"True" ... | |
"False" ... | |
"..." ... | |
"+" ... | |
"-" ... | |
"@" ... | |
"~" ... | |
"(" ... | |
"[" ... | |
"{" ... | |
"*" ... | |
<DEC_INTEGER> ... | |
<BIN_INTEGER> ... | |
<OCT_INTEGER> ... | |
<HEX_INTEGER> ... | |
<FLOAT> ... | |
<IMAGINARY> ... | |
<NAME> ... | |
<STRING_PREFIX> ... | |
<FORMAT_STRING_PREFIX> ... | |
"STRING_QUOTE_OPEN" ... | |
moving cpg.bin.zip to cpg.bin because it is already a database file | |
Creating working copy of CPG to be safe | |
Loading base CPG from: /home/asterion/dev/rag/joern/workspace/blender/cpg.bin.tmp | |
Code successfully imported. You can now query it using `cpg`. | |
For an overview of all imported code, type `workspace`. | |
Adding default overlays to base CPG | |
2025-01-26 12:28:05.316 WARN CdgPass: Found CDG edge starting at BLOCK node io.shiftleft.codepropertygraph.generated.nodes.Identifier[label=IDENTIFIER; seq=119200; id=68719595936] <-> io.shiftleft.codepropertygraph.generated.nodes.Block[label=BLOCK; seq=24338; id=25769828114]. This is most likely caused by an invalid CFG. Method: io.shiftleft.codepropertygraph.generated.nodes.Method[label=METHOD; seq=5281; id=111669154977] number of outgoing CFG edges from BLOCK node: 2 | |
2025-01-26 12:28:05.317 WARN CdgPass: Found CDG edge starting at BLOCK node io.shiftleft.codepropertygraph.generated.nodes.Call[label=CALL; seq=31499; id=30064802571] <-> io.shiftleft.codepropertygraph.generated.nodes.Block[label=BLOCK; seq=7168; id=25769810944]. This is most likely caused by an invalid CFG. Method: io.shiftleft.codepropertygraph.generated.nodes.Method[label=METHOD; seq=2061; id=111669151757] number of outgoing CFG edges from BLOCK node: 2 | |
2025-01-26 12:28:05.317 WARN CdgPass: Found CDG edge starting at BLOCK node io.shiftleft.codepropertygraph.generated.nodes.Identifier[label=IDENTIFIER; seq=119199; id=68719595935] <-> io.shiftleft.codepropertygraph.generated.nodes.Block[label=BLOCK; seq=24338; id=25769828114]. This is most likely caused by an invalid CFG. Method: io.shiftleft.codepropertygraph.generated.nodes.Method[label=METHOD; seq=5281; id=111669154977] number of outgoing CFG edges from BLOCK node: 2 | |
2025-01-26 12:28:05.317 WARN CdgPass: Found CDG edge starting at BLOCK node io.shiftleft.codepropertygraph.generated.nodes.Call[label=CALL; seq=31498; id=30064802570] <-> io.shiftleft.codepropertygraph.generated.nodes.Block[label=BLOCK; seq=7168; id=25769810944]. This is most likely caused by an invalid CFG. Method: io.shiftleft.codepropertygraph.generated.nodes.Method[label=METHOD; seq=2061; id=111669151757] number of outgoing CFG edges from BLOCK node: 2 | |
2025-01-26 12:28:05.317 WARN CdgPass: Found CDG edge starting at BLOCK node io.shiftleft.codepropertygraph.generated.nodes.Identifier[label=IDENTIFIER; seq=119202; id=68719595938] <-> io.shiftleft.codepropertygraph.generated.nodes.Block[label=BLOCK; seq=24338; id=25769828114]. This is most likely caused by an invalid CFG. Method: io.shiftleft.codepropertygraph.generated.nodes.Method[label=METHOD; seq=5281; id=111669154977] number of outgoing CFG edges from BLOCK node: 2 | |
2025-01-26 12:28:05.317 WARN CdgPass: Found CDG edge starting at BLOCK node io.shiftleft.codepropertygraph.generated.nodes.Call[label=CALL; seq=31497; id=30064802569] <-> io.shiftleft.codepropertygraph.generated.nodes.Block[label=BLOCK; seq=7168; id=25769810944]. This is most likely caused by an invalid CFG. Method: io.shiftleft.codepropertygraph.generated.nodes.Method[label=METHOD; seq=2061; id=111669151757] number of outgoing CFG edges from BLOCK node: 2 | |
2025-01-26 12:28:05.317 WARN CdgPass: Found CDG edge starting at BLOCK node io.shiftleft.codepropertygraph.generated.nodes.Identifier[label=IDENTIFIER; seq=119201; id=68719595937] <-> io.shiftleft.codepropertygraph.generated.nodes.Block[label=BLOCK; seq=24338; id=25769828114]. This is most likely caused by an invalid CFG. Method: io.shiftleft.codepropertygraph.generated.nodes.Method[label=METHOD; seq=5281; id=111669154977] number of outgoing CFG edges from BLOCK node: 2 | |
2025-01-26 12:28:05.317 WARN CdgPass: Found CDG edge starting at BLOCK node io.shiftleft.codepropertygraph.generated.nodes.Call[label=CALL; seq=31496; id=30064802568] <-> io.shiftleft.codepropertygraph.generated.nodes.Block[label=BLOCK; seq=7168; id=25769810944]. This is most likely caused by an invalid CFG. Method: io.shiftleft.codepropertygraph.generated.nodes.Method[label=METHOD; seq=2061; id=111669151757] number of outgoing CFG edges from BLOCK node: 2 | |
2025-01-26 12:28:05.317 WARN CdgPass: Found CDG edge starting at BLOCK node io.shiftleft.codepropertygraph.generated.nodes.Identifier[label=IDENTIFIER; seq=119203; id=68719595939] <-> io.shiftleft.codepropertygraph.generated.nodes.Block[label=BLOCK; seq=24338; id=25769828114]. This is most likely caused by an invalid CFG. Method: io.shiftleft.codepropertygraph.generated.nodes.Method[label=METHOD; seq=5281; id=111669154977] number of outgoing CFG edges from BLOCK node: 2 | |
The graph has been modified. You may want to use the `save` command to persist changes to disk. All changes will also be saved collectively on exit | |
2025-01-26 12:28:09.328 WARN ReachingDefPass: scripts/modules/rna_manual_reference.py:<module> has more than 4000 definitions | |
2025-01-26 12:28:09.328 WARN ReachingDefPass: Skipping. | |
2025-01-26 12:28:10.746 WARN ReachingDefPass: scripts/addons_core/rigify/rigs/faces/super_face.py:<module>.create_sample has more than 4000 definitions | |
2025-01-26 12:28:10.746 WARN ReachingDefPass: Skipping. | |
2025-01-26 12:28:10.753 WARN ReachingDefPass: scripts/addons_core/rigify/metarigs/Animals/bird.py:<module>.create has more than 4000 definitions | |
2025-01-26 12:28:10.753 WARN ReachingDefPass: Skipping. | |
2025-01-26 12:28:13.673 WARN ReachingDefPass: scripts/addons_core/rigify/metarigs/Animals/cat.py:<module>.create has more than 4000 definitions | |
2025-01-26 12:28:13.673 WARN ReachingDefPass: Skipping. | |
2025-01-26 12:28:14.200 WARN ReachingDefPass: scripts/addons_core/rigify/metarigs/Animals/horse.py:<module>.create has more than 4000 definitions | |
2025-01-26 12:28:14.201 WARN ReachingDefPass: Skipping. | |
2025-01-26 12:28:17.900 WARN ReachingDefPass: scripts/addons_core/rigify/metarigs/Animals/wolf.py:<module>.create has more than 4000 definitions | |
2025-01-26 12:28:17.900 WARN ReachingDefPass: Skipping. | |
2025-01-26 12:28:20.892 WARN ReachingDefPass: scripts/addons_core/rigify/metarigs/human.py:<module>.create has more than 4000 definitions | |
2025-01-26 12:28:20.892 WARN ReachingDefPass: Skipping. | |
The graph has been modified. You may want to use the `save` command to persist changes to disk. All changes will also be saved collectively on exit | |
2025-01-26 12:28:23.146 WARN RecoverForPythonFile: Unhandled call assigned to literal point <operator>.slice @ scripts/addons_core/io_scene_fbx/export_fbx_bin.py#L1357 | |
2025-01-26 12:28:23.381 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp67 = blender_object.data.shape_keys | |
tmp67.path_resolve(get_target_object_path(sk_c.data_path))),(FIELD_IDENTIFIER,name) @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/fcurves/channels.py#L252 | |
2025-01-26 12:28:23.381 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp67 = blender_object.data.shape_keys | |
tmp67.path_resolve(get_target_object_path(sk_c.data_path))),(FIELD_IDENTIFIER,name) @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/fcurves/channels.py#L252 | |
2025-01-26 12:28:23.381 WARN RecoverForPythonFile: Unable to assign identifier 'sk_name' to field load '<unknown>' @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/fcurves/channels.py#L252 | |
2025-01-26 12:28:23.516 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp94 = action.fcurves | |
tmp94.new(data_path, index = array_index, action_group = action_group_name)),(FIELD_IDENTIFIER,keyframe_points) @ scripts/modules/bpy_extras/anim_utils.py#L680 | |
2025-01-26 12:28:23.517 WARN RecoverForPythonFile: Unable to assign identifier 'keyframe_points' to field load '<unknown>' @ scripts/modules/bpy_extras/anim_utils.py#L680 | |
2025-01-26 12:28:23.548 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp211 = pb[mch_eyes_parent].constraints[0] | |
tmp211.driver_add("influence")),(FIELD_IDENTIFIER,driver) @ scripts/addons_core/rigify/rigs/faces/super_face.py#L949 | |
2025-01-26 12:28:23.548 WARN RecoverForPythonFile: Unable to assign identifier 'drv' to field load '<unknown>' @ scripts/addons_core/rigify/rigs/faces/super_face.py#L949 | |
2025-01-26 12:28:23.554 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp207 = pb[bone].constraints[1] | |
tmp207.driver_add("influence")),(FIELD_IDENTIFIER,driver) @ scripts/addons_core/rigify/rigs/faces/super_face.py#L937 | |
2025-01-26 12:28:23.554 WARN RecoverForPythonFile: Unable to assign identifier 'drv' to field load '<unknown>' @ scripts/addons_core/rigify/rigs/faces/super_face.py#L937 | |
2025-01-26 12:28:23.848 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp9 = child.data.shape_keys | |
tmp9.path_resolve(get_target_object_path(sk_c.data_path))),(FIELD_IDENTIFIER,name) @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/drivers.py#L68 | |
2025-01-26 12:28:23.852 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp9 = child.data.shape_keys | |
tmp9.path_resolve(get_target_object_path(sk_c.data_path))),(FIELD_IDENTIFIER,name) @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/drivers.py#L68 | |
2025-01-26 12:28:23.853 WARN RecoverForPythonFile: Unable to assign identifier 'sk_name' to field load '<unknown>' @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/drivers.py#L68 | |
2025-01-26 12:28:24.288 WARN RecoverForPythonFile: Unhandled call assigned to literal point <operator>.slice @ scripts/addons_core/io_scene_fbx/fbx_utils.py#L1335 | |
2025-01-26 12:28:24.301 WARN RecoverForPythonFile: Unhandled call assigned to literal point <operator>.slice @ scripts/addons_core/io_scene_fbx/fbx_utils.py#L1498 | |
2025-01-26 12:28:24.301 WARN RecoverForPythonFile: Unhandled call assigned to literal point <operator>.slice @ scripts/addons_core/io_scene_fbx/fbx_utils.py#L1499 | |
2025-01-26 12:28:24.594 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp124 = col_b.split(factor = 0.5) | |
tmp124.operator("wm.url_open", text = domain_extract_from_url(value), icon = 'URL')),(FIELD_IDENTIFIER,url) @ scripts/addons_core/bl_pkg/bl_extension_ui.py#L1392 | |
2025-01-26 12:28:24.594 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp124 = col_b.split(factor = 0.5) | |
tmp124.operator("wm.url_open", text = domain_extract_from_url(value), icon = 'URL')),(FIELD_IDENTIFIER,url) @ scripts/addons_core/bl_pkg/bl_extension_ui.py#L1392 | |
2025-01-26 12:28:31.481 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp67 = blender_object.data.shape_keys | |
tmp67.path_resolve(get_target_object_path(sk_c.data_path))),(FIELD_IDENTIFIER,name) @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/fcurves/channels.py#L252 | |
2025-01-26 12:28:31.484 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp67 = blender_object.data.shape_keys | |
tmp67.path_resolve(get_target_object_path(sk_c.data_path))),(FIELD_IDENTIFIER,name) @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/fcurves/channels.py#L252 | |
2025-01-26 12:28:31.484 WARN RecoverForPythonFile: Unable to assign identifier 'sk_name' to field load '<unknown>' @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/fcurves/channels.py#L252 | |
2025-01-26 12:28:31.692 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp94 = action.fcurves | |
tmp94.new(data_path, index = array_index, action_group = action_group_name)),(FIELD_IDENTIFIER,keyframe_points) @ scripts/modules/bpy_extras/anim_utils.py#L680 | |
2025-01-26 12:28:31.692 WARN RecoverForPythonFile: Unable to assign identifier 'keyframe_points' to field load '<unknown>' @ scripts/modules/bpy_extras/anim_utils.py#L680 | |
2025-01-26 12:28:31.990 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp9 = child.data.shape_keys | |
tmp9.path_resolve(get_target_object_path(sk_c.data_path))),(FIELD_IDENTIFIER,name) @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/drivers.py#L68 | |
2025-01-26 12:28:31.990 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp9 = child.data.shape_keys | |
tmp9.path_resolve(get_target_object_path(sk_c.data_path))),(FIELD_IDENTIFIER,name) @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/drivers.py#L68 | |
2025-01-26 12:28:31.990 WARN RecoverForPythonFile: Unable to assign identifier 'sk_name' to field load '<unknown>' @ scripts/addons_core/io_scene_gltf2/blender/exp/animation/drivers.py#L68 | |
2025-01-26 12:28:32.941 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp211 = pb[mch_eyes_parent].constraints[0] | |
tmp211.driver_add("influence")),(FIELD_IDENTIFIER,driver) @ scripts/addons_core/rigify/rigs/faces/super_face.py#L949 | |
2025-01-26 12:28:32.941 WARN RecoverForPythonFile: Unable to assign identifier 'drv' to field load '<unknown>' @ scripts/addons_core/rigify/rigs/faces/super_face.py#L949 | |
2025-01-26 12:28:32.950 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp207 = pb[bone].constraints[1] | |
tmp207.driver_add("influence")),(FIELD_IDENTIFIER,driver) @ scripts/addons_core/rigify/rigs/faces/super_face.py#L937 | |
2025-01-26 12:28:32.950 WARN RecoverForPythonFile: Unable to assign identifier 'drv' to field load '<unknown>' @ scripts/addons_core/rigify/rigs/faces/super_face.py#L937 | |
2025-01-26 12:28:33.468 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp29 = col_b.split(factor = 0.5) | |
tmp29.operator("wm.url_open", text = domain_extract_from_url(item_doc_url), icon = 'HELP' if addon_type in {ADDON_TYPE_LEGACY_CORE, ADDON_TYPE_LEGACY_USER} else 'URL')),(FIELD_IDENTIFIER,url) @ scripts/addons_core/bl_pkg/bl_extension_ui.py#L263 | |
2025-01-26 12:28:33.469 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp29 = col_b.split(factor = 0.5) | |
tmp29.operator("wm.url_open", text = domain_extract_from_url(item_doc_url), icon = 'HELP' if addon_type in {ADDON_TYPE_LEGACY_CORE, ADDON_TYPE_LEGACY_USER} else 'URL')),(FIELD_IDENTIFIER,url) @ scripts/addons_core/bl_pkg/bl_extension_ui.py#L263 | |
2025-01-26 12:28:33.469 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp30 = col_b.split(factor = 0.5) | |
tmp30.operator("wm.url_open", text = "Report a Bug", icon = 'URL')),(FIELD_IDENTIFIER,url) @ scripts/addons_core/bl_pkg/bl_extension_ui.py#L272 | |
2025-01-26 12:28:33.469 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp30 = col_b.split(factor = 0.5) | |
tmp30.operator("wm.url_open", text = "Report a Bug", icon = 'URL')),(FIELD_IDENTIFIER,url) @ scripts/addons_core/bl_pkg/bl_extension_ui.py#L272 | |
2025-01-26 12:28:33.545 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp124 = col_b.split(factor = 0.5) | |
tmp124.operator("wm.url_open", text = domain_extract_from_url(value), icon = 'URL')),(FIELD_IDENTIFIER,url) @ scripts/addons_core/bl_pkg/bl_extension_ui.py#L1392 | |
2025-01-26 12:28:33.545 WARN RecoverForPythonFile: Unhandled field structure (BLOCK,tmp124 = col_b.split(factor = 0.5) | |
tmp124.operator("wm.url_open", text = domain_extract_from_url(value), icon = 'URL')),(FIELD_IDENTIFIER,url) @ scripts/addons_core/bl_pkg/bl_extension_ui.py#L1392 | |
val res1: io.shiftleft.codepropertygraph.generated.Cpg = Cpg[Graph[2016749 nodes]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment