ansys / pyansys-geometry

A Python wrapper for Ansys Geometry Services
https://geometry.docs.pyansys.com/
MIT License
44 stars 12 forks source link

Perform logging in PUBLIC folder rather than the products folder #1377

Closed RobPasMue closed 2 months ago

RobPasMue commented 2 months ago

Aha so that was it! I'm glad you figured it out. No, I think that's the only folder you need to change the permissions on. Mostly because the logging takes place there with the Geometry Service. BTW, your suggestion makes total sense so I will incorporate it soon! I really like the idea of having it in C:\Users\%username%\AppData\Roaming\Ansys\v242. Let me work on that!

Also, if my initial response helped you out to install the Geometry Service (which is the original request of the discussion), I would kindly ask you to click on "Mark as answer" on the first comment of this thread so that other users can benefit from it!

I appreciate all your time and effort to get it working @dkowollik! Your experience will definitely help other users onboard PyAnsys Geometry!

Originally posted by @RobPasMue in https://github.com/ansys/pyansys-geometry/discussions/1374#discussioncomment-10464653

RobPasMue commented 2 months ago

We should change the default whenever we launch it using PyAnsys Geometry so that logging takes place in the AppData folder rather than wherever the product is installed.. Otherwise some users might hit problems related to "admin" permissions required to write on that folder.

RobPasMue commented 2 months ago

After #1386 we decided to implement the default logging location on %PUBLIC%/Documents/Ansys/GeometryService whenever the GeometryService is started from a Python console using the launch_modeler method :)