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

`editor_settings-3.tres` not set by dockerfile?

Open bend-n opened this issue 1 year ago • 6 comments

see here:

cat: /github/home/.config/godot/editor_settings-3.tres: No such file or directory
find: '/github/home/.config': No such file or directory
...
ERROR: Cannot export project with preset "Android" due to configuration errors:
Debug keystore not configured in the Editor Settings nor in the preset.
A valid Android SDK path is required in Editor Settings.
   at: _fs_changed (editor/editor_node.cpp:778)
ERROR: Project export failed with error code 3 for preset "Android".
   at: _fs_changed (editor/editor_node.cpp:801)

bend-n avatar Jul 08 '22 00:07 bend-n

I found the issue was that godot did see it, but couldnt parse it and therefore just reset it to default.

bend-n avatar Jul 09 '22 08:07 bend-n

I found the issue was that godot did see it, but couldnt parse it and therefore just reset it to default.

If you can reproduce this on a local machine, please report this on the main Godot repository. Godot should be modified to print an error message if it discards the editor settings file for any reason.

Calinou avatar Jul 09 '22 17:07 Calinou

I found the issue was that godot did see it, but couldnt parse it and therefore just reset it to default.

If you can reproduce this on a local machine, please report this on the main Godot repository. Godot should be modified to print an error message if it discards the editor settings file for any reason.

It does; if you launch the editor. otherwise its completely silent, do you want me to make a minimum reproduction project for the cli exports?

bend-n avatar Jul 09 '22 23:07 bend-n

It does; if you launch the editor. otherwise its completely silent, do you want me to make a minimum reproduction project for the cli exports?

Yes, please do :slightly_smiling_face:

Calinou avatar Jul 09 '22 23:07 Calinou

~~Okay~~ Never mind, it appears this only occurs on a github action job. Maybe its something to do with the action not having a display server or something?

bend-n avatar Jul 09 '22 23:07 bend-n

Either way, the current dockerfile sets the editor_settings-3.tres, but it then gets reset, with no error i could find.

bend-n avatar Jul 09 '22 23:07 bend-n

By the way, the reason this was happening was because unknown keys were found in the editor_settings-3.tres file, and godot didnt like it, so it reset it.

bend-n avatar Oct 31 '22 22:10 bend-n