Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25509] RuntimeError: error getting an rna struct from a collection

Date:
2011-01-05 23:50
Priority:
3
State:
Closed
Submitted by:
Keith Murray (pc0der)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Scripts
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
RuntimeError: error getting an rna struct from a collection
Detailed description
This happens when accessing uv_texture data with a subscript. Create a uv texture layer on the default cube scene node and then enter this in the console:

>>> bpy.data.objects['Cube'].data.uv_textures[0]
Traceback (most recent call last):
File "<blender_console>", line 1, in <module>
RuntimeError: error getting an rna struct from a collection

This error started happening after commit r34098.

Followup

Message
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2011-01-06 03:21campbellbarton
close_dateNone2011-01-06 03:21campbellbarton
assigned_tonone2011-01-06 03:21campbellbarton
StatusNew2011-01-06 03:21campbellbarton