Dev 2513 Weaver Workbench bug

Attempted to make 6 cloth and this popped up.

System:
Intel Core i7
12GB RAM
Nvidia GTX650M

develop-2513 (x64)
Uncaught Error: Assertion Failed: Attributes must be numbers, strings or booleans, not {currentSrc: http://radiant/stonehearth/entities/refined/cloth_bolt/cloth_bolt.png, sizes: , y: 206, x: 493, width: 200, vspace: 0, useMap: , srcset: , src: http://radiant/stonehearth/entities/refined/cloth_bolt/cloth_bolt.png, naturalWidth: 300, naturalHeight: 300, name: , lowsrc: , longDesc: , isMap: false, hspace: 0, height: 200, crossOrigin: null, complete: true, border: , alt: , align: , onwaiting: null, onvolumechange: null, ontoggle: null, ontimeupdate: null, onsuspend: null, onsubmit: null, onstalled: null, onshow: null, onselect: null, onseeking: null, onseeked: null, onscroll: null, onresize: null, onreset: null, onratechange: null, onprogress: null, onplaying: null, onplay: null, onpause: null, onmousewheel: null, onmouseup: null, onmouseover: null, onmouseout: null, onmousemove: null, onmouseleave: null, onmouseenter: null, onmousedown: null, onloadstart: null, onloadedmetadata: null, onloadeddata: null, onload: null, onkeyup: null, onkeypress: null, onkeydown: null, oninvalid: null, oninput: null, onfocus: null, onerror: null, onended: null, onemptied: null, ondurationchange: null, ondrop: null, ondragstart: null, ondragover: null, ondragleave: null, ondragenter: null, ondragend: null, ondrag: null, ondblclick: null, oncuechange: null, oncontextmenu: null, onclose: null, onclick: null, onchange: null, oncanplaythrough: null, oncanplay: null, oncancel: null, onblur: null, onabort: null, spellcheck: true, isContentEditable: false, contentEditable: inherit, outerText: , innerText: , accessKey: , hidden: false, webkitdropzone: , draggable: true, tabIndex: -1, dir: , translate: true, lang: , title: , childElementCount: 0, lastElementChild: null, firstElementChild: null, children: [object HTMLCollection], onwebkitfullscreenerror: null, onwebkitfullscreenchange: null, nextElementSibling: null, previousElementSibling: null, onwheel: null, onselectstart: null, onsearch: null, onpaste: null, oncut: null, oncopy: null, onbeforepaste: null, onbeforecut: null, onbeforecopy: null, shadowRoot: null, dataset: [object DOMStringMap], classList: , className: , outerHTML: <img id="portrait" src="/stonehearth/entities/refined/cloth_bolt/cloth_bolt.png">, innerHTML: , scrollHeight: 200, scrollWidth: 200, scrollTop: 0, scrollLeft: 0, clientHeight: 200, clientWidth: 200, clientTop: 0, clientLeft: 0, offsetParent: [object HTMLDivElement], offsetHeight: 200, offsetWidth: 200, offsetTop: 0, offsetLeft: 105, localName: img, prefix: null, namespaceURI: http://www.w3.org/1999/xhtml, id: portrait, style: [object CSSStyleDeclaration], attributes: [object NamedNodeMap], tagName: IMG, parentElement: [object HTMLDivElement], textContent: , baseURI: http://radiant/stonehearth/ui/root/index.html?current_screen=game_screen, ownerDocument: [object HTMLDocument], nextSibling: [object Text], previousSibling: [object Text], lastChild: null, firstChild: null, childNodes: [object NodeList], parentNode: [object HTMLDivElement], nodeType: 1, nodeValue: null, nodeName: IMG}
Error: Assertion Failed: Attributes must be numbers, strings or booleans, not {currentSrc: http://radiant/stonehearth/entities/refined/cloth_bolt/cloth_bolt.png, sizes: , y: 206, x: 493, width: 200, vspace: 0, useMap: , srcset: , src: http://radiant/stonehearth/entities/refined/cloth_bolt/cloth_bolt.png, naturalWidth: 300, naturalHeight: 300, name: , lowsrc: , longDesc: , isMap: false, hspace: 0, height: 200, crossOrigin: null, complete: true, border: , alt: , align: , onwaiting: null, onvolumechange: null, ontoggle: null, ontimeupdate: null, onsuspend: null, onsubmit: null, onstalled: null, onshow: null, onselect: null, onseeking: null, onseeked: null, onscroll: null, onresize: null, onreset: null, onratechange: null, onprogress: null, onplaying: null, onplay: null, onpause: null, onmousewheel: null, onmouseup: null, onmouseover: null, onmouseout: null, onmousemove: null, onmouseleave: null, onmouseenter: null, onmousedown: null, onloadstart: null, onloadedmetadata: null, onloadeddata: null, onload: null, onkeyup: null, onkeypress: null, onkeydown: null, oninvalid: null, oninput: null, onfocus: null, onerror: null, onended: null, onemptied: null, ondurationchange: null, ondrop: null, ondragstart: null, ondragover: null, ondragleave: null, ondragenter: null, ondragend: null, ondrag: null, ondblclick: null, oncuechange: null, oncontextmenu: null, onclose: null, onclick: null, onchange: null, oncanplaythrough: null, oncanplay: null, oncancel: null, onblur: null, onabort: null, spellcheck: true, isContentEditable: false, contentEditable: inherit, outerText: , innerText: , accessKey: , hidden: false, webkitdropzone: , draggable: true, tabIndex: -1, dir: , translate: true, lang: , title: , childElementCount: 0, lastElementChild: null, firstElementChild: null, children: [object HTMLCollection], onwebkitfullscreenerror: null, onwebkitfullscreenchange: null, nextElementSibling: null, previousElementSibling: null, onwheel: null, onselectstart: null, onsearch: null, onpaste: null, oncut: null, oncopy: null, onbeforepaste: null, onbeforecut: null, onbeforecopy: null, shadowRoot: null, dataset: [object DOMStringMap], classList: , className: , outerHTML: <img id="portrait" src="/stonehearth/entities/refined/cloth_bolt/cloth_bolt.png">, innerHTML: , scrollHeight: 200, scrollWidth: 200, scrollTop: 0, scrollLeft: 0, clientHeight: 200, clientWidth: 200, clientTop: 0, clientLeft: 0, offsetParent: [object HTMLDivElement], offsetHeight: 200, offsetWidth: 200, offsetTop: 0, offsetLeft: 105, localName: img, prefix: null, namespaceURI: http://www.w3.org/1999/xhtml, id: portrait, style: [object CSSStyleDeclaration], attributes: [object NamedNodeMap], tagName: IMG, parentElement: [object HTMLDivElement], textContent: , baseURI: http://radiant/stonehearth/ui/root/index.html?current_screen=game_screen, ownerDocument: [object HTMLDocument], nextSibling: [object Text], previousSibling: [object Text], lastChild: null, firstChild: null, childNodes: [object NodeList], parentNode: [object HTMLDivElement], nodeType: 1, nodeValue: null, nodeName: IMG}
    at new Error (native)
    at Error.EmberError (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:14251:23)
    at Object.Ember.assert (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:3865:15)
    at http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:8147:15
    at Array.forEach (native)
    at bindAttrHelper (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:8136:15)
    at program1 (eval at <anonymous> (http://radiant/stonehearth/ui/root/js/libs/handlebars-v1.3.0.js:1:0), <anonymous>:28:110)
    at prog (http://radiant/stonehearth/ui/root/js/libs/handlebars-v1.3.0.js:457:17)
    at CoreView.extend.render (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:42299:20)
    at EmberRenderer_createElement [as createElement] 

(http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:39526:16)

9 Error windows popped up after refreshing UI on the above bug. Posted in order as they came up in the window.

1)

develop-2513 (x64)
stonehearth/services/server/town/town.luac:54: attempt to index field '_task_groups' (a nil value)
stack traceback:
	[C]: ?
	stonehearth/services/server/town/town.luac:54: in function 'create_task_for_group'
	stonehearth/ai/observers/fill_storage_observer.luac:18: in function '_create_worker_task'
	stonehearth/ai/observers/fill_storage_observer.luac:12: in function '_update_worker_task'
	stonehearth/ai/observers/fill_storage_observer.luac:4: in function <stonehearth/ai/observers/fill_storage_observer.luac:3>

Error 2)

develop-2513 (x64)
c++ exception: lua runtime error
stack traceback:

Error 3)

develop-2513 (x64)
stonehearth/services/server/ai/compound_action.luac:97: placeholder ARGS.item.get_component(ARGS.item, mob).get_parent(ARGS.item.get_component(ARGS.item, mob)) failed to return a value in "pickup item on a table" action
stack traceback:
	radiant/modules/common.luac:32: in function <radiant/modules/common.luac:32>
	[C]: in function 'error'
	stonehearth/services/server/ai/compound_action.luac:97: in function '_replace_placeholders'
	stonehearth/services/server/ai/compound_action.luac:70: in function '_start_thinking_on_frame'
	stonehearth/services/server/ai/compound_action.luac:64: in function 'think_progress_cb'
	stonehearth/components/ai/execution_frame.luac:324: in function '_think_progress_cb'
	stonehearth/components/ai/execution_frame.luac:638: in function '_set_state'
	stonehearth/components/ai/execution_frame.luac:291: in function '_restart_thinking'
	stonehearth/components/ai/execution_frame.luac:298: in function '_start_thinking_from_stopped'
	stonehearth/components/ai/execution_frame.luac:78: in function '_start_thinking'
	stonehearth/components/ai/execution_frame.luac:314: in function 'start_thinking'
	...
	radiant/controllers/time_tracker_controller.luac:9: in function <radiant/controllers/time_tracker_controller.luac:9>
	[C]: in function 'xpcall'
	radiant/controllers/time_tracker_controller.luac:9: in function 'set_now'
	radiant/controllers/time_tracker_controller.luac:20: in function 'increment_now'
	radiant/modules/timer.luac:6: in function 'self'
	radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
	[C]: in function 'xpcall'
	radiant/modules/events.luac:78: in function 'trigger'
	radiant/modules/events.luac:97: in function '_update'
	radiant/server.luac:19: in function <radiant/server.luac:17>

Error 4)

develop-2513 (x64)
stonehearth/services/server/ai/compound_action.luac:97: placeholder ARGS.item.get_component(ARGS.item, mob).get_parent(ARGS.item.get_component(ARGS.item, mob)) failed to return a value in "pickup item on a table" action
stack traceback:
	radiant/modules/common.luac:32: in function <radiant/modules/common.luac:32>
	[C]: in function 'error'
	stonehearth/services/server/ai/compound_action.luac:97: in function '_replace_placeholders'
	stonehearth/services/server/ai/compound_action.luac:70: in function '_start_thinking_on_frame'
	stonehearth/services/server/ai/compound_action.luac:64: in function 'think_progress_cb'
	stonehearth/components/ai/execution_frame.luac:324: in function '_think_progress_cb'
	stonehearth/components/ai/execution_frame.luac:638: in function '_set_state'
	stonehearth/components/ai/execution_frame.luac:291: in function '_restart_thinking'
	stonehearth/components/ai/execution_frame.luac:298: in function '_start_thinking_from_stopped'
	stonehearth/components/ai/execution_frame.luac:78: in function '_start_thinking'
	stonehearth/components/ai/execution_frame.luac:314: in function 'start_thinking'
	...
	radiant/controllers/time_tracker_controller.luac:9: in function <radiant/controllers/time_tracker_controller.luac:9>
	[C]: in function 'xpcall'
	radiant/controllers/time_tracker_controller.luac:9: in function 'set_now'
	radiant/controllers/time_tracker_controller.luac:20: in function 'increment_now'
	radiant/modules/timer.luac:6: in function 'self'
	radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
	[C]: in function 'xpcall'
	radiant/modules/events.luac:78: in function 'trigger'
	radiant/modules/events.luac:97: in function '_update'
	radiant/server.luac:19: in function <radiant/server.luac:17>

Error 5)

develop-2513 (x64)
stonehearth/services/server/ai/compound_action.luac:97: placeholder ARGS.item.get_component(ARGS.item, mob).get_parent(ARGS.item.get_component(ARGS.item, mob)) failed to return a value in "pickup item on a table" action
stack traceback:
	radiant/modules/common.luac:32: in function <radiant/modules/common.luac:32>
	[C]: in function 'error'
	stonehearth/services/server/ai/compound_action.luac:97: in function '_replace_placeholders'
	stonehearth/services/server/ai/compound_action.luac:70: in function '_start_thinking_on_frame'
	stonehearth/services/server/ai/compound_action.luac:64: in function 'think_progress_cb'
	stonehearth/components/ai/execution_frame.luac:324: in function '_think_progress_cb'
	stonehearth/components/ai/execution_frame.luac:638: in function '_set_state'
	stonehearth/components/ai/execution_frame.luac:291: in function '_restart_thinking'
	stonehearth/components/ai/execution_frame.luac:298: in function '_start_thinking_from_stopped'
	stonehearth/components/ai/execution_frame.luac:78: in function '_start_thinking'
	stonehearth/components/ai/execution_frame.luac:314: in function 'start_thinking'
	...
	radiant/controllers/time_tracker_controller.luac:9: in function <radiant/controllers/time_tracker_controller.luac:9>
	[C]: in function 'xpcall'
	radiant/controllers/time_tracker_controller.luac:9: in function 'set_now'
	radiant/controllers/time_tracker_controller.luac:20: in function 'increment_now'
	radiant/modules/timer.luac:6: in function 'self'
	radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
	[C]: in function 'xpcall'
	radiant/modules/events.luac:78: in function 'trigger'
	radiant/modules/events.luac:97: in function '_update'
	radiant/server.luac:19: in function <radiant/server.luac:17>

Error 6)

develop-2513 (x64)
stonehearth/services/server/ai/compound_action.luac:97: placeholder ARGS.item.get_component(ARGS.item, mob).get_parent(ARGS.item.get_component(ARGS.item, mob)) failed to return a value in "pickup item on a table" action
stack traceback:
	radiant/modules/common.luac:32: in function <radiant/modules/common.luac:32>
	[C]: in function 'error'
	stonehearth/services/server/ai/compound_action.luac:97: in function '_replace_placeholders'
	stonehearth/services/server/ai/compound_action.luac:70: in function '_start_thinking_on_frame'
	stonehearth/services/server/ai/compound_action.luac:64: in function 'think_progress_cb'
	stonehearth/components/ai/execution_frame.luac:324: in function '_think_progress_cb'
	stonehearth/components/ai/execution_frame.luac:638: in function '_set_state'
	stonehearth/components/ai/execution_frame.luac:291: in function '_restart_thinking'
	stonehearth/components/ai/execution_frame.luac:298: in function '_start_thinking_from_stopped'
	stonehearth/components/ai/execution_frame.luac:78: in function '_start_thinking'
	stonehearth/components/ai/execution_frame.luac:314: in function 'start_thinking'
	...
	radiant/controllers/time_tracker_controller.luac:9: in function <radiant/controllers/time_tracker_controller.luac:9>
	[C]: in function 'xpcall'
	radiant/controllers/time_tracker_controller.luac:9: in function 'set_now'
	radiant/controllers/time_tracker_controller.luac:20: in function 'increment_now'
	radiant/modules/timer.luac:6: in function 'self'
	radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
	[C]: in function 'xpcall'
	radiant/modules/events.luac:78: in function 'trigger'
	radiant/modules/events.luac:97: in function '_update'
	radiant/server.luac:19: in function <radiant/server.luac:17>

Error 7)

develop-2513 (x64)
stonehearth/services/server/shop/shop.luac:107: attempt to index local 'sellable_items' (a nil value)
stack traceback:
	[C]: ?
	stonehearth/services/server/shop/shop.luac:107: in function 'sell_item'
	stonehearth/services/server/shop/shop.luac:118: in function <stonehearth/services/server/shop/shop.luac:118>

Error 8)

develop-2513 (x64)
c++ exception: lua runtime error
stack traceback:

Error 9)

develop-2513 (x64)
stonehearth/lib/i18n/i18n.luac:11: attempt to concatenate a nil value
stack traceback:
	radiant/modules/common.luac:32: in function <radiant/modules/common.luac:32>
	stonehearth/lib/i18n/i18n.luac:11: in function 'format_string'
	stonehearth/lib/game_master/game_master_lib.luac:5: in function '_compile_bulletin_text'
	stonehearth/lib/game_master/game_master_lib.luac:9: in function 'compile_bulletin_nodes'
	...er/controllers/encounters/dialog_tree_encounter.luac:4: in function 'start'
	...rvices/server/game_master/controllers/encounter.luac:22: in function 'start'
	...rth/services/server/game_master/controllers/arc.luac:49: in function '_start_encounter'
	...rth/services/server/game_master/controllers/arc.luac:41: in function '_trigger_edge'
	...rth/services/server/game_master/controllers/arc.luac:17: in function 'trigger_next_encounter'
	...me_master/controllers/encounters/wait_encounter.luac:11: in function '?'
	radiant/modules/common.luac:86: in function 'invoke'
	radiant/controllers/timer_controller.luac:29: in function 'fire'
	radiant/controllers/time_tracker_controller.luac:9: in function <radiant/controllers/time_tracker_controller.luac:9>
	[C]: in function 'xpcall'
	radiant/controllers/time_tracker_controller.luac:9: in function 'set_now'
	...earth/services/server/calendar/calendar_service.luac:112: in function 'fn'
	radiant/modules/events.luac:79: in function <radiant/modules/events.luac:78>
	[C]: in function 'xpcall'
	radiant/modules/events.luac:78: in function 'trigger'
	radiant/modules/events.luac:97: in function '_update'
	radiant/server.luac:19: in function <radiant/server.luac:17>

thanks for the report @Boulderboy … for future reference, if you wrap those error reports in the < / > code tags, its makes them much more legible… :+1:

1 Like

Oh! Ok, I was wondering how other people’s were nicely formatted. Noted and implemented, sir :smiley:

2 Likes