griddycode icon indicating copy to clipboard operation
griddycode copied to clipboard

doesnt load

Open dropalways opened this issue 2 years ago • 38 comments

just shows a grey screen Bussin_GriddyCode_Rwa5bou83a

dropalways avatar Mar 19 '24 14:03 dropalways

If you press the ESC key, it shows the first line but when you type, nothing shows or sometimes shows and sometimes just inputs blanks.

7valkio avatar Mar 19 '24 14:03 7valkio

Should be fixed in the latest release, could someone confirm?

face-hh avatar Mar 19 '24 14:03 face-hh

It seems to open with the first line visible and music playing now but then slowly zooms more into itself and has a strange white highlight over the whole first line.

https://github.com/face-hh/griddycode/assets/113270877/1cbea18f-b7cd-4c55-9ba2-d3b92b1d3c71

7valkio avatar Mar 19 '24 14:03 7valkio

The white highlighting is intentional but it slowly zooming into itself isn't, and I can't seem to replicate it on Linux.

image

face-hh avatar Mar 19 '24 14:03 face-hh

It seems to open with the first line visible and music playing now but then slowly zooms more into itself and has a strange white highlight over the whole first line.

Recording.2024-03-19.144122.mp4

In your recording the background is black which means it failed to load the themes. I'll download the dev build on my Windows machine to test it out

face-hh avatar Mar 19 '24 14:03 face-hh

It seems to open with the first line visible and music playing now but then slowly zooms more into itself and has a strange white highlight over the whole first line. Recording.2024-03-19.144122.mp4

yeah same thing happens to me

dropalways avatar Mar 19 '24 14:03 dropalways

So after testing on Windows, the release build seems to have this issue, but running the project from within the Godot Editor doesn't. I will try to export the project with different settings to see how it will react.

For the record, the Linux build works just fine.

face-hh avatar Mar 19 '24 14:03 face-hh

I have the same issue as @7valkio on Arch Linux (btw), there are many errors in the console, which might be related:

Logs
ERROR: Can't open dynamic library: addons/luaAPI/bin/libluaapi.linux.template_debug.x86_64.so. Error: /home/ice/Downloads/../lib/libluaapi.linux.template_debug.x86_64.so: cannot open shared object file: No such file or directory.
   at: open_dynamic_library (drivers/unix/os_unix.cpp:660)
ERROR: GDExtension dynamic library not found: addons/luaAPI/bin/libluaapi.linux.template_debug.x86_64.so
   at: open_library (core/extension/gdextension.cpp:719)
ERROR: Failed loading resource: res://addons/luaAPI/luaAPI.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:274)
ERROR: Error loading extension: res://addons/luaAPI/luaAPI.gdextension
   at: load_extensions (core/extension/gdextension_manager.cpp:234)
Godot Engine v4.2.1.stable.official.b09f793f5 - https://godotengine.org
Vulkan API 1.3.277 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 3090
 
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:340)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:341)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:353)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:354)
ERROR: Failed to load script "res://Scripts/lua_singleton.gd" with error "Parse error".
   at: load (modules/gdscript/gdscript.cpp:2788)
ERROR: Failed to instantiate an autoload, script 'res://Scripts/lua_singleton.gd' does not inherit from 'Node'.
   at: start (main/main.cpp:3207)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:340)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:341)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:353)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:354)
SCRIPT ERROR: Compile Error: 
          at: GDScript::reload (res://Scripts/file_manager.gd:-1)
ERROR: Failed to load script "res://Scripts/file_manager.gd" with error "Compilation failed".
   at: load (modules/gdscript/gdscript.cpp:2788)
SCRIPT ERROR: Parse Error: Could not resolve member "lua".
          at: GDScript::reload (res://Scripts/settings.gd:71)
ERROR: Failed to load script "res://Scripts/settings.gd" with error "Parse error".
   at: load (modules/gdscript/gdscript.cpp:2788)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:340)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:341)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:353)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:354)
SCRIPT ERROR: Compile Error: 
          at: GDScript::reload (res://Scripts/file_dialog.gd:-1)
ERROR: Failed to load script "res://Scripts/file_dialog.gd" with error "Compilation failed".
   at: load (modules/gdscript/gdscript.cpp:2788)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:340)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:341)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:353)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:354)
SCRIPT ERROR: Compile Error: 
          at: GDScript::reload (res://Scripts/settings_list.gd:-1)
ERROR: Failed to load script "res://Scripts/settings_list.gd" with error "Compilation failed".
   at: load (modules/gdscript/gdscript.cpp:2788)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:340)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:341)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:353)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:354)
SCRIPT ERROR: Compile Error: 
          at: GDScript::reload (res://Scripts/theme_chooser.gd:-1)
ERROR: Failed to load script "res://Scripts/theme_chooser.gd" with error "Compilation failed".
   at: load (modules/gdscript/gdscript.cpp:2788)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:340)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:341)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:353)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:354)
SCRIPT ERROR: Compile Error: 
          at: GDScript::reload (res://Scripts/comment.gd:-1)
ERROR: Failed to load script "res://Scripts/comment.gd" with error "Compilation failed".
   at: load (modules/gdscript/gdscript.cpp:2788)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:340)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:341)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:353)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:354)
SCRIPT ERROR: Compile Error: 
          at: GDScript::reload (res://Scripts/comments.gd:-1)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:281)
SCRIPT ERROR: Parse Error: Could not find type "LuaAPI" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Identifier "LuaAPI" not declared in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:282)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:340)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:341)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:353)
SCRIPT ERROR: Parse Error: Could not find type "LuaError" in the current scope.
          at: GDScript::reload (res://Scripts/lua_singleton.gd:354)
SCRIPT ERROR: Compile Error: 
          at: GDScript::reload (res://Scripts/comments_overlay.gd:-1)
ERROR: Failed to load script "res://Scripts/comments_overlay.gd" with error "Compilation failed".
   at: load (modules/gdscript/gdscript.cpp:2788)
SCRIPT ERROR: Invalid get index 'on_theme_load' (on base: 'Nil').
          at: _ready (res://Scripts/settings_list.gd:7)
SCRIPT ERROR: Invalid get index 'on_theme_load' (on base: 'Nil').
          at: _ready (res://Scripts/theme_chooser.gd:9)
SCRIPT ERROR: Invalid get index 'done_parsing' (on base: 'Nil').
          at: Comments._ready (res://Scripts/comments.gd:8)
SCRIPT ERROR: Invalid get index 'gui' (on base: 'Nil').
          at: CommentsOverlay._ready (res://Scripts/comments_overlay.gd:9)
SCRIPT ERROR: Cannot call method 'get_files' on a null value.
          at: FileManager.inject_lua (res://Scripts/file_manager.gd:43)
SCRIPT ERROR: Invalid set index 'themes' (on base: 'Nil') with value of type 'Array'.
          at: FileManager._ready (res://Scripts/file_manager.gd:17)
SCRIPT ERROR: Invalid call. Nonexistent function 'get_longest_line' in base 'CodeEdit'.
          at: Camera._process (res://Scripts/camera.gd:35)
ERROR: Tween (bound to /root/Editor/Misc/Cam): started with no Tweeners.
   at: step (scene/animation/tween.cpp:319)
SCRIPT ERROR: Invalid call. Nonexistent function 'get_longest_line' in base 'CodeEdit'.
          at: Camera._process (res://Scripts/camera.gd:35)
ERROR: Tween (bound to /root/Editor/Misc/Cam): started with no Tweeners.
   at: step (scene/animation/tween.cpp:319)
SCRIPT ERROR: Invalid call. Nonexistent function 'get_longest_line' in base 'CodeEdit'.
          at: Camera._process (res://Scripts/camera.gd:35)

GearKite avatar Mar 19 '24 15:03 GearKite

I've updated the latest Release for the Windows build. The bug seems to be caused by toggling the "debug release" option when exporting, so the current Windows build is technically in "debug" mode right now. The updated version seems to work on my Windows machine though

I'll take a look at the logs provided by @GearKite once I boot back into Linux.

face-hh avatar Mar 19 '24 15:03 face-hh

still have the issue after the updated build.

afoxfan avatar Mar 19 '24 15:03 afoxfan

i downloaded the older version and now the "1" after pressing escape is high quality

afoxfan avatar Mar 19 '24 15:03 afoxfan

i downloaded the older version and now the "1" after pressing escape is high quality

The blurriness and unicode issue can be fixed by installing Nerd Fonts

face-hh avatar Mar 19 '24 15:03 face-hh

I have the same issue as @7valkio on Arch Linux (btw), there are many errors in the console, which might be related:

Logs

This should be fixed in the latest Linux release, a library was missing!

face-hh avatar Mar 19 '24 15:03 face-hh

The blurriness and unicode issue can be fixed by insta

Which of the Nord Fonts would I need to install?

7valkio avatar Mar 19 '24 15:03 7valkio

I have a issue, that only some of the characters appear, and most of them are blurry. Also which one of the Nerd Fonts should i install?

blackneeed avatar Mar 19 '24 15:03 blackneeed

@face-hh

blackneeed avatar Mar 19 '24 15:03 blackneeed

https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/FiraCode.zip - this seems to be it

face-hh avatar Mar 19 '24 15:03 face-hh

Thanks, will see if it works

blackneeed avatar Mar 19 '24 15:03 blackneeed

image This is how '#include <stdio.h>' looks.

blackneeed avatar Mar 19 '24 15:03 blackneeed

After downloading all of the font styles of the Fira Mono Nerd Font

blackneeed avatar Mar 19 '24 15:03 blackneeed