sorry to give you another one @sdee
I was ‘promoting’ a potter to a worker and got 3 errors
release-523 (x64)
stonehearth/ai/actions/work_at_workshop_type.lua:64: attempt to index local 'crafter_component' (a nil value)
stack traceback:
stonehearth/ai/actions/work_at_workshop_type.lua:64: in function <stonehearth/ai/actions/work_at_workshop_type.lua:62>
[C]: ?
[C]: in function 'run'
...tonehearth/services/server/tasks/run_task_action.lua:143: in function <...tonehearth/services/server/tasks/run_task_action.lua:141>
[C]: ?
[C]: ?
[C]: in function 'run'
...tonehearth/services/server/tasks/run_task_action.lua:143: in function <...tonehearth/services/server/tasks/run_task_action.lua:141>
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: in function 'run'
stonehearth/components/ai/ai_component.lua:533: in function <stonehearth/components/ai/ai_component.lua:518>
[C]: in function 'xpcall'
radiant/modules/common.lua:234: in function 'xpcall'
stonehearth/components/ai/ai_component.lua:518: 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:234: 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-523 (x64)
bad frame trasition from "stop" from "stopping"
stack traceback:
[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]: ?
[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]: ?
[C]: ?
[C]: in function 'stop'
stonehearth/components/ai/ai_component.lua:552: in function <stonehearth/components/ai/ai_component.lua:518>
[C]: in function 'xpcall'
radiant/modules/common.lua:234: in function 'xpcall'
stonehearth/components/ai/ai_component.lua:518: 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:234: 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-523 (x64)
bad frame trasition from "destroy" from "stopping"
stack traceback:
[C]: ?
[C]: in function 'destroy'
...tonehearth/services/server/tasks/run_task_action.lua:159: in function <...tonehearth/services/server/tasks/run_task_action.lua:154>
[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 'run'
stonehearth/components/ai/ai_component.lua:533: in function <stonehearth/components/ai/ai_component.lua:518>
[C]: in function 'xpcall'
radiant/modules/common.lua:234: in function 'xpcall'
stonehearth/components/ai/ai_component.lua:518: 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:234: 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>