IN-CORE / pyincore

pyIncore is a component of IN-CORE. It is a python package consisting of two primary components: 1) a set of service classes to interact with the IN-CORE web services, and 2) IN-CORE analyses . The pyIncore allows users to apply various hazards to infrastructure in selected areas, propagating the effect of physical infrastructure damage and loss of functionality to social and economic impacts.
Mozilla Public License 2.0
24 stars 7 forks source link

Deleting temp files makes permission error in windows #544

Closed ywkim312 closed 2 months ago

ywkim312 commented 3 months ago

Deleting temp files in pyincore makes permission error. This looks like a windows specific issue since other OS doesn't have it.

This is an actual error message

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\ywkim\AppData\Local\Temp\tmpk3vj5z6r\tmp_updated_5dbc8478b9219c06dd242c0d.dbf'

If you see this, it has WinError 32 that implies it is windows specific.