View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002674 | Arch | Bug | public | 2016-08-16 10:52 | 2016-08-16 14:18 |
Reporter | wmayer | Assigned To | yorik | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.17 | ||||
Summary | 0002674: Incorrect use of mkstemp in Python | ||||
Description | The 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 ArchServer.py, importIFCLegacy.py and importSH3D.py. The function is also used in importIFC but there it's done correctly. For more information: https://www.logilab.org/blogentry/17873 | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
FreeCAD: master 81c5994e 2016-08-16 16:17:45 Details Diff |
Arch: Fixed use of tempfile.mkstemp - fixes 0002674 |
Affected Issues 0002674 |
|
mod - src/Mod/Arch/ArchServer.py | Diff File | ||
mod - src/Mod/Arch/importIFC.py | Diff File | ||
mod - src/Mod/Arch/importIFClegacy.py | Diff File | ||
mod - src/Mod/Arch/importSH3D.py | Diff File |
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 |