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
raise KeyError("key {name!r} already exists")Exact steps for others to reproduce the error
- Open Blender
- Go in Scripting workspace
- Select ui_previews_dynamic_enum.py from Templates > Python > UI Previews Dynamic Enum
- Run it, you will find the panel in the object properties window
- Now choose a directory for the icons to load
- Choose another directory
- And choose the directory you have chosen before (point 5)
The following error appears:
Traceback (most recent call last):
File "/ui_previews_dynamic_enum.py", line 54, in enum_previews_from_directory_items
File "/home/marco/Scaricati/blender-2.80-a3b88c917299-linux-glibc224-x86_64/2.80/scripts/modules/bpy/utils/previews.py", line 97, in load
raise KeyError("key {name!r} already exists")
KeyError: 'key {name!r} already exists'
File "/ui_previews_dynamic_enum.py", line 26, in enum_previews_from_directory_items
