Skip to content

Service() is not detecting default installation location #295

Open
@viseshrp

Description

@viseshrp

🔍 Before submitting the issue

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

🐞 Description of the bug

Windows 23H2
CEI Build: 2f19fee29
Unified Package Name: 2025-04-01 00:45 P00

trying to start an ADR Service with a default ansys installation produces the following error:

📝 Steps to reproduce

Windows 23H2
CEI Build: 2f19fee29
Unified Package Name: 2025-04-01 00:45 P00

trying to start an ADR Service with a default ansys installation produces the following error:

adr_service = adr.Service()
Traceback (most recent call last):
File "", line 1, in
File "D:\Ansysdev\Installs\v252\CEI\apex252\machines\win64\Python-3.10.16\lib\site-packages\ansys\dynamicreporting\core\adr_service.py", line 220, in init
self._ansys_installation, self.ansys_version = get_install_info(
File "D:\Ansysdev\Installs\v252\CEI\apex252\machines\win64\Python-3.10.16\lib\site-packages\ansys\dynamicreporting\core\common_utils.py", line 78, in get_install_info
if dir
.is_dir():
AttributeError: 'str' object has no attribute 'is_dir'

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

2025R2

🐍 Which Python version are you using?

3.10

📦 Installed packages

n/a

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions