Imort SVG as Grease pencil throws has no attribute 'uv_layers' python error in magic_uv after f3 gets pressed #1

Open
opened 2024-10-30 18:19:22 +01:00 by Cedric Steiert · 0 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 552.44

Blender Version
Broken: version: 4.2.3 LTS, branch: blender-v4.2-release, commit date: 2024-10-14 15:20, hash: 0e22e4fcea03
Worked: (newest version of Blender that worked as expected)

Short description of error
Importing attached svg into blender 4.2 as grease pencil throws following python errors after f3 gets pressed. According to the python errors this is caused by the extension magic_uv.

Python: Traceback (most recent call last):
  File "Blender\4.2\extensions\blender_org\magic_uv\op\copy_paste_uv_object.py", line 149, in draw
    uv_maps = compat.get_object_uv_layers(obj).keys()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Blender\4.2\extensions\blender_org\magic_uv\utils\compatibility.py", line 120, in get_object_uv_layers
    return obj.data.uv_layers
           ^^^^^^^^^^^^^^^^^^
AttributeError: 'GreasePencil' object has no attribute 'uv_layers'. Did you mean: 'layers'?

Exact steps for others to reproduce the error

  • import attached svg files as grease pencil object (file > import > svg as grease pencil)
  • press f3 to open the search menu
  • (maybe, not sure: try convert to path from f3 menu)
**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 552.44 **Blender Version** Broken: version: 4.2.3 LTS, branch: blender-v4.2-release, commit date: 2024-10-14 15:20, hash: `0e22e4fcea03` Worked: (newest version of Blender that worked as expected) **Short description of error** Importing attached svg into blender 4.2 as grease pencil throws following python errors after f3 gets pressed. According to the python errors this is caused by the extension magic_uv. ``` Python: Traceback (most recent call last): File "Blender\4.2\extensions\blender_org\magic_uv\op\copy_paste_uv_object.py", line 149, in draw uv_maps = compat.get_object_uv_layers(obj).keys() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Blender\4.2\extensions\blender_org\magic_uv\utils\compatibility.py", line 120, in get_object_uv_layers return obj.data.uv_layers ^^^^^^^^^^^^^^^^^^ AttributeError: 'GreasePencil' object has no attribute 'uv_layers'. Did you mean: 'layers'? ``` **Exact steps for others to reproduce the error** - import attached svg files as grease pencil object (file > import > svg as grease pencil) - press f3 to open the search menu - (maybe, not sure: try convert to path from f3 menu)
Cedric Steiert changed title from Imort SVG as Grease pencil throws multiple has no attribute python errors in magic_uv and bake_shape_keys extension after f3 gets pressed to Imort SVG as Grease pencil throws has no attribute 'uv_layers' python error in magic_uv after f3 gets pressed 2024-10-30 18:23:31 +01:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 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: extensions/magic_uv#1
No description provided.