Skip to content

Conversation

@PProfizi
Copy link
Contributor

Closes #1579

@PProfizi PProfizi added the bug Something isn't working label May 27, 2024
@PProfizi PProfizi added this to the v0.12.2 milestone May 27, 2024
@PProfizi PProfizi self-assigned this May 27, 2024
@PProfizi PProfizi changed the title Fix environment PATH pollution by servers Fix environment PATH pollution by CGrpc servers May 27, 2024
@PProfizi PProfizi requested a review from cbellot000 May 27, 2024 16:03
if ansys_path is not None:
sub_folders = os.path.join(ansys_path, _get_path_in_install())
os.environ["PATH"] += sub_folders
# if ansys_path is None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what was that for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been added when we switched to ansys.dpf.gate. Apparently adding the path to GrpcClient.dll. Not required today.

@codecov
Copy link

codecov bot commented May 27, 2024

Codecov Report

Attention: Patch coverage is 92.30769% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 85.34%. Comparing base (a6943c2) to head (cccba38).
Report is 3 commits behind head on master.

Current head cccba38 differs from pull request most recent head 1936f51

Please upload reports for the commit 1936f51 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1590      +/-   ##
==========================================
+ Coverage   80.12%   85.34%   +5.22%     
==========================================
  Files          82       82              
  Lines        9671     9670       -1     
==========================================
+ Hits         7749     8253     +504     
+ Misses       1922     1417     -505     

@PProfizi PProfizi requested a review from cbellot000 May 28, 2024 09:09
@PProfizi PProfizi merged commit 97588b6 into master May 28, 2024
@PProfizi PProfizi deleted the fix/increasing_path_env_for_cgrpcserver branch May 28, 2024 12:36
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

Successfully merging this pull request may close these issues.

Repeatedly launching the dpf server fails

3 participants