Open Ivorforce opened 3 weeks ago
In Godot 4.3 (at least), autocomplete fails:
src/module/class_creation_info.cpp:73 - [91;1mTraceback (most recent call last): [0m[91;1;2m File "godot/_python_extension/python_language.py", line 170, in _complete_code from .editor.code_completion import complete [0m[91;1;2m File "godot/_python_extension/editor/code_completion.py", line 222, in <module> _completer = _Completer() ^^^^^^^^^^^^ [0m[91;1m File "godot/_python_extension/editor/code_completion.py", line 105, in __init__ fs = godot.EditorInterface.get_resource_filesystem() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [0m[91;1mTypeError: EditorInterface.get_resource_filesystem() missing 1 required positional argument: 'self' [0m[91;1;2m While calling: godot._python_extension.python_language.PythonLanguage._complete_code [0m
This is because get_resource_filesystem() is a member function, and expects self.
get_resource_filesystem()
self
Commenting out the affected lines in __init__ and __del__ works as a workaround.
__init__
__del__
In Godot 4.3 (at least), autocomplete fails:
This is because
get_resource_filesystem()
is a member function, and expectsself
.Commenting out the affected lines in
__init__
and__del__
works as a workaround.