Timeline for Deleting GeoPackage vector layers and releasing open file handles with PyQGIS
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 16 at 4:16 | comment | added | John_nz | They are both children of a group. I delete each child layer and then the group. Comparing with deleting the group via the UI, via the UI the child layers and group are deleted leaving no residual file handles open. | |
Jul 15 at 2:20 | comment | added | couteau | Do these layers have relations to each other? | |
Jul 14 at 23:10 | comment | added | John_nz | I am assuming that once the python script ends, anything it had open should be released. I have added the delete and garbage collection as suggested, but to no avail. I suspect that the problem may be with how the API code is processing the request and that code is not releasing the file handles. | |
S Jul 13 at 22:28 | review | First answers | |||
Jul 13 at 23:00 | |||||
S Jul 13 at 22:28 | history | answered | couteau | CC BY-SA 4.0 |