Page MenuHome

Batch Generate-Previews doesn't work anymore
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows 10
Graphics card: MSI GTX 1080

Blender Version
Broken: 2.83.2
Worked: 2.80

Short description of error
The "Batch Generate-Previews" does not work anymore. The little processing black square just pop out and disappears after a second. I tried on an old version of Blender (2.80) and it works just fine. The processing square stays way longer on the old version. With the new one, it seems that the process doesn't succeed.

Exact steps for others to reproduce the error
Save a file with a basic cube.
Click on the "Batch Generate-Previews" tool
Try to append with another file -> no preview has been exported

Event Timeline

Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Jul 22 2020, 3:26 AM

Console log:

Blender 2.90.0 Alpha (hash b219ae4498ef built 2020-07-22 01:01:31)
found bundled python: C:\Blender-git\b1\bin\Release\2.90\python
Read blend: C:\Users\John\Desktop\work\bugs\5.blend


 *** Running C:\Blender-git\b1\bin\Release\2.90\scripts\modules\bl_previews_utils\bl_previews_render.py ***

 *** Blend file C:\Users\John\Desktop\work\bugs\5.blend ***

render!
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Blender-git\b1\bin\Release\2.90\scripts\modules\bl_previews_utils\bl_previews_render.py", line 510, in <module>
    main()
  File "C:\Blender-git\b1\bin\Release\2.90\scripts\modules\bl_previews_utils\bl_previews_render.py", line 501, in main
    do_data_intern=args.no_data_intern)
  File "C:\Blender-git\b1\bin\Release\2.90\scripts\modules\bl_previews_utils\bl_previews_render.py", line 317, in do_previews
    bpy.ops.wm.previews_clear(id_type='SHADING')
  File "C:\Blender-git\b1\bin\Release\2.90\scripts\modules\bpy\ops.py", line 201, in __call__
    ret = op_call(self.idname_py(), None, kw)
TypeError: Converting py args to operator properties: , WM_OT_previews_clear.id_type expected a set, not a str

Blender quit
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".