AttributeError: Wri...
 
Notifications
Clear all

[Solved] AttributeError: Writing to ID classes in this context is not allowed: Cube, Object datablock, error setting FlipFluidMeshCache.mesh_prefix

3 Posts
1 Users
0 Likes
10 Views
(@waterburg)
Active Member
Joined: 1 week ago
Posts: 3
Topic starter  

I seem to be getting the below error when trying to render my scene using the latest flip fluids (1.7) and the LTS Blender 3.6.2 -- any ideas on how to fix?

Traceback (most recent call last):
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\flip_fluids_addon\__init__.py", line 126, in frame_change_post
render.frame_change_post(scene, depsgraph)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\flip_fluids_addon\render.py", line 889, in frame_change_post
__load_frame(frameno, force_reload, depsgraph)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\flip_fluids_addon\render.py", line 794, in __load_frame
dprops.mesh_cache.initialize_cache_objects()
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\flip_fluids_addon\objects\flip_fluid_cache.py", line 1747, in initialize_cache_objects
self.initialize_cache_settings()
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\flip_fluids_addon\objects\flip_fluid_cache.py", line 1687, in initialize_cache_settings
self.surface.mesh_prefix = ""

AttributeError: Writing to ID classes in this context is not allowed: Cube, Object datablock, error setting FlipFluidMeshCache.mesh_prefix

 


   
Quote
(@waterburg)
Active Member
Joined: 1 week ago
Posts: 3
Topic starter  

On a different run, I got the same error in another section of code:

Traceback (most recent call last):
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\flip_fluids_addon\__init__.py", line 125, in frame_change_post
properties.frame_change_post(scene, depsgraph)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\flip_fluids_addon\properties\__init__.py", line 50, in frame_change_post
object_properties.frame_change_post(scene, depsgraph)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\flip_fluids_addon\properties\object_properties.py", line 581, in frame_change_post
domain_properties.frame_change_post(scene, depsgraph)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\flip_fluids_addon\properties\domain_properties.py", line 327, in frame_change_post
dprops.frame_change_post(scene, depsgraph)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\flip_fluids_addon\properties\domain_properties.py", line 282, in frame_change_post
api_workaround_utils.frame_change_post_apply_T71908_workaround(bpy.context, depsgraph)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\flip_fluids_addon\utils\api_workaround_utils.py", line 51, in frame_change_post_apply_T71908_workaround
setattr(dprops.render, p, getattr(dprops_eval.render, p))
AttributeError: Writing to ID classes in this context is not allowed: FLIP Domain, Object datablock, error setting DomainRenderProperties.render_display


   
ReplyQuote
(@waterburg)
Active Member
Joined: 1 week ago
Posts: 3
Topic starter  

Hi all, this was caused by another Blender plugin that was interfering with the Flip Fluid Bake. Once I removed the plugin, everything worked great.


   
ReplyQuote
Share: