ansys / ansys-templates

A tool for creating new projects according to Ansys guidelines
https://templates.ansys.com
MIT License
11 stars 4 forks source link

Error while running setup_environment.py with -F option #463

Open anssakthi opened 3 months ago

anssakthi commented 3 months ago

πŸ” Before submitting the issue

🐞 Description of the bug

We encountered an error while attempting to run the existing solution setup file using the -F command. image Logs: log.log

πŸ“ Steps to reproduce

  1. (python_executable) -m ansys.templates new solution -s 05test -d 05test
  2. cd 05test
  3. (python_executable) setup_environment.py -F -d all

πŸ’» Which operating system are you using?

Windows

🐍 Which Python version are you using?

3.10

πŸ“¦ Installed packages

altgraph==0.17.4
ansys-templates==2.0.0
-e git+https://github.com/ansys-internal/saf-installer-qt-gui@36c7ec547e3152df6c9c4810044f443ee1fca0a9#egg=ansys_tools_installer
ansys-tools-path==0.3.1
appdirs==1.4.4
arrow==1.3.0
binaryornot==0.4.4
build==1.2.1
CacheControl==0.14.0
certifi==2024.2.2
cffi==1.16.0
chardet==5.2.0
charset-normalizer==3.3.2
cleo==2.1.0
click==8.1.7
colorama==0.4.6
cookiecutter==2.2.3
crashtest==0.4.1
cryptography==42.0.3
Deprecated==1.2.14
distlib==0.3.8
dulwich==0.21.7
fastjsonschema==2.19.1
filelock==3.13.3
idna==3.6
importlib-metadata==7.0.1
installer==0.7.0
isort==5.13.2
jaraco.classes==3.4.0
Jinja2==3.1.3
keyring==24.3.1
MarkupSafe==2.1.5
more-itertools==10.2.0
msgpack==1.0.8
packaging==23.1
pefile==2023.2.7
pexpect==4.9.0
pkginfo==1.10.0
platformdirs==4.2.0
plumbum==1.8.2
poetry==1.8.2
poetry-core==1.9.0
poetry-plugin-export==1.7.1
ptyprocess==0.7.0
pycparser==2.21
PyGithub==1.59.1
pyinstaller==6.0.0
pyinstaller-hooks-contrib==2024.3
PyJWT==2.8.0
PyNaCl==1.5.0
pyproject_hooks==1.0.0
PySide6==6.6.1
PySide6-Addons==6.6.1
PySide6-Essentials==6.6.1
python-dateutil==2.8.2
python-slugify==8.0.4
pywin32==306
pywin32-ctypes==0.2.2
PyYAML==6.0.1
rapidfuzz==3.8.1
requests==2.31.0
requests-toolbelt==1.0.0
shellingham==1.5.4
shiboken6==6.6.1
six==1.16.0
smartsheet-python-sdk==3.0.2
text-unidecode==1.3
toml==0.10.2
tomli==2.0.1
tomlkit==0.12.4
trove-classifiers==2024.3.25
types-python-dateutil==2.8.19.20240106
typing_extensions==4.9.0
urllib3==2.2.0
virtualenv==20.25.1
winapps==0.2.0
wrapt==1.16.0
zipp==3.17.0
stefanmarth commented 3 months ago

We are facing same issue within the Archimedes project.

StefanThoene commented 3 months ago

it seems that version 1.1.1 of pypim/ansys-platform-instancemanagement https://github.com/ansys/pypim/blob/v1.1.1/pyproject.toml refers to a non existing version of ansys-api-platform-instancemanagement https://github.com/ansys/ansys-api-platform-instancemanagement/tags

anssakthi commented 2 months ago

I'm uncertain about this, but I suspect the issue may be related to protobuf (internal dependencies). image ansys-api-platform-instancemanagement (1.0.0) depends on protobuf (>=3.19,<5) image