So Every now and then I get a bug or a Console error. So I thought I’d create a space Where I can put all of these. So… here is the first;
While putting my template house down I got the following errors
(1/2)
release-559 (x64)
No matching overload found, candidates: luabind::object load_json(lua_State*,std::string const&,bool)
stack traceback:
[C]: ?
[C]: in function 'load_json’
radiant/modules/resources.lua:33: in function ‘load_json’
…/fixture_fabricator/fixture_fabricator_component.lua:333: in function ‘_get_rotation_tweak_xz’
…/fixture_fabricator/fixture_fabricator_component.lua:401: in function 'rotate_structure’
stonehearth/lib/build_util.lua:417: in function 'rotate_entity’
stonehearth/lib/build_util.lua:421: in function 'fn’
stonehearth/lib/build_util.lua:58: in function 'for_each_child’
stonehearth/lib/build_util.lua:420: in function 'rotate_entity’
stonehearth/lib/build_util.lua:421: in function 'fn’
stonehearth/lib/build_util.lua:58: in function 'for_each_child’
stonehearth/lib/build_util.lua:420: in function 'rotate_entity’
stonehearth/lib/build_util.lua:435: in function 'restore_template’
stonehearth/services/server/build/build_service.lua:1478: in function 'build_template’
stonehearth/services/server/build/build_service.lua:1469: in function 'cb’
stonehearth/services/server/build/build_service.lua:1444: in function 'do_command’
stonehearth/services/server/build/build_service.lua:1468: in function <stonehearth/services/server/build/build_service.lua:1466>
(2/2)
release-559 (x64)
c++ exception: lua runtime error
stack traceback:
So, Yeah. I had all materials needed for this build and it had the following components;
1 Stone
9 Logs
1 Table for one
1 Comfy Chair
1 Wooden Dresser
5 Wooden Wall Lanterns
7 Comfy Beds
1 Wooden Door
2 Tall Windows
6 Wooden Window Frames
4 Bright bell Window Boxs
This error replicated on reloading from an old save. going to try and use an earlier version of the template and see what happens. (without window boxes)
okay that one also messes up. trying my earliest version of it next (Unfurnished)
Unfurnished version worked correctly.
3 Likes
Hey there @Naomi_Yuki, welcome to the Discourse! Thanks for the report
Do you happen to the have a template saved where this is occurring?
I do, don’t really know how to remove old templates.
You can manually remove the templates if needed by navigating to the saved_templates folder iirc and remove them from there.
Thanks C I think they want a copy of the bad template. which is why they asked. but I can use your Data to help remove my old unused templates.
Only way to remove a template (at least as of A16) is to delete the file manually via Windows Explorer. If you wouldn’t mind, could you locate the template (default folder is C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_objects\stonehearth\building_templates
), zip the cooresponding json file and upload it here? Then @not_owen_wilson can take a look at what’s going on!
I tried to upload it. but It told me new users are not allowed to upload sorry :s
Oops, sorry! Try again now, I manually bumped your TL.
Interesting…give me a few moments to check on things.
Error1.zip (56.4 KB)
There we go, had to refresh the page ^o^
1 Like
Cool! The template “explodes” in A17.
Will need a dev to see tomorrow if the templates themselves are broken, or if this is a building bug.
I know, it was even cooler seeing it explode for me as I had it over a pit You know what else is interesting; Run this version of the house. and watch carefully at the side and rear windows. As its built Error2.zip (35.0 KB)
1 Like
Not sure if you noticed it yet. but the builders are literally ignoring the windows XD
I’ve had this problem too. My fix was to press ctrl-c
with the window targeted, run the ib
command, then wait a few minutes for them to build it. Once they’re done, retarget all windows with the green arrows above them, and run the destroy
command.
Eh not an issue as I remade the template. but thanks anyway.
Random Error During combat. makes no sense to me but here ya go;
release-559 (x64)
(4912 Edwyne Burlyhands) (stonehearth:combat:heal) bad frame transition to “unit_not_ready” from "running"
stack traceback:
[C]: in function 'fn’
stonehearth/services/server/threads/thread.lua:322: in function 'private_msg’
stonehearth/services/server/threads/thread.lua:515: in function '_dispatch_messages’
stonehearth/services/server/threads/thread.lua:379: in function <stonehearth/services/server/threads/thread.lua:360>
[C]: in function 'suspend’
stonehearth/ai/actions/run_effect_action.lua:66: in function <stonehearth/ai/actions/run_effect_action.lua:38>
[C]: ?
[C]: ?
[C]: in function ‘execute’
…tonehearth/ai/actions/combat/execute_heal_action.lua:108: in function <…tonehearth/ai/actions/combat/execute_heal_action.lua:68>
[C]: ?
…
[C]: in function 'run’
stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/components/ai/ai_component.lua:525: in function '_thread_main’
stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/services/server/threads/thread.lua:246: in function 'f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>
(1/2)
release-559 (x64)
start thinking called from non-stopped state "ready"
stack traceback:
[C]: ?
[C]: in function ‘set_think_output’
…ctions/combat/move_to_targetable_location_action.lua:94: in function ‘_update_think_output’
…ctions/combat/move_to_targetable_location_action.lua:27: in function '_changed_cb’
radiant/modules/filtered_trace.lua:12: in function <radiant/modules/filtered_trace.lua:7>
(2/2)
Okay so choose to remove a building and got this large error
(1/3)
release-559 (x64)
start thinking called from non-stopped state "ready"
stack traceback:
[C]: ?
[C]: in function ‘set_think_output’
…ctions/combat/move_to_targetable_location_action.lua:94: in function ‘_update_think_output’
…ctions/combat/move_to_targetable_location_action.lua:27: in function '_changed_cb’
radiant/modules/filtered_trace.lua:12: in function <radiant/modules/filtered_trace.lua:7>
(2/3)
release-559 (x64)
…/fixture_fabricator/fixture_fabricator_component.lua:481: attempt to index a nil value
stack traceback:
[C]: ?
…/fixture_fabricator/fixture_fabricator_component.lua:481: in function ‘_update_auto_destroy_trace’
…/fixture_fabricator/fixture_fabricator_component.lua:459: in function ‘_set_finished’
…/fixture_fabricator/fixture_fabricator_component.lua:82: in function ‘set_teardown’
…ruction_progress/construction_progress_component.lua:97: in function 'set_teardown’
stonehearth/services/server/build/build_service.lua:113: in function 'cb’
stonehearth/services/server/build/build_service.lua:82: in function '_call_all_children’
stonehearth/services/server/build/build_service.lua:78: in function '_call_all_children’
stonehearth/services/server/build/build_service.lua:78: in function '_call_all_children’
stonehearth/services/server/build/build_service.lua:110: in function 'set_teardown’
stonehearth/call_handlers/build_call_handler.lua:25: in function <stonehearth/call_handlers/build_call_handler.lua:23>
(3/3)
release-559 (x64)
c++ exception: lua runtime error
stack traceback:
Hi not sure if you guys are still following my bug splat but here is another one. This error has happened everytime I have loaded my primary Save file for a while now and I was wondering If you wouldn’t mind telling me how to fix it.
release-559 (x64)
…onehearth/components/building/building_component.lua:154: attempt to index local ‘entry’ (a nil value)
stack traceback:
[C]: ?
…onehearth/components/building/building_component.lua:154: in function ‘get_dependencies’
…/fixture_fabricator/fixture_fabricator_component.lua:163: in function ‘_are_dependencies_satisfied’
…/fixture_fabricator/fixture_fabricator_component.lua:202: in function ‘_start_project’
…/fixture_fabricator/fixture_fabricator_component.lua:41: in function <…/fixture_fabricator/fixture_fabricator_component.lua:39>
release-559 (x64)
c++ exception: lua runtime error
stack traceback:
Here is another bug for you guys. This time during combat
release-559 (x64)
(4912 Edwyne Burlyhands) (stonehearth:goto_location) bad frame transition to “start” from "stopped"
stack traceback:
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: in function ‘start’
…tonehearth/services/server/tasks/run_task_action.lua:138: in function <…tonehearth/services/server/tasks/run_task_action.lua:133>
[C]: ?
[C]: ?
[C]: ?
[C]: in function 'run’
stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/components/ai/ai_component.lua:525: in function '_thread_main’
stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/services/server/threads/thread.lua:246: in function 'f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>
release-559 (x64)
placeholder ARGS.location failed to return a value in “nil” action
stack traceback:
[C]: in function 'error’
stonehearth/services/server/ai/ai_service.lua:375: in function <stonehearth/services/server/ai/ai_service.lua:369>
[C]: in function 'set_think_output’
stonehearth/ai/actions/run_to_location_action.lua:37: in function <stonehearth/ai/actions/run_to_location_action.lua:26>
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?
…
[C]: in function 'run’
stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/components/ai/ai_component.lua:525: in function '_thread_main’
stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/services/server/threads/thread.lua:246: in function 'f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>
release-559 (x64)
(4912 Edwyne Burlyhands) (stonehearth:goto_location) bad frame transition to “stop” from "starting_thinking"
stack traceback:
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: in function ‘stop’
…tonehearth/services/server/tasks/run_task_action.lua:149: in function <…tonehearth/services/server/tasks/run_task_action.lua:147>
[C]: in function 'fn’
stonehearth/services/server/threads/thread.lua:286: in function <stonehearth/services/server/threads/thread.lua:275>
[C]: in function 'fn’
stonehearth/services/server/threads/thread.lua:322: in function 'private_msg’
stonehearth/services/server/threads/thread.lua:515: in function ‘_dispatch_messages’
…
[C]: in function 'run’
stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/components/ai/ai_component.lua:525: in function '_thread_main’
stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
stonehearth/services/server/threads/thread.lua:246: in function 'f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>