Skip to content

Send2UE - Use Collections as Folders Animation & Groom Support #92

Send2UE - Use Collections as Folders Animation & Groom Support

Send2UE - Use Collections as Folders Animation & Groom Support #92

GitHub Actions / Test LTS Results (Unreal 5.3 Blender 3.6) failed Jul 24, 2024 in 0s

240 tests run, 57 passed, 182 skipped, 1 failed.

Annotations

Check failure on line 110 in test_send2ue_extension_use_collections_as_folders.py

See this annotation in the file changed.

@github-actions github-actions / Test LTS Results (Unreal 5.3 Blender 3.6)

test_send2ue_extension_use_collections_as_folders.py.test_use_collections_as_folders_option

<Fault 1: '<class \'RuntimeError\'>:Error: Python: Traceback (most recent call last):\n  File "/tmp/blender_tools/src/addons/send2ue/operators.py", line 135, in execute\n    function(*args, **kwargs)\n  File "/tmp/blender_tools/src/addons/send2ue/core/export.py", line 337, in export_hair\n    extension.run_extension_tasks(ExtensionTasks.PRE_GROOM_EXPORT.value)\n  File "/tmp/blender_tools/src/addons/send2ue/core/extension.py", line 73, in run_extension_tasks\n    task(*args)\n  File "/tmp/blender_tools/src/addons/send2ue/resources/extensions/use_collections_as_folders.py", line 104, in pre_groom_export\n    export_path = self.get_full_export_path(properties, UnrealTypes.GROOM, scene_object)\n  File "/tmp/blender_tools/src/addons/send2ue/resources/extensions/use_collections_as_folders.py", line 123, in get_full_export_path\n    sub_path = self.get_collections_as_path(scene_object, properties)\n  File "/tmp/blender_tools/src/addons/send2ue/resources/extensions/use_collections_as_folders.py", line 209, in get_collections_as_path\n    if self.use_collections_as_folders and len(scene_object.users_collection) > 0:\nAttributeError: \'NoneType\' object has no attribute \'users_collection\'\nLocation: /home/ubuntu/blender/3.6/scripts/modules/bpy/ops.py:113\n'>
Raw output
Traceback (most recent call last):
  File "/home/ubuntu/services/github-runner/_work/BlenderTools/BlenderTools/tests/../src/addons/send2ue/dependencies/rpc/factory.py", line 221, in run_function_remotely
    return remote_function(*args)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/services/github-runner/_work/_tool/Python/3.11.9/x64/lib/python3.11/xmlrpc/client.py", line 1122, in __call__
    return self.__send(self.__name, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/services/github-runner/_work/_tool/Python/3.11.9/x64/lib/python3.11/xmlrpc/client.py", line 1464, in __request
    response = self.__transport.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/services/github-runner/_work/_tool/Python/3.11.9/x64/lib/python3.11/xmlrpc/client.py", line 1166, in request
    return self.single_request(host, handler, request_body, verbose)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/services/github-runner/_work/_tool/Python/3.11.9/x64/lib/python3.11/xmlrpc/client.py", line 1182, in single_request
    return self.parse_response(resp)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/services/github-runner/_work/_tool/Python/3.11.9/x64/lib/python3.11/xmlrpc/client.py", line 1354, in parse_response
    return u.close()
           ^^^^^^^^^
  File "/home/ubuntu/services/github-runner/_work/BlenderTools/BlenderTools/tests/../src/addons/send2ue/dependencies/rpc/client.py", line 70, in close
    raise Fault(**marshallables) # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
xmlrpc.client.Fault: <Fault 1: '<class \'RuntimeError\'>:Error: Python: Traceback (most recent call last):\n  File "/tmp/blender_tools/src/addons/send2ue/operators.py", line 135, in execute\n    function(*args, **kwargs)\n  File "/tmp/blender_tools/src/addons/send2ue/core/export.py", line 337, in export_hair\n    extension.run_extension_tasks(ExtensionTasks.PRE_GROOM_EXPORT.value)\n  File "/tmp/blender_tools/src/addons/send2ue/core/extension.py", line 73, in run_extension_tasks\n    task(*args)\n  File "/tmp/blender_tools/src/addons/send2ue/resources/extensions/use_collections_as_folders.py", line 104, in pre_groom_export\n    export_path = self.get_full_export_path(properties, UnrealTypes.GROOM, scene_object)\n  File "/tmp/blender_tools/src/addons/send2ue/resources/extensions/use_collections_as_folders.py", line 123, in get_full_export_path\n    sub_path = self.get_collections_as_path(scene_object, properties)\n  File "/tmp/blender_tools/src/addons/send2ue/resources/extensions/use_collections_as_folders.py", line 209, in get_collections_as_path\n    if self.use_collections_as_folders and len(scene_object.users_collection) > 0:\nAttributeError: \'NoneType\' object has no attribute \'users_collection\'\nLocation: /home/ubuntu/blender/3.6/scripts/modules/bpy/ops.py:113\n'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/services/github-runner/_work/BlenderTools/BlenderTools/tests/test_send2ue_extension_use_collections_as_folders.py", line 115, in test_use_collections_as_folders_option
    self.run_use_collections_as_folders_option_tests(
  File "/home/ubuntu/services/github-runner/_work/BlenderTools/BlenderTools/tests/test_send2ue_extension_use_collections_as_folders.py", line 38, in run_use_collections_as_folders_option_tests
    self.send2ue_operation()
  File "/home/ubuntu/services/github-runner/_work/BlenderTools/BlenderTools/tests/utils/base_test_case.py", line 742, in send2ue_operation
    self.blender.send2ue()
  File "/home/ubuntu/services/github-runner/_work/BlenderTools/BlenderTools/tests/../src/addons/send2ue/dependencies/rpc/factory.py", line 248, in wrapper
    return rpc_factory.run_function_remotely(function, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/services/github-runner/_work/BlenderTools/BlenderTools/tests/../src/addons/send2ue/dependencies/rpc/factory.py", line 225, in run_function_remotely
    raise Fault(exception.faultCode, exception.faultString)
xmlrpc.client.Fault: <Fault 1: '<class \'RuntimeError\'>:Error: Python: Traceback (most recent call last):\n  File "/tmp/blender_tools/src/addons/send2ue/operators.py", line 135, in execute\n    function(*args, **kwargs)\n  File "/tmp/blender_tools/src/addons/send2ue/core/export.py", line 337, in export_hair\n    extension.run_extension_tasks(ExtensionTasks.PRE_GROOM_EXPORT.value)\n  File "/tmp/blender_tools/src/addons/send2ue/core/extension.py", line 73, in run_extension_tasks\n    task(*args)\n  File "/tmp/blender_tools/src/addons/send2ue/resources/extensions/use_collections_as_folders.py", line 104, in pre_groom_export\n    export_path = self.get_full_export_path(properties, UnrealTypes.GROOM, scene_object)\n  File "/tmp/blender_tools/src/addons/send2ue/resources/extensions/use_collections_as_folders.py", line 123, in get_full_export_path\n    sub_path = self.get_collections_as_path(scene_object, properties)\n  File "/tmp/blender_tools/src/addons/send2ue/resources/extensions/use_collections_as_folders.py", line 209, in get_collections_as_path\n    if self.use_collections_as_folders and len(scene_object.users_collection) > 0:\nAttributeError: \'NoneType\' object has no attribute \'users_collection\'\nLocation: /home/ubuntu/blender/3.6/scripts/modules/bpy/ops.py:113\n'>