Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken template projects #11

Open
tong opened this issue Jul 6, 2021 · 0 comments
Open

Broken template projects #11

tong opened this issue Jul 6, 2021 · 0 comments

Comments

@tong
Copy link
Contributor

tong commented Jul 6, 2021

There are several issues with building the template projects.
The results below are from https://github.com/tong/armory_examples_browser/actions building for the html5 target
It uses my fork of armory_templates where every project is flattened to repo root and has blend files saved with armory 21.07, beside that unchanged.
Also this doesn't mean that the projects run correctly, these are just the build time errors.

<project-name> <exit-code> <build-duration>

✖ archery: 255, 2444ms
✔ first_person: 0, 10282ms
✔ platformer: 0, 9597ms
✔ race_track: 0, 4081ms
✔ third_person: 0, 10376ms
✖ third_person_terrain: 1, 12531ms
✔ top_down: 0, 8391ms
✔ twin_stick: 0, 8643ms
✔ vehicle: 0, 3913ms

The complete build log: templates.log


Details:

  • archery

ERROR: There were errors in the node update procedure

A node of type LNOnMouseNode in tree "NodeTree" failed to be updated, because the node's update procedure itself failed. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 173, in replace
    setattr(newnode, dest_prop_name, getattr(node, src_prop_name))
TypeError: bpy_struct: item.attr = val: enum "Released" not found in ('started', 'down', 'released', 'moved')


A node of type LNOnKeyboardNode in tree "NodeTree" failed to be updated, because the node's update procedure itself failed. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 173, in replace
    setattr(newnode, dest_prop_name, getattr(node, src_prop_name))
TypeError: bpy_struct: item.attr = val: enum "Released" not found in ('started', 'down', 'released')


A node of type LNPlayActionNode in tree "NodeTree" failed to be updated, because there is no (longer?) an update routine for this version of the node. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 126, in replace
    response = node.get_replacement_node(tree)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/arm_nodes.py", line 74, in get_replacement_node
    raise LookupError(f"the current node class {repr(type(self)):s} does not implement get_replacement_node() even though it has updated")
LookupError: the current node class <class 'arm.logicnode.deprecated.LN_play_action.PlayActionNode'> does not implement get_replacement_node() even though it has updated


A node of type LNPlayActionNode in tree "NodeTree" failed to be updated, because there is no (longer?) an update routine for this version of the node. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 126, in replace
    response = node.get_replacement_node(tree)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/arm_nodes.py", line 74, in get_replacement_node
    raise LookupError(f"the current node class {repr(type(self)):s} does not implement get_replacement_node() even though it has updated")
LookupError: the current node class <class 'arm.logicnode.deprecated.LN_play_action.PlayActionNode'> does not implement get_replacement_node() even though it has updated


A node of type LNVectorMathNode in tree "NodeTree" failed to be updated, because there is no (longer?) an update routine for this version of the node. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 193, in replace
    dest_socket = newnode.outputs[dest_socket_id]
IndexError: bpy_prop_collection[index]: index 1 out of range, size 1


A node of type LNPlayActionNode in tree "NodeTree" failed to be updated, because there is no (longer?) an update routine for this version of the node. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 126, in replace
    response = node.get_replacement_node(tree)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/arm_nodes.py", line 74, in get_replacement_node
    raise LookupError(f"the current node class {repr(type(self)):s} does not implement get_replacement_node() even though it has updated")
LookupError: the current node class <class 'arm.logicnode.deprecated.LN_play_action.PlayActionNode'> does not implement get_replacement_node() even though it has updated


A node of type LNPlayActionNode in tree "NodeTree" failed to be updated, because there is no (longer?) an update routine for this version of the node. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 126, in replace
    response = node.get_replacement_node(tree)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/arm_nodes.py", line 74, in get_replacement_node
    raise LookupError(f"the current node class {repr(type(self)):s} does not implement get_replacement_node() even though it has updated")
LookupError: the current node class <class 'arm.logicnode.deprecated.LN_play_action.PlayActionNode'> does not implement get_replacement_node() even though it has updated


A node of type LNOnKeyboardNode in tree "NodeTree" failed to be updated, because the node's update procedure itself failed. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 173, in replace
    setattr(newnode, dest_prop_name, getattr(node, src_prop_name))
TypeError: bpy_struct: item.attr = val: enum "Started" not found in ('started', 'down', 'released')


A node of type LNOnMouseNode in tree "NodeTree" failed to be updated, because the node's update procedure itself failed. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 173, in replace
    setattr(newnode, dest_prop_name, getattr(node, src_prop_name))
TypeError: bpy_struct: item.attr = val: enum "Started" not found in ('started', 'down', 'released', 'moved')


A node of type LNScaleObjectNode in tree "NodeTree" failed to be updated, because there is no (longer?) an update routine for this version of the node. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 126, in replace
    response = node.get_replacement_node(tree)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/arm_nodes.py", line 74, in get_replacement_node
    raise LookupError(f"the current node class {repr(type(self)):s} does not implement get_replacement_node() even though it has updated")
LookupError: the current node class <class 'arm.logicnode.deprecated.LN_scale_object.ScaleObjectNode'> does not implement get_replacement_node() even though it has updated


A node of type LNOnKeyboardNode in tree "NodeTree" failed to be updated, because the node's update procedure itself failed. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 173, in replace
    setattr(newnode, dest_prop_name, getattr(node, src_prop_name))
TypeError: bpy_struct: item.attr = val: enum "Started" not found in ('started', 'down', 'released')


A node of type LNOnKeyboardNode in tree "NodeTree" failed to be updated, because the node's update procedure itself failed. Original exception:
Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 232, in replace_all
    replace(tree, node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/logicnode/replacement.py", line 173, in replace
    setattr(newnode, dest_prop_name, getattr(node, src_prop_name))
TypeError: bpy_struct: item.attr = val: enum "Started" not found in ('started', 'down', 'released')
  • third_person_terrain

Exporting Scene
Python: Traceback (most recent call last):
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/props_ui.py", line 1039, in execute
    make.play()
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/make.py", line 528, in play
    build(target=runtime_to_target(), is_play=True)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/make.py", line 416, in build
    export_data(fp, sdk_path)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/make.py", line 153, in export_data
    ArmoryExporter.export_scene(bpy.context, asset_path, scene=scene, depsgraph=depsgraph)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/exporter.py", line 155, in export_scene
    cls(context, filepath, scene, depsgraph).execute()
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/exporter.py", line 2157, in execute
    self.export_materials()
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/exporter.py", line 1836, in export_materials
    sd, rpasses = make_material.parse(material, o, mat_users, mat_armusers)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/make.py", line 45, in parse
    rpasses, shader_data, shader_data_name, bind_constants, bind_textures = make_shader.build(material, mat_users, mat_armusers)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/make_shader.py", line 74, in build
    con = make_mesh.make(rp, rpasses)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/make_mesh.py", line 62, in make
    make_deferred(con_mesh, rpasses)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/make_mesh.py", line 198, in make_deferred
    make_base(con_mesh, parse_opacity=parse_opacity)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/make_mesh.py", line 124, in make_base
    cycles.parse(mat_state.nodes, con_mesh, vert, frag, geom, tesc, tese, parse_opacity=parse_opacity)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/cycles.py", line 62, in parse
    parse_material_output(output_node, custom_particle_node)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/cycles.py", line 123, in parse_material_output
    out_disp = parse_displacement_input(node.inputs[2])
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/cycles.py", line 255, in parse_displacement_input
    return parse_vector_input(inp)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/cycles.py", line 267, in parse_vector_input
    res_var = write_result(link)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/cycles.py", line 519, in write_result
    res = parse_vector(link.from_node, link.from_socket)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/cycles.py", line 340, in parse_vector
    return node_parser_funcs[node.type](node, socket, state)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/cycles_nodes/nodes_vector.py", line 140, in parse_displacement
    height = c.parse_value_input(node.inputs[0])
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/cycles.py", line 389, in parse_value_input
    res_var = write_result(link)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/cycles.py", line 519, in write_result
    res = parse_vector(link.from_node, link.from_socket)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/cycles.py", line 340, in parse_vector
    return node_parser_funcs[node.type](node, socket, state)
  File "/home/tong/dev/ARMORY/armsdk//armory/blender/arm/material/cycles_nodes/nodes_texture.py", line 123, in parse_tex_image
    if tex['file'] is not None:
TypeError: 'NoneType' object is not subscriptable
  • vehicle

Runtime ERROR: Camera rotation isn't working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant