Page MenuHome

Errors thrown in console when running Operator Cheat Sheet
Closed, ResolvedPublic

Description

Blender Version
Broken: Blender 2.80 edc1b0167518 (Win64 build)

Description
An error is thrown when using the "Operator Cheat Sheet" option from the "Help" drop down.

Notes

  • Although using the "Operator Cheat Sheet" option exposes the error, WM_OT_operator_cheat_sheet (in 2.80\scripts\startup\bl_operators\wm.py) does not seem to be the error source
  • The Traceback message appears to indicate the actual problem is coming from 2.80\scripts\startup\nodeitems_builtins.py
  • A possible fix has been submitted with D4697

Exact steps for others to reproduce the error

  • Open blender from the command line
  • From the top drop down menu select Help > Operator Cheat Sheet
  • Look at output to command line

Traceback (most recent call last):
  File "blender-2.80-edc1b0167518-win64\2.80\scripts\startup\bl_operators\node.py", line 193, in node_enum_items
    for index, item in enumerate(nodeitems_utils.node_items_iter(context)):
  File "blender-2.80-edc1b0167518-win64\2.80\scripts\modules\nodeitems_utils.py", line 148, in node_items_iter
    for cat in node_categories_iter(context):
  File "blender-2.80-edc1b0167518-win64\2.80\scripts\modules\nodeitems_utils.py", line 143, in node_categories_iter
    if cat.poll and ((context is None) or cat.poll(context)):
  File "blender-2.80-edc1b0167518-win64\2.80\scripts\startup\nodeitems_builtins.py", line 49, in poll
    return (context.space_data.tree_type == 'ShaderNodeTree')
AttributeError: 'Space' object has no attribute 'tree_type'
File "blender-2.80-edc1b0167518-win64\2.80\scripts\startup\bl_operators\node.py", line 189, in node_enum_items
Info: See OperatorList.txt textblock