UI error and blank work screens when I asssign a cook

Recent issue. No recent mod changes however, I think there was an update.
Anytime a cook is involved in my game I get the following UI error:

I can play normally for hours, even days and if I upgrade a worker to a cook, the error comes up. I started a new world that included a cook from the starting load out but as soon as I assign a hearthling to be the cook, the error comes up. All assignment screens go blank after this error and then the game freezes.

release-949 (x64)[M]
Uncaught TypeError: Cannot read property ‘workshop_equivalents’ of undefined
TypeError: Cannot read property ‘workshop_equivalents’ of undefined
at http://radiant/stonehearth/ui/game/show_workshop/show_team_workshop.js:373:60
at n. (http://radiant/radiant/js/radiant/object.js:357:19)
at Function.each (http://radiant/radiant/js/external/jquery-2.1.4.min.js:2:2936)
at Object.radiant.each (http://radiant/radiant/js/radiant/object.js:355:15)
at http://radiant/stonehearth/ui/game/show_workshop/show_team_workshop.js:354:18
at n. (http://radiant/radiant/js/radiant/object.js:357:19)
at Function.each (http://radiant/radiant/js/external/jquery-2.1.4.min.js:2:2936)
at Object.radiant.each (http://radiant/radiant/js/radiant/object.js:355:15)
at n._buildRecipeArray (http://radiant/stonehearth/ui/game/show_workshop/show_team_workshop.js:351:15)
at w (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:23160)
at m (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:4:21029)
at b (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:13753)

Well you’re not using ACE, so it’s not my fault. But it’s probably because some mod you’re using has an improperly formatted crafting recipe that requires a workshop that doesn’t exist in the entity catalog. So either it’s directly a problem with the mod that adds the recipe, or it requires a workshop that’s added by some other mod, and that mod is currently disabled.

1 Like

I never attacked you like someone was at fault
 I want to fix the issue sooo since someone here might be better at fixing the issue, I thought maybe someone could walk me through how to fix the entity catalog or whatever. and yes I am using ACE

I didn’t meant it that way, I meant more that at least this one isn’t my fault, where basically any ACE code issue is.

I assumed you weren’t using ACE because the line references in show_team_workshop.js line up with the base game, not with the changes made in ACE, but we don’t actually modify the function _buildRecipeArray which is what’s causing issues for you. So regardless, it appears to be a non-ACE issue unless everyone else who’s using ACE and shows the Cook’s workshop also experiences it.

Anyway, the problem is with one of your other mods. The entity catalog is compiled from all the mods at runtime, you can’t just modify/fix it manually. The mod that’s causing the problem needs to be identified and either disabled or fixed by its author, or you need to have another mod modify that mod to fix it.

3 Likes

adding on to what paul says, if you list your mods we might be able to pinpoint which is the issues.

1 Like

biomes:
silent woods
seasonal forest
nordlingmod kingdom
savanna
taiga biome
norsehearth
kingdom: elves of veloren
swamp biome + firefly clan+ beast tamer

game play:
jewel of the orient
composting
danis core mod
A.C.E.
fisher job + archipelago biome
extra map optionos
beam hearthling stats customization
breweryMod
wizard quest
mod repairer
mbs training
indestructaGolem
space magic
fruit and animals box o vox
trapper +taxidermy
trapper
glassworks
lost ems
animallot
vitamin potion

deco and design:
settlement décor
bazaar
building colors
kai monkeys a few more landmarks version 1
finery
lodewell lights
goblin furniture and warmaster
winter outfits
signer
yangz yings
gardens of hearth
furniture expansion continuation
the one chest
home sweet home
stonehearth doorways
columnar tree
chef goblin ramsay- goblin cuisine extraordinnaire

buildings:
the acendency
big hotel
stalovka
nordling builds
kam mill
kam smeltery
cute bunny house
northern alliance town hall
ocean desert series
new house
blacksmith
unfurnished tree house
rabbit burrows
nikkis inn
weems tree house dwelling
Asian windmill
hub courtyard
simple stone bridge
wizard tower
island tavern
barracks
new order complete set of building templates
windmill mod

its nearly always this one causing issues. might try turning that one off and trying again.
but there might be more. i also dont know “silent woods” also norsehearth causes issues if you dont have bruno’s modfixer.

1 Like

I will try disabling yangz.
I have brunos mod repair, forgot to write Bruno.
silent woods is the lamplighter but no food additions

will disable norse and see what happens. thanks.

yangs issue is only the outfit visually detached from the class. There is also a crafting bug that happens only when using ace and lostems combined, but that is fixed in the mod repairer.

The error is basically about someone having a bad setup recipe for the cook.

When you get that error, go into your game folder (C:\Program Files (x86)\Steam\steamapps\common\Stonehearth) and grab a file named “stonehearth.log”, upload it here, it contain a lot of information, can be useful.

1 Like

I followed the path 
 couldn’t find
stonehearth.log

did you find that stonehearth folder though? should look something like this

yeah
 just nothing named steam_uploads or stonehearth log

Heres the UI error again when I tried to add a cook to my current planet:
release-949 (x64)[M]
Uncaught TypeError: Cannot read property ‘workshop_equivalents’ of undefined
TypeError: Cannot read property ‘workshop_equivalents’ of undefined
at http://radiant/stonehearth/ui/game/show_workshop/show_team_workshop.js:373:60
at n. (http://radiant/radiant/js/radiant/object.js:357:19)
at Function.each (http://radiant/radiant/js/external/jquery-2.1.4.min.js:2:2936)
at Object.radiant.each (http://radiant/radiant/js/radiant/object.js:355:15)
at http://radiant/stonehearth/ui/game/show_workshop/show_team_workshop.js:354:18
at n. (http://radiant/radiant/js/radiant/object.js:357:19)
at Function.each (http://radiant/radiant/js/external/jquery-2.1.4.min.js:2:2936)
at Object.radiant.each (http://radiant/radiant/js/radiant/object.js:355:15)
at n._buildRecipeArray (http://radiant/stonehearth/ui/game/show_workshop/show_team_workshop.js:351:15)
at w (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:23160)
at m (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:4:21029)
at b (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:13753)

When I assign the cook, game freezes. If I close game and log back in, this is what I get

If you scroll down a little more, I bet you’ll see stonehearth.log, though it may show up as just stonehearth with a text document icon depending on your Windows folder / file extension settings. The steam_uploads folder only exists if you’re making your own mods through the game.

1 Like

I know what your talking about
I did scroll to the bottom just didn’t want to overload you with screenshots that don’t have the file. Im sure its in my computer somewhere, just not in there. No
not making my own mods.
If so, I would dedicate my life to making ALL mods work harmoniously :slight_smile:

nah if its not in that folder its nowhere.
which is odd sine every time the game runs it should make that file
 workshop equivalents of undefined makes me think dodgy mod is causing it.
honestly disabeling most mods except known safe ones and then turning things on one by one might be the way to go.

i KNOW the following arent doing it:
biomes:
nordlingmod kingdom
swamp biome + firefly clan+ beast tamer

game play:
jewel of the orient
composting
danis core mod
A.C.E.
fisher job + archipelago biome
extra map optionos
beam hearthling stats customization
wizard quest
mod repairer
space magic
trapper +taxidermy <probably not problematic because mod fixer fixes them, i think
trapper
lost ems

deco and design:
settlement décor
goblin furniture and warmaster
winter outfits
chef goblin ramsay- goblin cuisine extraordinnaire

buildings:
dont matter.

more might be safe but i know these ones are ok

1 Like

Getting to work on a totally fresh install. For some reason my machine wasn’t running an ACE version. It said it was ACE but it must have been corrupt. Im starting over fresh and I will run your list of mods FIRST. Thank you so much. Tremendous help

1 Like

You are welcome!
Let us know how that works out for you :slight_smile:

so far so good with the list you gave me plus Danis stuff. will add 1 at a time of new ones and try each one out patiently in the future. my ace version was corrupt so the vanilla was acting messed up. its good now

1 Like