ansys / pyedb

pyedb is a Python library to use the EDB client library.
https://edb.docs.pyansys.com/
MIT License
10 stars 7 forks source link

GDS control file example fails #708

Open Devin-Crawford opened 3 months ago

Devin-Crawford commented 3 months ago

Before submitting the issue

Description of the bug

The example fails in cell 8.

Steps To Reproduce

See the example web page.

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

The failure is on the runner.

hui-zhou-a commented 3 months ago

@SMoraisAnsys @svandenb-dev all pyedb examples have the same problem in documentation. I cannot reproduce it on my local machine, so I suspect it is related to CICD.

--- Logging error ---
Traceback (most recent call last):
  File "C:\actions-runner\_work\_tool\Python\3.10.11\x64\lib\logging\handlers.py", line 74, in emit
    self.doRollover()
  File "C:\actions-runner\_work\_tool\Python\3.10.11\x64\lib\logging\handlers.py", line 179, in doRollover
    self.rotate(self.baseFilename, dfn)
  File "C:\actions-runner\_work\_tool\Python\3.10.11\x64\lib\logging\handlers.py", line 115, in rotate
    os.rename(source, dest)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\ansys\\AppData\\Local\\Temp\\pyedb_ansys.log' -> 'C:\\Users\\ansys\\AppData\\Local\\Temp\\pyedb_ansys.log.1'

https://edb.docs.pyansys.com/version/stable/examples/legacy_standalone/10_GDS_workflow.html