encountered an error while using the bool tool addon #79433

Open
opened 2020-07-31 19:25:37 +02:00 by arvind vikram singh kandari · 10 comments

System Information
Operating system: Windows-8.1-6.3.9600-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 416.94

Blender Version
Broken: version: 2.83.3, branch: master, commit date: 2020-07-22 06:01, hash: blender/blender@353e5bd749
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Bool Tool (0, 4, 1)
Author: Vitor Balbio, Mikhail Rachinskiy, TynkaTopi, Meta-Androcto, Simon Appelt

Short description of error

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\object_boolean_tools.py", line 587, in execute
    self.objects_prepare()
  File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\object_boolean_tools.py", line 547, in objects_prepare
    bpy.ops.object.convert(target="MESH")
  File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\bpy\ops.py", line 201, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.convert.poll() failed, context is incorrect

location: <unknown location>:-1

Exact steps for others to reproduce the error

  • Add a cube
  • Add a bezier circle
  • Select the cube, then the bezier circle, which should be marked as active object
  • Use Edit > Bool Tool > Auto Boolean > Difference
**System Information** Operating system: Windows-8.1-6.3.9600-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 416.94 **Blender Version** Broken: version: 2.83.3, branch: master, commit date: 2020-07-22 06:01, hash: `blender/blender@353e5bd749` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Bool Tool (0, 4, 1) Author: Vitor Balbio, Mikhail Rachinskiy, TynkaTopi, Meta-Androcto, Simon Appelt **Short description of error** ``` Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\object_boolean_tools.py", line 587, in execute self.objects_prepare() File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\object_boolean_tools.py", line 547, in objects_prepare bpy.ops.object.convert(target="MESH") File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\bpy\ops.py", line 201, in __call__ ret = op_call(self.idname_py(), None, kw) RuntimeError: Operator bpy.ops.object.convert.poll() failed, context is incorrect location: <unknown location>:-1 ``` **Exact steps for others to reproduce the error** - Add a cube - Add a bezier circle - Select the cube, then the bezier circle, which should be marked as active object - Use *Edit > Bool Tool > Auto Boolean > Difference*

Added subscriber: @arvindvsk23

Added subscriber: @arvindvsk23

Added subscriber: @rjg

Added subscriber: @rjg

Does this happen while you're in edit mode?

Does this happen while you're in edit mode?

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

nope ... happened while i was in object mode

nope ... happened while i was in object mode

@arvindvsk23 I couldn't reproduce this in a simple test. Do you have a small example project that shows this issue?

I can reproduce the issue, when the active object is a curve. That can't work, as far as I'm aware, but it should fail gracefully instead of causing an exception.

@arvindvsk23 ~~I couldn't reproduce this in a simple test. Do you have a small example project that shows this issue?~~ I can reproduce the issue, when the active object is a curve. That can't work, as far as I'm aware, but it should fail gracefully instead of causing an exception.

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'

thank you for your help , the issue has been resolved. I wasn't following the steps correctly .

thank you for your help , the issue has been resolved. I wasn't following the steps correctly .

@arvindvsk23 The ticket will remain open though, because this should be handled properly by the add-on with a warning message to the user instead of stack trace.

@arvindvsk23 The ticket will remain open though, because this should be handled properly by the add-on with a warning message to the user instead of stack trace.

i wasn't selecting any objects ; but directly selecting the bool tool subtract command which caused the problem . once i followed the correct order of operations the issue was resolved

i wasn't selecting any objects ; but directly selecting the bool tool subtract command which caused the problem . once i followed the correct order of operations the issue was resolved
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#79433
No description provided.