Empty plain axes should not be too empty (object.data should not be None in python) #96970
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#96970
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blender Version
Broken: version: 2.83.19, branch: master, commit date: 2022-02-01 20:05, hash:
blender/blender@86c526d2c7
Worked: (newest version of Blender that worked as expected)
Addon Information
Name: BoltFactory (0, 4, 0)
Author: Aaron Keith
Short description of error
AttributeError Traceback (most recent call last)
C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\add_mesh_BoltFactory\Boltfactory.py in execute(self, context)
340 if bpy.context.mode == "OBJECT":
341 if context.selected_objects != - [ ] and context.active_object and \
AttributeError: 'NoneType' object has no attribute 'keys'
Exact steps for others to reproduce the error
import bpy
bpy.ops.wm.read_homefile(app_template="")
bpy.ops.object.empty_add(type='PLAIN_AXES', align='CURSOR')
bpy.ops.preferences.addon_enable(module="add_mesh_BoltFactory")
make sure python get interrupted, other wise it will get another error, which is more common but more reasonable.
bpy.ops.mesh.bolt_add()
tried workaround*
When the active object is Empty, no matter it is plain axes or cone, try adding a bolt will cause the error.
so that add a new mesh before add bolt, and then unlink, and then remove, and then del it can avoid the problem.
Added subscriber: @tom_xiao
Added subscriber: @OmarEmaraDev
Changed status from 'Needs Triage' to: 'Archived'
This is already fixed in
6975199131
. But not available in 2.83, so you will have to update the add-on or Blender.