Batch Generate-Previews doesn't work anymore #79031

Closed
opened 2020-07-17 19:06:12 +02:00 by Mickael Costa · 9 comments

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

**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
Author

Added subscriber: @Mykol

Added subscriber: @Mykol

#79238 was marked as duplicate of this issue

#79238 was marked as duplicate of this issue

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

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
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 ```

Added subscriber: @WOAS

Added subscriber: @WOAS
Philipp Oeser self-assigned this 2020-07-27 15:52:50 +02:00

This issue was referenced by f1f8ac3921

This issue was referenced by f1f8ac3921141feb3d422df93c28579578a3fbf4

This issue was referenced by e296c9e24e

This issue was referenced by e296c9e24e7e029cbd537251d40e3ea19b54c049
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Thomas Dinges added this to the 2.90 milestone 2023-02-08 16:26:16 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
4 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#79031
No description provided.