Mantaflow cycles render fails when started via Python #73618

Closed
opened 2020-02-05 21:28:29 +01:00 by Evan Ryan · 6 comments

System Information
Operating system: CentOS Linux
Graphics card: GTX 1080 Driver Version: 418.88

Blender Version
Broken: (example: 2.83 Alpha, Hash-cd0a02862404, master, 2020-02-04)

Description
If a mantaflow smoke object exists Rendering with F12 or Ctrl+F12 works as expected. If python is used to initiate a render (via internal GUI console or command line with the flag -P) the mantaflow domain isn't rendered, an error ( below ) is produced, and blender hangs.

error...

Traceback (most recent call last):
File "<string>", line 55, in <module>
NameError: name 'Vec3Grid' is not defined
Traceback (most recent call last):
File "<string>", line 3, in <module>
NameError: name 'PcMGDynamic' is not defined

To reproduce the error, have a cached mantaflow domain and initiate a render from python (bpy.ops.render.render()) either from within an open blender GUI or from command line (blender -b mantaflow_included.blend -P render.py)

mantaflow_included.blend
render.py

**System Information** Operating system: CentOS Linux Graphics card: GTX 1080 Driver Version: 418.88 **Blender Version** Broken: (example: 2.83 Alpha, Hash-cd0a02862404, master, 2020-02-04) **Description** If a mantaflow smoke object exists Rendering with F12 or Ctrl+F12 works as expected. If python is used to initiate a render (via internal GUI console or command line with the flag -P) the mantaflow domain isn't rendered, an error ( below ) is produced, and blender hangs. error... ``` Traceback (most recent call last): File "<string>", line 55, in <module> NameError: name 'Vec3Grid' is not defined Traceback (most recent call last): File "<string>", line 3, in <module> NameError: name 'PcMGDynamic' is not defined ``` To reproduce the error, have a cached mantaflow domain and initiate a render from python (bpy.ops.render.render()) either from within an open blender GUI or from command line (blender -b mantaflow_included.blend -P render.py) [mantaflow_included.blend](https://archive.blender.org/developer/F8323866/mantaflow_included.blend) [render.py](https://archive.blender.org/developer/F8323867/render.py)
Author

Added subscriber: @evantryan

Added subscriber: @evantryan
Evan Ryan changed title from Mantaflow render fails to Mantaflow render fails when started via Python 2020-02-05 21:31:45 +01:00
Evan Ryan changed title from Mantaflow render fails when started via Python to Mantaflow cycles render fails when started via Python 2020-02-05 21:31:57 +01:00
Member

Added subscriber: @sebbas

Added subscriber: @sebbas

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

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

Added subscriber: @Vap0r1ze

Added subscriber: @Vap0r1ze
Sebastián Barschkis was assigned by Bastien Montagne 2020-03-20 15:56:37 +01:00

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

This issue should be resolved in the latest master (7de86ad61fb1). Thanks for reporting!

This issue should be resolved in the latest master (7de86ad61fb1). Thanks for reporting!
Sign in to join this conversation.
No Milestone
No project
5 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-addons#73618
No description provided.