Online Manual / Online Python reference fails for anything related to CyclesRenderSettings #68050

Open
opened 2019-08-01 09:42:21 +02:00 by Philipp Oeser · 12 comments
Member

System Information
Operating system: fedora 30, 5.1.16-300.fc30.x86_64
Graphics card: nvidia 970m, 430.26 drivers

Blender Version
Broken: blender/blender@46c22f33b2, master, 2019-08-01
Worked: 2.79.0

Short description of error
Choosing Online Manual / Online Python reference via context menue on any propertyrelated to CyclesRenderSettings throws an error
bpy.types.CyclesRenderSettings doesnt seem to be accessible via

Exact steps for others to reproduce the error
In the default scene, Properties Editor, Render tab:

  • switch to cycles
  • on any property (e.g. sampling panel > render samples), choose context menu (RMB) > Online Manual / Online Python reference
  • error
Traceback (most recent call last):
  File "/build_linux/bin/2.81/scripts/startup/bl_operators/wm.py", line 1032, in execute
    url = _wm_doc_get_id(self.doc_id, do_url=True, url_prefix=self._prefix)
  File "/build_linux/bin/2.81/scripts/startup/bl_operators/wm.py", line 937, in _wm_doc_get_id
    rna_class = getattr(bpy.types, class_name)
AttributeError: 'RNA_Types' object has no attribute 'CyclesRenderSettings'

Seems like CyclesRenderSettings are not accessible via bpy.types even though it is documented as such https://docs.blender.org/api/2.80/bpy.types.CyclesRenderSettings.html
but instead only via context.scene.cycles or from cycles package cycles.properties.CyclesRenderSettings

**System Information** Operating system: fedora 30, 5.1.16-300.fc30.x86_64 Graphics card: nvidia 970m, 430.26 drivers **Blender Version** Broken: blender/blender@46c22f33b2, master, 2019-08-01 Worked: 2.79.0 **Short description of error** Choosing `Online Manual` / `Online Python reference` via context menue on any propertyrelated to CyclesRenderSettings throws an error bpy.types.CyclesRenderSettings doesnt seem to be accessible via **Exact steps for others to reproduce the error** In the default scene, Properties Editor, Render tab: - switch to cycles - on any property (e.g. sampling panel > render samples), choose context menu (RMB) > `Online Manual` / `Online Python reference` - error ``` Traceback (most recent call last): File "/build_linux/bin/2.81/scripts/startup/bl_operators/wm.py", line 1032, in execute url = _wm_doc_get_id(self.doc_id, do_url=True, url_prefix=self._prefix) File "/build_linux/bin/2.81/scripts/startup/bl_operators/wm.py", line 937, in _wm_doc_get_id rna_class = getattr(bpy.types, class_name) AttributeError: 'RNA_Types' object has no attribute 'CyclesRenderSettings' ``` Seems like `CyclesRenderSettings` are not accessible via `bpy.types` even though it is documented as such https://docs.blender.org/api/2.80/bpy.types.CyclesRenderSettings.html but instead only via `context.scene.cycles` or from cycles package `cycles.properties.CyclesRenderSettings`
Author
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk

blender/blender#80045 was marked as duplicate of this issue

blender/blender#80045 was marked as duplicate of this issue

#74727 was marked as duplicate of this issue

#74727 was marked as duplicate of this issue

blender/blender-addons#72993 was marked as duplicate of this issue

blender/blender-addons#72993 was marked as duplicate of this issue

blender/blender#71642 was marked as duplicate of this issue

blender/blender#71642 was marked as duplicate of this issue
Campbell Barton was assigned by Aaron Carlisle 2019-09-13 20:54:56 +02:00
Author
Member

Added subscriber: @UD

Added subscriber: @UD
Campbell Barton was unassigned by Dalai Felinto 2019-12-23 16:33:27 +01:00

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Added subscriber: @mont29

Added subscriber: @mont29

There is no reasons to put that to high priority, this is a current limitation of the system, Cycles data is generated through python API, i.e. those are not 'real' RNA structures. Addressing this issue will require design and development work.

There is no reasons to put that to high priority, this is a current limitation of the system, Cycles data is generated through python API, i.e. those are not 'real' RNA structures. Addressing this issue will require design and development work.

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Added subscribers: @3di, @szulat, @JacquesLucke

Added subscribers: @3di, @szulat, @JacquesLucke
Member

Added subscriber: @jenkm

Added subscriber: @jenkm
Aaron Carlisle removed the
Module
Python API
label 2023-02-08 05:03:25 +01:00
Aaron Carlisle added the
Module
Python API
label 2023-08-13 15:30:49 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-manual#68050
No description provided.