Closed peluho closed 2 months ago
@peluho can you confirm that mapdl launched and you can use pymapdl? That is just a warning, not an error and should have launched mapdl. You can check by printing the mapdl object after launch and the "Product" will list the license checked out:
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl(run_location=path,
license_type='preppost',
exec_file="C:\\Program Files\\ANSYS Inc\\v231\\ansys\\bin\\winx64\\ansys231.exe",
loglevel='WARNING',
print_com=True)
print(mapdl)
I would like to see preppost added to the license list checked. Mike
Action on me, to add preppost
license to:
🤓 Before submitting the issue
pip install --upgrade --upgrade-strategy eager ansys-mapdl-core
in your activated virtual environment.🔍 Description of the bug
Not sure if was removed on purpose, however there is a license_type = preppost that does not work. I got 2 licenses Mechanical Enterprise PrepPost 'preppost' and Mechanical Enterprise Solver 'meba'. is this feature removed on purpose or maybe I'm wrong and it was never activated.
I look for the existing issues section but I didnt find anything. Thank you for your support.
🕵️ Steps To Reproduce
💻 Which Operating System are you using?
Windows
🐍 Which Python version are you using?
3.11
💾 Which MAPDL version are you using?
23R1
📝 PyMAPDL Report
Show the Report!
```text PyMAPDL Software and Environment Report Packages Requirements ********************* Core packages ------------- ansys.mapdl.core : 0.68.1 numpy : 1.26.4 platformdirs : 4.2.1 scipy : 1.13.0 grpc : Package not found ansys.api.mapdl.v0 : Package not found ansys.mapdl.reader : 0.53.0 google.protobuf : Package not found Optional packages ----------------- matplotlib : 3.8.4 pyvista : 0.43.7 pyiges : 0.3.1 tqdm : 4.66.2 Ansys Installation ****************** Version Location ------------------ 201 C:\Program Files\ANSYS Inc\v201 231 C:\Program Files\ANSYS Inc\v231 Ansys Environment Variables *************************** ANSYS 18.0 INSTALLATION DIRECTORY C:\Program Files\ANSYS Inc\v180\ansys\bin\winx64 ANSYS LICENSE DIRECTORY C:\Program Files\ANSYS Inc\v180\commonfiles\tools\winx64 ANSYS180_DIR C:\Program Files\ANSYS Inc\v180\ANSYS ANSYS201_DIR C:\Program Files\ANSYS Inc\v201\ANSYS ANSYS231_DIR C:\Program Files\ANSYS Inc\v231\ANSYS ANSYS_MACROLIB C:\Iosis_Macros ANSYS_SYSDIR winx64 ANSYS_SYSDIR32 win32 AWP_LOCALE180 en-us AWP_LOCALE201 en-us AWP_LOCALE231 en-us AWP_ROOT180 C:\Program Files\ANSYS Inc\v180 AWP_ROOT201 C:\Program Files\ANSYS Inc\v201 AWP_ROOT231 C:\Program Files\ANSYS Inc\v231 CADOE_LIBDIR180 C:\Program Files\ANSYS Inc\v180\CommonFiles\Language\en-us CADOE_LIBDIR201 C:\Program Files\ANSYS Inc\v201\CommonFiles\Language\en-us CADOE_LIBDIR231 C:\Program Files\ANSYS Inc\v231\CommonFiles\Language\en-us ```📝 Installed packages
Show the installed packages!
```text aiohttp==3.9.3 aiosignal==1.3.1 alabaster==0.7.16 aliyun-python-sdk-core==2.14.0 aliyun-python-sdk-core-v3==2.13.33 aliyun-python-sdk-kms==2.16.2 altgraph==0.17.4 anastruct==1.5.0 annotated-types==0.6.0 ansys-additive-core==0.17.2 ansys-api-additive==1.4.1 ansys-api-dbu==0.2.5 ansys-api-dyna==0.3.6 ansys-api-edb==1.0.3 ansys-api-fluent==0.3.5 ansys-api-geometry==0.3.8 ansys-api-mapdl==0.5.1 ansys-api-mechanical==0.1.1 ansys-api-meshing-prime==0.1.1 ansys-api-platform-instancemanagement==1.1.0 ansys-api-pyensight==0.3.7 ansys-api-sherlock==0.1.22 ansys-api-systemcoupling==0.1.0 ansys-dpf-core==0.8.0 ansys-dpf-gate==0.3.1 ansys-dpf-gatebin==0.4.1 ansys-dpf-post==0.4.0 ansys-dyna-core==0.4.13 ansys-dynamicreporting-core==0.5.1 ansys-edb-core==0.1.3 ansys-fluent-core==0.12.5 ansys-geometry-core==0.4.11 ansys-grantami-bomanalytics==1.1.3 ansys-grantami-bomanalytics-openapi==1.0.0 ansys-grantami-recordlists==1.1.0 ansys-grantami-serverapi-openapi==2.0.0 ansys-grpc-dpf==0.8.1 ansys-hps-client==0.7.1 ansys-mapdl-core==0.68.1 ansys-mapdl-reader==0.53.0 ansys-math-core==0.1.5 ansys-mechanical-core==0.10.8 ansys-mechanical-env==0.1.4 ansys-meshing-prime==0.3.0 ansys-motorcad-core==0.1.3 ansys-openapi-common==1.2.1 ansys-optislang-core==0.2.0 ansys-platform-instancemanagement==1.0.3 ansys-pyensight-core==0.7.8 ansys-pythonnet==3.1.0rc3 ansys-rocky-core==0.1.0 ansys-seascape==0.2.0 ansys-sherlock-core==0.4.0 ansys-simai-core==0.1.4 ansys-systemcoupling-core==0.1.3 ansys-tools-path==0.5.2 ansys-turbogrid-api==0.4.0 ansys-turbogrid-core==0.4.0 anyio==4.3.0 appdirs==1.4.4 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asgiref==3.7.2 astroid==3.0.0 asttokens==2.4.1 async-lru==2.0.4 attrs==23.2.0 auto-py-to-exe==2.43.3 autopep8==2.1.1 Babel==2.14.0 backoff==2.2.1 bcrypt==4.1.3 beartype==0.18.5 beautifulsoup4==4.12.3 bleach==6.0.0 bokeh==3.4.1 bottle==0.12.25 bottle-websocket==0.2.9 build==1.0.3 cachetools==5.3.3 cattrs==23.2.3 certifi==2024.2.2 cffi==1.16.0 chardet==3.0.4 charset-normalizer==3.3.2 click==8.1.7 clr-loader==0.2.6 colorama==0.4.6 comm==0.2.2 contourpy==1.2.1 crcmod==1.7 cryptography==41.0.4 cssselect==1.2.0 cycler==0.12.1 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 dill==0.3.7 Django==4.2.6 docker==7.0.0 docutils==0.20.1 docx==0.2.4 docx2pdf==0.1.8 ecdsa==0.19.0 Eel==0.16.0 elementpath==4.4.0 emoji==2.11.1 et-xmlfile==1.1.0 executing==2.0.1 fabric==3.2.2 fanstatic==1.4 fastjsonschema==2.19.1 fiberkit==1.0.0 filelock==3.12.4 fire==0.3.1 flatbuffers==24.3.25 fonttools==4.51.0 fpdf2==2.7.8 fqdn==1.5.1 frozenlist==1.4.1 future==1.0.0 geomdl==5.3.1 gevent==24.2.1 gevent-websocket==0.10.1 google-api-core==2.18.0 google-api-python-client==2.125.0 google-auth==2.29.0 google-auth-httplib2==0.2.0 googleapis-common-protos==1.63.0 graphviz==0.20.1 greenlet==3.0.3 grpcio==1.62.2 grpcio-health-checking==1.48.2 grpcio-status==1.48.2 h11==0.14.0 h5py==3.10.0 httpcore==1.0.5 httplib2==0.22.0 httpx==0.27.0 idna==3.7 imageio==2.34.0 imagesize==1.4.1 importlib-metadata==6.11.0 iniconfig==2.0.0 invoke==2.2.0 ipycanvas==0.13.2 ipyevents==2.0.2 ipykernel==6.29.3 ipympl==0.9.3 ipython==8.22.2 ipython-genutils==0.2.0 ipyvtklink==0.2.3 ipywidgets==8.0.4 isoduration==20.11.0 isort==5.12.0 jaraco.classes==3.3.0 jason==0.1.7 jedi==0.19.1 Jinja2==3.1.3 jmespath==0.10.0 joblib==1.3.2 js==1.0 json5==0.9.25 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 julia==0.6.2 jupyter==1.0.0 jupyter-console==6.6.3 jupyter-events==0.10.0 jupyter-lsp==2.2.5 jupyter_client==8.6.1 jupyter_core==5.7.2 jupyter_server==2.14.0 jupyter_server_terminals==0.5.3 jupyterlab==4.1.6 jupyterlab_pygments==0.3.0 jupyterlab_server==2.27.1 jupyterlab_widgets==3.0.10 keyring==24.2.0 kiwisolver==1.4.5 latexcodec==2.0.1 lazy-object-proxy==1.9.0 linkify-it-py==2.0.3 lxml==4.9.3 Markdown==3.6 markdown-it-py==3.0.0 MarkupSafe==2.1.3 marshmallow==3.21.2 marshmallow-oneofschema==3.1.1 matplot==0.1.9 matplotlib==3.8.4 matplotlib-inline==0.1.6 mccabe==0.7.0 mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 more-itertools==10.0.0 multidict==6.0.5 natsort==8.4.0 nbclient==0.10.0 nbconvert==7.16.3 nbformat==5.10.4 nest-asyncio==1.6.0 notebook==7.1.3 notebook_shim==0.2.4 numpy==1.26.4 openmeteo_requests==1.2.0 openmeteo_sdk==1.11.4 openpyxl==3.1.2 openseespy==3.5.1.12 openseespywin==3.5.1.12 oss2==2.12.1 overrides==7.7.0 packaging==24.0 pandas==2.1.1 pandocfilters==1.5.1 panel==1.4.2 param==2.1.0 paramiko==3.4.0 parso==0.8.3 pdfminer.six==20231228 pdfquery==0.4.3 pefile==2023.2.7 pep8==1.7.1 pillow==10.3.0 Pint==0.23 pkginfo==1.9.6 platformdirs==4.2.1 plotly==5.22.0 pluggy==1.5.0 plumbum==1.8.2 pooch==1.8.1 prometheus_client==0.20.0 prompt-toolkit==3.0.43 proto-plus==1.23.0 protobuf==3.20.3 psutil==5.9.8 pure-eval==0.2.2 pyaedt==0.6.61 pyansys==2023.2rc1 pyansys-docker==5.0.4 pyansys-tools-versioning==0.5.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pybtex==0.24.0 pybtex-docutils==1.0.3 pycodestyle==2.11.1 pycparser==2.21 pycryptodome==3.20.0 pydantic==2.7.1 pydantic_core==2.18.2 Pygments==2.15.1 pygranta==2024.1.0 pyiges==0.3.1 pyinstaller==5.13.2 pyinstaller-hooks-contrib==2024.5 pylint==3.0.0a7 pyloco==0.0.139 PyNaCl==1.5.0 pyparsing==3.1.2 pypdf==4.2.0 pypiwin32==223 pypng==0.20220715.0 pyproject_hooks==1.0.0 pyquery==2.0.0 Pyro5==5.15 pyspnego==0.10.2 pytest==8.2.0 python-dateutil==2.9.0.post0 python-docx==0.8.11 python-jose==3.3.0 python-json-logger==2.0.7 python-keycloak==2.0.0 pythonnet==3.0.1 pytwin==0.3.0 pytz==2023.3.post1 pyvista==0.43.7 pyviz_comms==3.0.2 pywin32==306 pywin32-ctypes==0.2.2 pywinpty==2.0.13 PyYAML==6.0.1 pyzmq==25.1.2 qtconsole==5.5.1 QtPy==2.4.1 readme-renderer==40.0 referencing==0.35.0 reportlab==4.0.4 requests==2.31.0 requests-cache==1.2.0 requests-negotiate-sspi==0.5.2 requests-ntlm==1.2.0 requests-toolbelt==1.0.0 retry-requests==2.0.0 rfc3339-validator==0.1.4 rfc3986==2.0.0 rfc3986-validator==0.1.1 rich==13.4.2 roman==4.1 rpds-py==0.18.0 rpyc==5.3.0 rsa==4.9 schemdraw==0.17 scipy==1.13.0 scooby==0.9.2 seaborn==0.13.2 seedir==0.4.2 semver==3.0.2 Send2Trash==1.8.3 serpent==1.41 simplejson==3.19.2 SimpleWebSocketServer==0.1.2 six==1.16.0 sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 Sphinx==7.2.6 sphinx-rtd-theme==2.0.0 sphinxcontrib-applehelp==1.0.8 sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.6 sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jquery==4.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 spicy==0.16.0 sqlparse==0.4.4 sseclient-py==1.8.0 sspilib==0.1.0 stack-data==0.6.3 SVGMath==0.3.3 tabulate==0.9.0 tenacity==8.2.3 termcolor==2.4.0 terminado==0.18.1 tinycss2==1.3.0 tomli==2.0.1 tomlkit==0.12.1 tornado==6.4 tqdm==4.66.2 traitlets==5.14.2 trame==3.5.4 trame-client==2.16.4 trame-components==2.2.1 trame-server==2.17.2 trame-vtk==2.8.5 trame-vuetify==2.4.3 twine==4.0.2 types-python-dateutil==2.9.0.20240316 typing_extensions==4.8.0 tzdata==2023.3 uc-micro-py==1.0.3 uri-template==1.3.0 uritemplate==4.1.1 url-normalize==1.4.3 urllib3==1.26.8 ushlex==0.99.1 vibration-toolbox==0.6.10 vtk==9.3.0 wakepy==0.7.2 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 WebOb==1.8.7 websocket-client==1.8.0 whichcraft==0.6.1 widgetsnbextension==4.0.10 windrose==1.9.0 wrapt==1.15.0 wslink==1.12.4 xlrd==2.0.1 XlsxWriter==3.1.9 xmlschema==2.5.1 xyzservices==2024.4.0 yarl==1.9.4 zipp==3.18.1 zope.event==5.0 zope.interface==6.3 ```📝 Logger output file
Show the logger output file.
```text UserWarning: The keyword argument 'license_type' value ('preppost') is not a recognized license name or has been deprecated. Still PyMAPDL will try to use it but in older versions you might experience problems connecting to the server. Recognized license names: 'ansys' 'meba' 'mech_2' 'mech_1' warnings.warn(warn_text, UserWarning) ```