Errors after adding a Gear or Worm (extra objects) #76049

Closed
opened 2020-04-24 14:05:25 +02:00 by xan2622 · 11 comments

System Information:
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19

Blender Version:
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: blender/blender@375c7dc4ca

Addon Information:
Name: Extra Objects (0, 3, 6)
Author: Multiple Authors

Short description of error:
In the Blender Preferences, if you have enabled Editing > Objects > New Objects > Enter Edit Mode.
And then, if you try to add a Gear or Worm (Extra Objects addon), errors appear.

Error messages:

Adding a Gear:

Traceback (most recent call last):
  File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_gears.py", line 749, in invoke
    self.execute(context)
  File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_gears.py", line 714, in execute
    tipGroup.add(verts_tip, 1.0, 'ADD')
RuntimeError: Error: VertexGroup.add(): cannot be called while object is in edit mode

location: <unknown location>:-1

Adding a Worm:

Traceback (most recent call last):
  File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_gears.py", line 930, in execute
    tipGroup.add(verts_tip, 1.0, 'ADD')
RuntimeError: Error: VertexGroup.add(): cannot be called while object is in edit mode


location: <unknown location>:-1

Exact steps for others to reproduce the error

  1. In the Blender Preferences, enable Editing > Objects > New Objects > Enter Edit Mode.
  2. Activate the Extra Objects addon
  3. In Object mode, try to add a Gear or Worm
**System Information:** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19 **Blender Version:** Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: `blender/blender@375c7dc4ca` **Addon Information:** Name: Extra Objects (0, 3, 6) Author: Multiple Authors **Short description of error:** In the Blender Preferences, if you have enabled **Editing > Objects > New Objects > Enter Edit Mode**. And then, if you try to add a **Gear** or **Worm** (Extra Objects addon), errors appear. **Error messages:** Adding a Gear: ``` Traceback (most recent call last): File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_gears.py", line 749, in invoke self.execute(context) File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_gears.py", line 714, in execute tipGroup.add(verts_tip, 1.0, 'ADD') RuntimeError: Error: VertexGroup.add(): cannot be called while object is in edit mode location: <unknown location>:-1 ``` Adding a Worm: ``` Traceback (most recent call last): File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_gears.py", line 930, in execute tipGroup.add(verts_tip, 1.0, 'ADD') RuntimeError: Error: VertexGroup.add(): cannot be called while object is in edit mode location: <unknown location>:-1 ``` **Exact steps for others to reproduce the error** 1. In the Blender Preferences, enable **Editing > Objects > New Objects > Enter Edit Mode**. 2. **Activate the Extra Objects addon** 3. In Object mode, try to **add a Gear or Worm**
Author

Added subscriber: @xan2622

Added subscriber: @xan2622

#76348 was marked as duplicate of this issue

#76348 was marked as duplicate of this issue
Author

It happens too if you try to add a Pipe Joint:

Traceback (most recent call last):
  File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_pipe_joint.py", line 261, in execute
    bpy.ops.object.join()
  File "E:\blender\blender_official\2.82\scripts\modules\bpy\ops.py", line 201, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: This data does not support joining in edit mode


location: <unknown location>:-1

With a Diamond too:

Traceback (most recent call last):
  File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_gemstones.py", line 335, in execute
    bpy.ops.object.join()
  File "E:\blender\blender_official\2.82\scripts\modules\bpy\ops.py", line 201, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: This data does not support joining in edit mode

location: <unknown location>:-1

With a Gem too:

Traceback (most recent call last):
  File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_gemstones.py", line 478, in execute
    bpy.ops.object.join()
  File "E:\blender\blender_official\2.82\scripts\modules\bpy\ops.py", line 201, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: This data does not support joining in edit mode

location: <unknown location>:-1

With a Teapot:

Traceback (most recent call last):
  File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_teapot.py", line 40, in execute
    bpy.ops.mesh.remove_doubles()
  File "E:\blender\blender_official\2.82\scripts\modules\bpy\ops.py", line 201, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.mesh.remove_doubles.poll() failed, context is incorrect

location: <unknown location>:-1
It happens too if you try to add a **Pipe Joint**: ``` Traceback (most recent call last): File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_pipe_joint.py", line 261, in execute bpy.ops.object.join() File "E:\blender\blender_official\2.82\scripts\modules\bpy\ops.py", line 201, in __call__ ret = op_call(self.idname_py(), None, kw) RuntimeError: Error: This data does not support joining in edit mode location: <unknown location>:-1 ``` With a **Diamond** too: ``` Traceback (most recent call last): File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_gemstones.py", line 335, in execute bpy.ops.object.join() File "E:\blender\blender_official\2.82\scripts\modules\bpy\ops.py", line 201, in __call__ ret = op_call(self.idname_py(), None, kw) RuntimeError: Error: This data does not support joining in edit mode location: <unknown location>:-1 ``` With a **Gem** too: ``` Traceback (most recent call last): File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_gemstones.py", line 478, in execute bpy.ops.object.join() File "E:\blender\blender_official\2.82\scripts\modules\bpy\ops.py", line 201, in __call__ ret = op_call(self.idname_py(), None, kw) RuntimeError: Error: This data does not support joining in edit mode location: <unknown location>:-1 ``` With a **Teapot**: ``` Traceback (most recent call last): File "E:\blender\blender_official\2.82\scripts\addons\add_mesh_extra_objects\add_mesh_teapot.py", line 40, in execute bpy.ops.mesh.remove_doubles() File "E:\blender\blender_official\2.82\scripts\modules\bpy\ops.py", line 201, in __call__ ret = op_call(self.idname_py(), None, kw) RuntimeError: Operator bpy.ops.mesh.remove_doubles.poll() failed, context is incorrect location: <unknown location>:-1 ```

Added subscriber: @rjg

Added subscriber: @rjg

This comment was removed by @rjg

*This comment was removed by @rjg*

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I misread the report initially, hence I removed my previous comment.

I misread the report initially, hence I removed my previous comment.

This requires a fix similar to d605104b9c that was made for the Extra Objects: Curve add-on.

This requires a fix similar to d605104b9c that was made for the Extra Objects: Curve add-on.
Vladimir Spivak self-assigned this 2020-04-24 15:02:06 +02:00

Added subscriber: @i080457

Added subscriber: @i080457

This issue was referenced by 2d8edd6ded

This issue was referenced by 2d8edd6dedc8dae2f5ac9afa2cbb867373c476ed

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#76049
No description provided.