Python Template demo script error #63504
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#63504
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?
System Information
Operating system: Ubuntu 18.04.2 64bit
Graphics card: AMD RX 580 8GB
Blender Version
Broken: 2.80.55, a3b88c917299, 2019-04-10
Broken also in 2.79b
Short description of error
This error appears when running a demo template python script included in Blender
Exact steps for others to reproduce the error
The following error appears:
Added subscriber: @nacioss
Added subscriber: @Jeroen-Bakker
And i found a solution to the problem:
just add these lines of code after line 53 of the script
So that it checks if the icons have already been imported.
This could be helpful to others who need to make a dynamic enum.
This issue was referenced by blender/blender@f3fc8271b8
Added subscriber: @lichtwerk
lgtm, will commit, thx for the fix!
Changed status from 'Open' to: 'Resolved'
Wow :D my first python fix! Thank you a lot, you are awesome!
Added subscriber: @AlfonsoAnnarumma
You can do a
After the if that control the chance of directory.
If you change directory do a clear of pcoll.