eris icon indicating copy to clipboard operation
eris copied to clipboard

FATAL EXCEPTION report has output cut

Open Kontorotsui opened this issue 7 months ago • 0 comments

Hello, I'm trying to modify a set of LUA scripts in the Widelands game, which uses ERIS library.

The problem is that when there is an error in the script, the output showing the full stack of functions and which error there was, is cut, so I am unable to see what was the error.

Below is an example how the output is cut just when it is reporting what type of error there was.

I've been told by Widelands developers that it is something that needs to be fixed in the library itself.

Can this be fixed? Thanks.

[00:08:22.384 real] ERROR: ############################## [00:08:22.384 real] ERROR: FATAL EXCEPTION: Error while loading tribe 'europeans': [/run/build/Widelands/src/scripting/lua_errors.cc:21] tribe europeans: Failed adding building 'europeans_stonemine_basic': [/run/build/Widelands/src/scripting/lua_errors.cc:21] [/run/build/Widelands/src/scripting/lua_errors.cc:21] [/run/build/Widelands/src/scripting/lua_errors.cc:21] [/run/build/Widelands/src/scripting/lua_errors.cc:21] [/run/build/Widelands/src/scripting/lua_errors.cc:21] europeans_stonemine_level_4: Error in productionsite program mine_granite: Erro [00:08:22.384 real] ERROR: ##############################

Kontorotsui avatar Jul 22 '24 12:07 Kontorotsui