Open swenner opened 5 years ago
It happens for godot 3.1 alpha 2 and higher..
I've been having this issue, as well. On the stable version of Godot 3.1.
Yup: Godot version: 3.1 and as late as 3f76d2c on godot repo
OS/device including version: Linux
Issue description: Assume you have project open utilizing python, and a node in that project with a python script attached. Clicking on script to open it causes godot to crash. Assume you have project open utilizing python, and some node. If you try to add python script to that node, godot will crash. Assume you have a project open utilizing python, with some node as well as a python script. Dragging python script to that node will result in crash.
Note in all these cases desired action is performed, just have crash. Script is created, added, opened, as is visible by opening godot again.
Steps to reproduce: In fresh project, open up asset lib and install the python package. Create new node, proceed to add new python script to it. Observe crash. Note that upon opening project again, you will see that the python script file is created.
Minimal reproduction project:
.zip added so Github not complain :woman_shrugging: GodotPythonTest.7z.zip
Note that project runs fine. In uploaded one I set sprite to some middleish screen position on _ready()
as an example.
Same issue here. Ubuntu 18.04, godot 3.1. Is there a quick workaround to just not open the script after adding it to a node?
It crashes for me anytime I would have viewed the script itself in Godot, my workaround is to use an external editor for the python scripts.
Using Godot 3.1 on Windows, same issue to report. Note that on the last Release Candidate 3.1.1 the file becomes totally impossible to open afterwards
Has someone reported this to godot itself? I feel like this might be also interesting for them. A silent fail is never supposed to happen.
@jejay Yes I have.
@swenner @vaclavbenes @CG-Tespy @menip @SimLeek @fuderiki @whogben @jejay @touilleMan is rewriting project to use cython - ti will be easier to be up-to-date with current godot releases he mentioned it here: #126
:(
Actually apart from Script Creation from within Godot ... Godot Python basically works in 3.1.1. release. But I can't wait to see a release version of Godot Cython ... It will probably solve the problem of speed that Godot Python Faces in manipulating Godot Objects. But for the moment I have to work with this version since it's the best thing we have that links python and a game engine.
Steps to reproduce:
Godot crashes. The sample itself works fine. Not sure who is to blame :)
Godot Master (3.1) ca28c455bfdc8408485c217c17f07011c0b43f64 Godot Python master ce5b3dd6194de9ad9edf5fc6c8e84324bf07d41e