Regression: fail to save image through python using bpy.ops.image.save() #98153

Closed
opened 2022-05-16 01:37:44 +02:00 by yonghao lv · 11 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.59

Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-12 20:58, hash: 906b9f55af
Worked: 3.1

Caused by c0df1cd1b3

Short description of error

Exact steps for others to reproduce the error

  1. run a python script that contain bpy.ops.image.save() in image editor
  2. the image will not be save and the editor will become empty(also create a new render result node)
**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.59 **Blender Version** Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-12 20:58, hash: `906b9f55af` Worked: 3.1 Caused by c0df1cd1b3 **Short description of error** **Exact steps for others to reproduce the error** 1. run a python script that contain bpy.ops.image.save() in image editor 2. the image will not be save and the editor will become empty(also create a new render result node)
Author

Added subscriber: @1029910278

Added subscriber: @1029910278
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

To speed up the process, please always share your example .blend file where everything is already set up (includes the script to be run etc.)

To speed up the process, please always share your example .blend file where everything is already set up (includes the script to be run etc.)
Author

Add a simple screenshot
2022-05-16 14-56-53.mp4
And the file
test.blend

Add a simple screenshot [2022-05-16 14-56-53.mp4](https://archive.blender.org/developer/F13078131/2022-05-16_14-56-53.mp4) And the file [test.blend](https://archive.blender.org/developer/F13078132/test.blend)
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

Can confirm, will check.

Can confirm, will check.
Member

Added subscribers: @Sergey, @brecht

Added subscribers: @Sergey, @brecht
Member

Caused by c0df1cd1b3

CC @brecht
CC @Sergey

Caused by c0df1cd1b3 CC @brecht CC @Sergey
Philipp Oeser changed title from fail to save image through python using bpy.ops.image.save() to Regression: fail to save image through python using bpy.ops.image.save() 2022-05-16 10:49:03 +02:00

This issue was referenced by adf183eeae

This issue was referenced by adf183eeaeaba4eeeea31353e4a939f7a5c5c9fc

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2022-05-16 13:29:41 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
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, Assets & 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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
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#98153
No description provided.