godot-python icon indicating copy to clipboard operation
godot-python copied to clipboard

I do not see the .py files in the pong example.

Open regeter opened this issue 6 years ago • 3 comments

When loading the example project I also get this error:

Scene 'res://paddle.tscn' has broken dependencies:
  res://paddle.py::Script

The error changes, last time it was ball.py This happens on MAC with godot installed via Steam (3.0.6) and PythonPyPy installed via AssetLib. The pong example I had to download from Github tho, as I could not find it anywhere.

regeter avatar Aug 31 '18 17:08 regeter

I have the same issue using Godot 3.1.alpha and the CPython backend from the AssetLib.

   At: scene/resources/scene_format_text.cpp:174.
ERROR: _load: No loader found for resource: res://pong.py
   At: core/io/resource_loader.cpp:190.
WARNING: _parse_ext_resource: Couldn't load external resource: res://pong.py
   At: scene/resources/scene_format_text.cpp:174.

Same for the other python scripts.

swenner avatar Sep 02 '18 15:09 swenner

Hi there,

I've been able to reproduce this error when godot is not started from the project directory (building godot from last master):

$ cd ~/projects/godot-python/examples/pong
$ ~/projects/godot/bin/godot.x11.tools.64
<everything goes as expected>

vs

$ cd ~/projects/godot-python/examples
$ ~/projects/godot/bin/godot.x11.tools.64 -path pong
OpenGL ES 3.0 Renderer: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 
ERROR: _load: No loader found for resource: res://pong
   At: core/io/resource_loader.cpp:190.
ERROR: start: Failed loading scene: res://pong
   At: main/main.cpp:1678.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:2081.

So I'm kind of thinking it's more a godot error, what do you think ?

touilleMan avatar Sep 11 '18 14:09 touilleMan

Thank you. This workaround works for me too. (3.1.alpha.custom_build.9af72f0) Yes, it could be a Godot error.

swenner avatar Sep 15 '18 22:09 swenner