View Issue Details

IDProjectCategoryView StatusLast Update
0002674ArchBugpublic2016-08-16 14:18
Reporterwmayer Assigned Toyorik  
Status closedResolutionfixed 
Product Version0.17 
Summary0002674: Incorrect use of mkstemp in Python
DescriptionThe function mkstemp returns a file descriptor and a file name. One has to also explicitly close a file by its descriptor otherwise you may into into an error that too many file handles are open.

The issues are in, and The function is also used in importIFC but there it's done correctly.

For more information:
TagsNo tags attached.
FreeCAD Information



2016-08-16 14:18

administrator   ~0007278

Aha good to know!

Related Changesets

FreeCAD: master 81c5994e

2016-08-16 16:17:45


Details Diff
Arch: Fixed use of tempfile.mkstemp - fixes 0002674 Affected Issues
mod - src/Mod/Arch/ Diff File
mod - src/Mod/Arch/ Diff File
mod - src/Mod/Arch/ Diff File
mod - src/Mod/Arch/ Diff File

Issue History

Date Modified Username Field Change
2016-08-16 10:52 wmayer New Issue
2016-08-16 10:52 wmayer Status new => assigned
2016-08-16 10:52 wmayer Assigned To => yorik
2016-08-16 14:18 yorik Note Added: 0007278
2016-08-16 14:18 yorik Changeset attached => FreeCAD Master master 81c5994e
2016-08-16 14:18 yorik Status assigned => closed
2016-08-16 14:18 yorik Resolution open => fixed