Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyDYNA pre module cannot be executed normally on our user environment. #695

Open
2 tasks done
Taniguchi-Shin opened this issue Feb 4, 2025 · 3 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@Taniguchi-Shin
Copy link

🔍 Before submitting the issue

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

🐞 Description of the bug

Dear All,
This is Shin Taniguchi of JSOL.

We're investigating how to resolve the trouble of PyDYNA pre-server execution.
This is support issue from one of JSOL users.

The user executes PyDYNA with localhost on Anaconda based virtual environment.
Python and Anaconda is installed in C drive, but AppData folder including Roaming is in D drive.
Now, user is facing the following issue when launching PyDYNA pre-server.

  1. When python script such as example "ball_plate.py" is executed, ansys-pydyna-pre-server.zip is downloaded in Roaming folder.
  2. Afer downloading, error message "Failed to start pydyna pre server locally" is displayed.
  3. Anaconda based packages are refered, and grpc problems such as grpc.FutureTimeoutError are displayed.

Now, python and virtual environment are installed in C drinve which is different with AppData folder.
But above error cannot be reproduced in our examination.

Can you predict the factors of this problem?
We have to response the user this week, please let me know as soon as possible.

Best Regards,
Shin Taniguchi/JSOL

JSOL Corporation, CAE Technology Department,
Engineering Technology Division.
KUDAN-KAIKAN TERRACE 11th Floor
1-6-5 Kudanminami, Chiyoda-ku, Tokyo, 102-0074 Japan
E-Mail: [email protected]
Phone: +81-80-2353-9121(Direct), +81-3-6261-7168

📝 Steps to reproduce

  1. Python 3.10.8 is installed in Windows C drive. Especially, AppData folder including Roaming is in D drive.
  2. Pyansys 2025.1.0 and ansys-dyna-core 0.7.0 are insatalled, and the virtual environment with Anaconda is used.
  3. Proxy (HTTP_PROXY and HTTPS_PROXY) is set with environment variables on Windows.
  4. When python script such as example "ball_plate.py" is executed, ansys-pydyna-pre-server.zip is downloaded in Roaming folder.
  5. Afer downloading, error message "Failed to start pydyna pre server locally" is displayed.
  6. Anaconda based packages are refered, and grpc problems such as grpc.FutureTimeoutError are displayed.

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

The user installs Pyansys 2025.1.0 and ansys-dyna-core 0.7.0.
The user executes PyDYNA with localhost on Anaconda based virtual environment.

🐍 Which Python version are you using?

3.10

📦 Installed packages

Sorry, we cannot get the messages by "python -m pip freeze" from user.
@Taniguchi-Shin Taniguchi-Shin added the bug Something isn't working label Feb 4, 2025
@Taniguchi-Shin
Copy link
Author

Taniguchi-Shin commented Feb 4, 2025

Sorry, we would like to question this especially.

Now, the user seems to move AppData, Local, and LocalLow to D drive.
Must these be located in C drive to execute PyDYNA pre-server?

@Taniguchi-Shin
Copy link
Author

Sorry, we would like to question this especially.

Your HP describing PyDYNA execution is based on PyPI, isn't Anaconda.
Is Anaconda based execution recommended?

@Taniguchi-Shin
Copy link
Author

We have to response the user interactively.
So, could you let me know as soon as possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant