Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

[Bug]: Compiling from source errors #197

Open
cyb3rkun opened this issue Feb 2, 2023 · 2 comments
Open

[Bug]: Compiling from source errors #197

cyb3rkun opened this issue Feb 2, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@cyb3rkun
Copy link

cyb3rkun commented Feb 2, 2023

Description

I installed(compiled/built) and ran the custom godot build from https://github.com/you-win/godot
And I also compiled the export template for linux
I imported the project and am trying to run it from the godot editor, but it's throwing a error in the logger.gd script

this is the error: "error line 27, "Time" isn't declared in the current scope"

also initialize: XOpenIM failed

and : initialize: XCreateIC couldn't create xic

it also gives another error on line 23 of pub_sub.gd: "The Identifier "Result" isn't a valid type (not a script or class), or couldn't be found on base "self"

and one more on line 25 of the splash_setup.gd script: "Couldn't fully load the singleton script "AM" (possible cyclic reference or parse error).

Steps to reproduce

  1. run: git clone https://github.com/you-win/godot
  2. run: sudo apt-get install build-essential scons pkg-config libx11-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev \ libglu-dev libasound2-dev libpulse-dev libudev-dev libxi-dev libxrandr-dev yasm
  3. cd godot/
  4. scons -j8 platform=linuxbsd
  5. scons: platform=x11 target=release_debug
  6. launch godot binary
  7. import the source code of version 0.9.0
  8. and try to run

App version

0.9.0

Operating system

Linux

Relevant log output

res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
--- Debugging process started ---
Godot Engine v3.4.5.rc.custom_build.fc68e2aa5 - https://godotengine.org
OpenGL ES 3.0 Renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL ES Batching: ON
 
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://model/signal_payload.gd:30 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/log_manager.gd:34 - Parse Error: The class "SignalPayload" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://model/signal_payload.gd:30 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/config_manager.gd:49 - Parse Error: The class "SignalPayload" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/extension_manager.gd:128 - Parse Error: The identifier "Result" isn't a valid type (not a script or class), or couldn't be found on base "self".
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/translation_manager.gd:55 - Parse Error: The identifier "Result" isn't a valid type (not a script or class), or couldn't be found on base "self".
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://utils/node_util.gd:28 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://utils/node_util.gd:28 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://screens/gui/notification_popup.gd:76 - Parse Error: The class "NodeUtil" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/notification_manager.gd:43 - Parse Error: The identifier "logger" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/temp_cache_manager.gd:122 - Parse Error: The identifier "Result" isn't a valid type (not a script or class), or couldn't be found on base "self".
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/app_manager.gd:6 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://model/signal_payload.gd:30 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/log_manager.gd:34 - Parse Error: The class "SignalPayload" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://model/signal_payload.gd:30 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/config_manager.gd:49 - Parse Error: The class "SignalPayload" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/extension_manager.gd:128 - Parse Error: The identifier "Result" isn't a valid type (not a script or class), or couldn't be found on base "self".
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/translation_manager.gd:55 - Parse Error: The identifier "Result" isn't a valid type (not a script or class), or couldn't be found on base "self".
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://utils/node_util.gd:28 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://utils/node_util.gd:28 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://screens/gui/notification_popup.gd:76 - Parse Error: The class "NodeUtil" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/notification_manager.gd:43 - Parse Error: The identifier "logger" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/temp_cache_manager.gd:122 - Parse Error: The identifier "Result" isn't a valid type (not a script or class), or couldn't be found on base "self".
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/app_manager.gd:6 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://model/signal_payload.gd:30 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/log_manager.gd:34 - Parse Error: The class "SignalPayload" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://model/signal_payload.gd:30 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/config_manager.gd:49 - Parse Error: The class "SignalPayload" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/extension_manager.gd:128 - Parse Error: The identifier "Result" isn't a valid type (not a script or class), or couldn't be found on base "self".
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/translation_manager.gd:55 - Parse Error: The identifier "Result" isn't a valid type (not a script or class), or couldn't be found on base "self".
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://utils/node_util.gd:28 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 Resource: 'res://utils/app_manager.gd' is already being loaded. Cyclic reference?
 res://utils/node_util.gd:28 - Parse Error: The identifier "AM" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://screens/gui/notification_popup.gd:76 - Parse Error: The class "NodeUtil" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/notification_manager.gd:43 - Parse Error: The identifier "logger" isn't declared in the current scope.
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/abstract_manager.gd:7 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/temp_cache_manager.gd:122 - Parse Error: The identifier "Result" isn't a valid type (not a script or class), or couldn't be found on base "self".
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR
 res://utils/app_manager.gd:6 - Parse Error: The class "Logger" couldn't be fully loaded (script error or cyclic dependency).
 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR

Additional information

I'm trying to compile and run from source code because I couldn't get the mouse tracker working on the flathub version
this is on popos 22.4 lts

please let me know if anything In this bug report is unclear And I will do my best to explain better
and sorry if anything I said is dumb I'm not really a programmer and have limited experience in the (default) Godot engine v3.5
so I don't really know what I'm doing here however I do wish to help as far as I am able (helping to fix tiny bugs in the gd scripts and maybe try to implement a few features of my own)

@cyb3rkun cyb3rkun added the bug Something isn't working label Feb 2, 2023
@you-win you-win self-assigned this Feb 7, 2023
@you-win
Copy link
Member

you-win commented Feb 7, 2023

I'm looking into this. It might mean that the custom Godot repo is out of date.

@cyb3rkun
Copy link
Author

Oh thank you and sorry for the late response but let me know when You got something pls I'm very exited for the future of this program and if I was any good at code I would help you out

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants