Blender 4.0 alpha - Add-on Extra Objects: Some functions are not working. #104857

Closed
opened 2023-08-31 21:45:54 +02:00 by Uwe · 2 comments

System Information
Operating system: Windows-11 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 531.68

Blender Version
Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-08-30 22:16, hash: 7c57eb42d7a7
Worked: version: 3.6.3-candidate, commit date: 2023-08-29 11:52, hash: e2d4403497c6

Addon Information
Name: Extra Objects (0, 3, 9), esp. Rock Generator, Custom Brilliant, Simple Star, Honey Crumb, and Teapot
Author: Multiple Authors

Short description of error
Python Error-Messages

Exact steps for others to reproduce the error
The errors each occurred after pressing Shift-A for adding a new object.


Rock Generator

File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_rocks\rockgen.py", line 1117, in execute
rocks = generateRocks(context,
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_rocks\rockgen.py", line 823, in generateRocks
rock = generateObject(
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_rocks\rockgen.py", line 659, in generateObject
obj = createMeshObject(context, verts, [], faces, name)
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_rocks\rockgen.py", line 151, in createMeshObject
mesh.from_pydata(verts, edges, faces)
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata
self.polygons.foreach_set("vertices", vertex_indices)
TypeError: foreach_get(attr, sequence) sequence length mismatch given 24, needed 21


Custom Brilliant

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 449, in execute
obj = addBrilliant(context, self, self.s, self.table_w, self.crown_h,
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 240, in addBrilliant
dmesh = add_mesh_Brilliant(context, s, table_w, crown_h, girdle_t, pavi_d, bezel_f,
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 227, in add_mesh_Brilliant
dmesh.from_pydata(Verts, [], Faces)
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata
self.polygons.foreach_set("vertices", vertex_indices)
TypeError: foreach_get(attr, sequence) sequence length mismatch given 544, needed 484
Error: Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 449, in execute
obj = addBrilliant(context, self, self.s, self.table_w, self.crown_h,
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 240, in addBrilliant
dmesh = add_mesh_Brilliant(context, s, table_w, crown_h, girdle_t, pavi_d, bezel_f,
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 227, in add_mesh_Brilliant
dmesh.from_pydata(Verts, [], Faces)
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata
self.polygons.foreach_set("vertices", vertex_indices)
TypeError: foreach_get(attr, sequence) sequence length mismatch given 544, needed 484


Simple Star

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_star.py", line 241, in execute
mesh.from_pydata(verts, [], faces)
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata
self.polygons.foreach_set("vertices", vertex_indices)
TypeError: foreach_get(attr, sequence) sequence length mismatch given 100, needed 90
Error: Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_star.py", line 241, in execute
mesh.from_pydata(verts, [], faces)
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata
self.polygons.foreach_set("vertices", vertex_indices)
TypeError: foreach_get(attr, sequence) sequence length mismatch given 100, needed 90


Honey Crumb

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_honeycomb.py", line 303, in execute
mesh.from_pydata(verts, [], faces)
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata
self.polygons.foreach_set("vertices", vertex_indices)
TypeError: foreach_get(attr, sequence) sequence length mismatch given 124, needed 140
Error: Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_honeycomb.py", line 303, in execute
mesh.from_pydata(verts, [], faces)
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata
self.polygons.foreach_set("vertices", vertex_indices)
TypeError: foreach_get(attr, sequence) sequence length mismatch given 124, needed 140


Teapot

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_teapot.py", line 63, in execute
obj = create_mesh_object(self, context, verts, [], faces, "Teapot")
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_teapot.py", line 97, in create_mesh_object
mesh.from_pydata(verts, edges, faces)
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata
self.polygons.foreach_set("vertices", vertex_indices)
TypeError: foreach_get(attr, sequence) sequence length mismatch given 3160, needed 3200
Error: Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_teapot.py", line 63, in execute
obj = create_mesh_object(self, context, verts, [], faces, "Teapot")
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_teapot.py", line 97, in create_mesh_object
mesh.from_pydata(verts, edges, faces)
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata
self.polygons.foreach_set("vertices", vertex_indices)
TypeError: foreach_get(attr, sequence) sequence length mismatch given 3160, needed 3200

**System Information** Operating system: Windows-11 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 531.68 **Blender Version** Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-08-30 22:16, hash: `7c57eb42d7a7` Worked: version: 3.6.3-candidate, commit date: 2023-08-29 11:52, hash: `e2d4403497c6` **Addon Information** Name: Extra Objects (0, 3, 9), esp. Rock Generator, Custom Brilliant, Simple Star, Honey Crumb, and Teapot Author: Multiple Authors **Short description of error** Python Error-Messages **Exact steps for others to reproduce the error** The errors each occurred after pressing Shift-A for adding a new object. ------------------------- Rock Generator File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_rocks\rockgen.py", line 1117, in execute rocks = generateRocks(context, File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_rocks\rockgen.py", line 823, in generateRocks rock = generateObject( File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_rocks\rockgen.py", line 659, in generateObject obj = createMeshObject(context, verts, [], faces, name) File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_rocks\rockgen.py", line 151, in createMeshObject mesh.from_pydata(verts, edges, faces) File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata self.polygons.foreach_set("vertices", vertex_indices) TypeError: foreach_get(attr, sequence) sequence length mismatch given 24, needed 21 ------------------------- Custom Brilliant Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 449, in execute obj = addBrilliant(context, self, self.s, self.table_w, self.crown_h, File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 240, in addBrilliant dmesh = add_mesh_Brilliant(context, s, table_w, crown_h, girdle_t, pavi_d, bezel_f, File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 227, in add_mesh_Brilliant dmesh.from_pydata(Verts, [], Faces) File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata self.polygons.foreach_set("vertices", vertex_indices) TypeError: foreach_get(attr, sequence) sequence length mismatch given 544, needed 484 Error: Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 449, in execute obj = addBrilliant(context, self, self.s, self.table_w, self.crown_h, File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 240, in addBrilliant dmesh = add_mesh_Brilliant(context, s, table_w, crown_h, girdle_t, pavi_d, bezel_f, File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_round_brilliant.py", line 227, in add_mesh_Brilliant dmesh.from_pydata(Verts, [], Faces) File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata self.polygons.foreach_set("vertices", vertex_indices) TypeError: foreach_get(attr, sequence) sequence length mismatch given 544, needed 484 ------------------------- Simple Star Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_star.py", line 241, in execute mesh.from_pydata(verts, [], faces) File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata self.polygons.foreach_set("vertices", vertex_indices) TypeError: foreach_get(attr, sequence) sequence length mismatch given 100, needed 90 Error: Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_star.py", line 241, in execute mesh.from_pydata(verts, [], faces) File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata self.polygons.foreach_set("vertices", vertex_indices) TypeError: foreach_get(attr, sequence) sequence length mismatch given 100, needed 90 ------------------------- Honey Crumb Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_honeycomb.py", line 303, in execute mesh.from_pydata(verts, [], faces) File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata self.polygons.foreach_set("vertices", vertex_indices) TypeError: foreach_get(attr, sequence) sequence length mismatch given 124, needed 140 Error: Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_honeycomb.py", line 303, in execute mesh.from_pydata(verts, [], faces) File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata self.polygons.foreach_set("vertices", vertex_indices) TypeError: foreach_get(attr, sequence) sequence length mismatch given 124, needed 140 ------------------------- Teapot Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_teapot.py", line 63, in execute obj = create_mesh_object(self, context, verts, [], faces, "Teapot") File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_teapot.py", line 97, in create_mesh_object mesh.from_pydata(verts, edges, faces) File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata self.polygons.foreach_set("vertices", vertex_indices) TypeError: foreach_get(attr, sequence) sequence length mismatch given 3160, needed 3200 Error: Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_teapot.py", line 63, in execute obj = create_mesh_object(self, context, verts, [], faces, "Teapot") File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\addons\add_mesh_extra_objects\add_mesh_teapot.py", line 97, in create_mesh_object mesh.from_pydata(verts, edges, faces) File "C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy_types.py", line 627, in from_pydata self.polygons.foreach_set("vertices", vertex_indices) TypeError: foreach_get(attr, sequence) sequence length mismatch given 3160, needed 3200
Uwe added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-08-31 21:45:55 +02:00

Thanks for the report, can confirm on main

Thanks for the report, can confirm on main
Member

Hi, from traceback, I suspect this is same as #104743, closing.

Hi, from traceback, I suspect this is same as #104743, closing.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-09-07 10:38:45 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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-addons#104857
No description provided.