Reload UI error after telling hearthling to build something

Summary:
I can not have any Hearthlings build any items or I will get this error message.

release-763 (x64)[M]
Uncaught TypeError: Cannot read property ‘setFocus’ of undefined
TypeError: Cannot read property ‘setFocus’ of undefined
at n.destroy (http://radiant/stonehearth/ui/game/show_workshop/show_team_workshop.js:183:23)
at _ (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:22805)
at n.r [as destroy] (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:21387)
at n.hide (http://radiant/stonehearth/ui/game/show_workshop/show_team_workshop.js:364:15)
at n.send (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:8:10765)
at http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:30788
at a.run (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:1:2810)
at u (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:17688)
at Object.handler (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:30761)
at HTMLAnchorElement. (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:10:7200)

Steps to reproduce:

  1. I tried uninstalling the game and then reinstalling it.
  2. I deleted any recent downloads

Expected Results:

Actual Results:

Notes:
While deleting a mod I accidently deleted a file with HOM in the beginning. How would I get this back if that is the problem?

Attachments:

Version Number and Mods in use:
release-763 (x64)[M]

System Information:

Hmm, the code references in your message do not match the code in release 763. Are you using any crafting mods?

While deleting a mod I accidently deleted a file with HOM in the beginning.

I can’t think of any files starting with “HOM” that we have. Do you remember what folder it was in?

It was in the mods folder
I am using crafting mods, but I never had this problem before.

While we are in alpha, mods can be broken by new versions of Stonehearth as we evolve the API. You should check if all your crafting mods are up to date and have versions compatible with Alpha 22.5. If not, unfortunately you’ll have to disable them until the modder gets an update out.

1 Like

OK I will make sure they are all updated to work with the current alpha and see if I still have this problem. I just deleted all MODS and uninstalled the game again. I am reinstalling and then I will find updated MODS. I hope this works. )-=

@rabisch3, did it work?

I too am just now encountering this problem, however I CAN BUILD, it’s just every time I close the crafting menu, I get the error and have to reload the UI, but they continue to build.
I have had some mods for some time. I did however recently add a few new mods, crafting ones at that.

Stonehearth Expanded was the name I believe.

EDIT:
Not a Reload UI error, but it is causing my builders not to build. Nothing even goes into the craft menu now. I’m not sure what caused this.

release-763 (x64)[M]
…ices/server/crafter_info/crafter_info_controller.lua:125: attempt to index field ‘entity_data’ (a nil value)
stack traceback:
[C]: ?
…ices/server/crafter_info/crafter_info_controller.lua:125: in function ‘_format_recipe’
…ices/server/crafter_info/crafter_info_controller.lua:50: in function 'post_activate’
radiant/modules/common.lua:542: in function ‘create_controller’
…ervices/server/crafter_info/crafter_info_service.lua:26: in function ‘add_crafter_info’
…ervices/server/crafter_info/crafter_info_service.lua:35: in function 'get_crafter_info’
smart_crafter/smart_craft_order_list.lua:20: in function 'add_order’
stonehearth/components/workshop/craft_order_list.lua:73: in function <stonehearth/components/workshop/craft_order_list.lua:67>

1 Like

This error comes from the smart crafter mod (though it could be caused by another crafting mod).
Please make sure that all your mods are compatible with the latest version.

1 Like