Skip to content

Update generated code for DPF 261_rcs_header on master #2344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

pyansys-ci-bot
Copy link
Collaborator

An update of generated code has been triggered either manually or by an update in the dpf-standalone repository.

@pyansys-ci-bot pyansys-ci-bot requested a review from a team as a code owner June 6, 2025 13:09
@pyansys-ci-bot pyansys-ci-bot added the server-sync DO NOT USE, Related to automatic synchronization with the server label Jun 6, 2025
Copy link

codecov bot commented Jun 6, 2025

❌ 12 Tests Failed:

Tests completed Failed Passed Skipped
24875 12 24863 3587
View the top 3 failed test(s) by shortest run time
tests/test_field.py::test_field_header[in Process CLayer]
Stack Traces | 0.375s run time
strain_field = <ansys.dpf.core.field.Field object at 0x7fe605761090>

    def test_field_header(strain_field):
        if server_meet_version("11.0", strain_field._server):
>           header = strain_field.header

tests/test_field.py:1458: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
..../test-api/lib/python3.10.../dpf/core/field.py:828: in header
    return op.get_output(0, types.data_tree)
..../test-api/lib/python3.10.../dpf/core/dpf_operator.py:593: in get_output
    internal_obj = type_tuple[1](self, pin)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

op = <ansys.dpf.core.dpf_operator.Operator object at 0x7fe605762560>
iOutput = 0

    @staticmethod
    def operator_getoutput_data_tree(op, iOutput):
    	errorSize = ctypes.c_int(0)
    	sError = ctypes.c_wchar_p()
    	res = capi.dll.Operator_getoutput_DataTree(op._internal_obj if op is not None else None, utils.to_int32(iOutput), ctypes.byref(utils.to_int32(errorSize)), ctypes.byref(sError))
    	if errorSize.value != 0:
>   		raise errors.DPFServerException(sError.value)
E     ansys.dpf.gate.errors.DPFServerException: field::get_attribute:3368<-"header" is not a supported property name

..../test-api/lib/python3.10.../gate/generated/operator_capi.py:662: DPFServerException
tests\test_field.py::test_field::test_field_header[in Process CLayer]
Stack Traces | 0.405s run time
strain_field = <ansys.dpf.core.field.Field object at 0x0000028F2065EFB0>

    def test_field_header(strain_field):
        if server_meet_version("11.0", strain_field._server):
>           header = strain_field.header

tests\test_field.py:1458: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:828: in header
    return op.get_output(0, types.data_tree)
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:593: in get_output
    internal_obj = type_tuple[1](self, pin)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

op = <ansys.dpf.core.dpf_operator.Operator object at 0x0000028F1BFC00A0>
iOutput = 0

    @staticmethod
    def operator_getoutput_data_tree(op, iOutput):
    	errorSize = ctypes.c_int(0)
    	sError = ctypes.c_wchar_p()
    	res = capi.dll.Operator_getoutput_DataTree(op._internal_obj if op is not None else None, utils.to_int32(iOutput), ctypes.byref(utils.to_int32(errorSize)), ctypes.byref(sError))
    	if errorSize.value != 0:
>   		raise errors.DPFServerException(sError.value)
E     ansys.dpf.gate.errors.DPFServerException: field::get_attribute:3368<-"header" is not a supported property name

.tox\test-api\lib\site-packages\ansys\dpf\gate\generated\operator_capi.py:662: DPFServerException
tests\test_field.py::test_field::test_field_header[in Process CLayer]
Stack Traces | 0.408s run time
strain_field = <ansys.dpf.core.field.Field object at 0x000001F07EFEBEE0>

    def test_field_header(strain_field):
        if server_meet_version("11.0", strain_field._server):
>           header = strain_field.header

tests\test_field.py:1458: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:828: in header
    return op.get_output(0, types.data_tree)
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:593: in get_output
    internal_obj = type_tuple[1](self, pin)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

op = <ansys.dpf.core.dpf_operator.Operator object at 0x000001F07A81C370>
iOutput = 0

    @staticmethod
    def operator_getoutput_data_tree(op, iOutput):
    	errorSize = ctypes.c_int(0)
    	sError = ctypes.c_wchar_p()
    	res = capi.dll.Operator_getoutput_DataTree(op._internal_obj if op is not None else None, utils.to_int32(iOutput), ctypes.byref(utils.to_int32(errorSize)), ctypes.byref(sError))
    	if errorSize.value != 0:
>   		raise errors.DPFServerException(sError.value)
E     ansys.dpf.gate.errors.DPFServerException: field::get_attribute:3368<-"header" is not a supported property name

.tox\test-api\lib\site-packages\ansys\dpf\gate\generated\operator_capi.py:662: DPFServerException

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Copy link
Contributor

github-actions bot commented Jun 6, 2025

The documentation for this pull request will be available at https://dpf.docs.pyansys.com/pull/2344. Please allow some time for the documentation to be deployed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server-sync DO NOT USE, Related to automatic synchronization with the server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants