cgru icon indicating copy to clipboard operation
cgru copied to clipboard

Blender 2.8 "subcollections" problem

Open ialebedev opened this issue 4 years ago • 7 comments

Hi

I have a few render layers. And when I try to send the job with one of the render layers to afanasy , I jet this error.

`Traceback (most recent call last): File "/opt/cgru/plugins/blender/addons/cgru_tools/operators.py", line 114, in execute layers = utils.layers_get(active_scene) File "/opt/cgru/plugins/blender/addons/cgru_tools/utils.py", line 39, in layers_get obj_colls = object.users_collection # get all collections object is in AttributeError: 'NoneType' object has no attribute 'users_collection'

location: :-1 ` Any ideas?

ialebedev avatar Apr 02 '20 15:04 ialebedev

Hi! At first you should say, where you got addon for a Blender 2.8, as native addon in the latest release does not.

timurhai avatar Apr 02 '20 15:04 timurhai

Sure, from the lates release

The system is Debian 10 x86_64

ialebedev avatar Apr 02 '20 15:04 ialebedev

It should not work. You can try this: http://rules.cgru.info/#/downloads/blender Here was a small discusson: http://forum.cgru.info/viewtopic.php?f=7&t=3209&start=10

timurhai avatar Apr 02 '20 15:04 timurhai

Sorry

I've forgotten. I already used that version of the plugin. But any way I've replaced the old one on my server with the new from your link, to be sure.

The error still the same.

What is interesting is that few hours ago some other layers were send on the server without any problems.

ialebedev avatar Apr 02 '20 15:04 ialebedev

It seems to me, that the problem appears when I try to render subcollections (collections which are inside other collections). Because there is no problems when I render collections which are on top of the hierarchy in outliner.

ialebedev avatar Apr 04 '20 21:04 ialebedev

Timur, hi

Any ideas?

ialebedev avatar Apr 18 '20 15:04 ialebedev

Hi! I have not launched Blender 2.8, yet.

timurhai avatar Apr 18 '20 18:04 timurhai