imjp94 / gd-plug

Minimal plugin manager for Godot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stuck when running any command

univeous opened this issue · comments

After I updated to 0.2.3 from 0.2.1 using upgrade, running any command will get stuck.

If I remove all the additions related to threadpool.active, it works just as it did before.

This also happens in a nearly empty project.

Godot version: v4.1 dev4 and v4.1 beta1

Confirmed.

0.2.3 was made to support gd-plug-ui, so in the meantime, you can revert back to 0.2.1 first until this is fixed.

Even after upgrading to 0.2.4, the issue still exists for me. 🤔

It works for me on 4.1-beta
Screenshot 2023-06-11 183519

Can you try running with debug? godot --headless -s plug.gd {command} debug and maybe check the version with godot --headless -s plug.gd version

Btw, are you running on linux?

I'm running on Windows.
version command works fine: (Errors are unrelated)

Godot Engine v4.1.beta1.official.828ec2c5d - https://godotengine.org

ERROR: Attempt to open script 'res://addons/dialogic/Resources/CharacterResourceLoader.gd' resulted in error 'File not found'.
   at: (modules/gdscript/gdscript.cpp:997)
ERROR: Script does not inherit a CustomResourceLoader: res://addons/dialogic/Resources/CharacterResourceLoader.gd.
   at: (core/io/resource_loader.cpp:1104)
ERROR: Attempt to open script 'res://addons/dialogic/Resources/TimelineResourceLoader.gd' resulted in error 'File not found'.
   at: (modules/gdscript/gdscript.cpp:997)
ERROR: Script does not inherit a CustomResourceLoader: res://addons/dialogic/Resources/TimelineResourceLoader.gd.
   at: (core/io/resource_loader.cpp:1104)
ERROR: Attempt to open script 'res://addons/dialogic/Resources/CharacterResourceSaver.gd' resulted in error 'File not found'.
   at: (modules/gdscript/gdscript.cpp:997)
ERROR: Script does not inherit a CustomResourceSaver: res://addons/dialogic/Resources/CharacterResourceSaver.gd.
   at: (core/io/resource_saver.cpp:240)
ERROR: Attempt to open script 'res://addons/dialogic/Resources/TimelineResourceSaver.gd' resulted in error 'File not found'.
   at: (modules/gdscript/gdscript.cpp:997)
ERROR: Script does not inherit a CustomResourceSaver: res://addons/dialogic/Resources/TimelineResourceSaver.gd.
   at: (core/io/resource_saver.cpp:240)
0.2.4
Finished, elapsed 0.004s

Here are logs for status debug and then it gets stuck:

Godot Engine v4.1.beta1.official.828ec2c5d - https://godotengine.org

ERROR: Attempt to open script 'res://addons/dialogic/Resources/CharacterResourceLoader.gd' resulted in error 'File not found'.
   at: (modules/gdscript/gdscript.cpp:997)
ERROR: Script does not inherit a CustomResourceLoader: res://addons/dialogic/Resources/CharacterResourceLoader.gd.
   at: (core/io/resource_loader.cpp:1104)
ERROR: Attempt to open script 'res://addons/dialogic/Resources/TimelineResourceLoader.gd' resulted in error 'File not found'.
   at: (modules/gdscript/gdscript.cpp:997)
ERROR: Script does not inherit a CustomResourceLoader: res://addons/dialogic/Resources/TimelineResourceLoader.gd.
   at: (core/io/resource_loader.cpp:1104)
ERROR: Attempt to open script 'res://addons/dialogic/Resources/CharacterResourceSaver.gd' resulted in error 'File not found'.
   at: (modules/gdscript/gdscript.cpp:997)
ERROR: Script does not inherit a CustomResourceSaver: res://addons/dialogic/Resources/CharacterResourceSaver.gd.
   at: (core/io/resource_saver.cpp:240)
ERROR: Attempt to open script 'res://addons/dialogic/Resources/TimelineResourceSaver.gd' resulted in error 'File not found'.
   at: (modules/gdscript/gdscript.cpp:997)
ERROR: Script does not inherit a CustomResourceSaver: res://addons/dialogic/Resources/TimelineResourceSaver.gd.
   at: (core/io/resource_saver.cpp:240)
cmdline_args: ["status", "debug"]
Plug start
Installation config loaded
Plug: { "name": "godot_dialogue_manager", "url": "https://git::@github.com/nathanhoad/godot_dialogue_manager.git", "plug_dir": "res://.plugged/godot_dialogue_manager", "include": [], "exclude": [], "branch": "", "tag": "", "commit": "", "dev": false, "on_updated": "modify_dialogue_manager_test_dialog", "install_root": "" }
Plug: { "name": "bottled-up-tilemap", "url": "https://git::@github.com/Dark-Peace/bottled-up-tilemap.git", "plug_dir": "res://.plugged/bottled-up-tilemap", "include": ["BottledTileMap/"], "exclude": [], "branch": "Godot-4", "tag": "", "commit": "", "dev": false, "on_updated": "", "install_root": "addons" }
Plug: { "name": "godot-debug-menu", "url": "https://git::@github.com/godot-extended-libraries/godot-debug-menu.git", "plug_dir": "res://.plugged/godot-debug-menu", "include": [], "exclude": [], "branch": "", "tag": "", "commit": "", "dev": true, "on_updated": "", "install_root": "" }
Installed 3 plugins
- bottled-up-tilemap - https://git::@github.com/Dark-Peace/bottled-up-tilemap.git
- godot-debug-menu - https://git::@github.com/godot-extended-libraries/godot-debug-menu.git
- godot_dialogue_manager - https://git::@github.com/nathanhoad/godot_dialogue_manager.git

Request quit declined, threadpool is still running

@univeous Can you help me to test if #21 fix the bug?

Sure and It works perfectly! Thanks for your quick fix!