Skip to content

TypeError in _AllowedDomainNames.valid_name #5044

@Gobot1234

Description

@Gobot1234

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

ZoneError doesn't take a domain_name, it only takes zone_name parameter

def valid_name(self, domain_name):
"""Get a valid domain name.
Raises
------
ZoneError
If the given domain name is invalid.
"""
if not self.is_valid(domain_name):
raise ZoneError(
domain_name=domain_name,
allowed_values=self(),
)
return self._zones_info.domain_id(domain_name)

📝 Steps to reproduce

...

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

27.1

🐍 Which Python version are you using?

3.13

📦 Installed packages

N/A

Metadata

Metadata

Labels

bugIssue, problem or error in PyFluent

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions