Page MenuHome

Python throws exception when opening Online Manual / Python Reference for anything in the Preferences section of Prefs > Keymap
Closed, DuplicatePublic

Description

System Information
Operating system: Linux-4.15.0-76-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.116

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-02-11 14:45, hash: rBc939b4df18e9
Broken: version 2.83-alpha, date: 2020-02-13
Worked: (haven't tested)

Short description of error
Python throws exception when opening Online Manual / Python Reference for anything in the Preferences section of Prefs > Keymap.

Online Manual seems to work fine under Keymap for any other UI not in Preferences section.

Separately, and not really a bug... builder.blender.org states that the binaries were built Feb 12, but Blender's splash states Feb 11. They have the same hash.

Exact steps for others to reproduce the error

  • Open Blender 2.82beta or Blender 2.83alpha (both downloaded from blender.org today)
  • Load Factory Settings
  • Edit > Preferences > Keymap
  • In the Preferences section at top, right-click on Left under Select With
  • Click Open Manual (or, with Developer Extras turned on, click Open Python Reference)
  • Exception!

2.82-beta

Error: Traceback (most recent call last):
  File "/home/jon/software/blender-2.82beta-20200213/2.82/scripts/startup/bl_operators/wm.py", line 1079, in execute
    rna_id = _wm_doc_get_id(self.doc_id, do_url=False)
  File "/home/jon/software/blender-2.82beta-20200213/2.82/scripts/startup/bl_operators/wm.py", line 1018, in _wm_doc_get_id
    rna_class = getattr(bpy.types, class_name)
AttributeError: 'RNA_Types' object has no attribute 'Prefs'

location: <unknown location>:-1

2.83-alpha

Error: Traceback (most recent call last):
  File "/home/jon/software/blender-2.83alpha-20200213/2.83/scripts/startup/bl_operators/wm.py", line 1079, in execute
    rna_id = _wm_doc_get_id(self.doc_id, do_url=False)
  File "/home/jon/software/blender-2.83alpha-20200213/2.83/scripts/startup/bl_operators/wm.py", line 1018, in _wm_doc_get_id
    rna_class = getattr(bpy.types, class_name)
AttributeError: 'RNA_Types' object has no attribute 'Prefs'

location: <unknown location>:-1