Skip to content

QTO Job Failed: AttributeError 'has_openings' #5

@r9cczdvdqs-sudo

Description

@r9cczdvdqs-sudo

Job failed: Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/rq/worker.py", line 1659, in perform_job return_value = job.perform() ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/rq/job.py", line 1318, in perform self._result = self._execute() ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/rq/job.py", line 1376, in _execute result = self.func(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/tasks.py", line 72, in run_qto_calculation qto_results = qto.quantify(ifc_file, elements, qto_rule) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/ifc5d/qto.py", line 78, in quantify calculator.calculate(ifc_file, filtered_elements, qtos, results) File "/usr/local/lib/python3.11/site-packages/ifc5d/qto.py", line 317, in calculate value = cls.get_weight(element, geometry, calculation_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/ifc5d/qto.py", line 388, in get_weight if calculation_type == "gross" or not ifcopenshell.util.element.has_openings(element): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'ifcopenshell.util.element' has no attribute 'has_openings'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions