View Issue Details

IDProjectCategoryView StatusLast Update
0001491File formatsFeaturepublic2019-07-30 22:40
Reporterbarleyman Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformPCOSWindowsOS Version7 x64
Summary0001491: IDF import fails on spaces and underscores on filename
DescriptionOpening IDF files (.EMN) fails if there's a space in the filename
Steps To ReproduceFrom the FILE menu, select OPEN and select an *.emn file which has spaces in the filename
Additional InformationWhen you open an IDF file that has spaces on it, freecad 0.14.3310 throws an exception.

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\FreeCAD 0.14\Mod\Idf\Idf.py", line 63, in open
    FreeCAD.setActiveDocument(docname)
<type 'exceptions.Exception'>: Try to activate unknown document 'snap100x2 hv psu v2.1 rev 0.68 noextraconnectors'

This does not happen with "import" so it's possibly a bug elsewhere. Removing line 63 from idf.py fixes the issue
    FreeCAD.setActiveDocument(docname)
TagsNo tags attached.
FreeCAD Information

Activities

barleyman

2014-03-25 14:36

reporter  

test idf.zip (10,834 bytes)

Related Changesets

FreeCAD: master d40d5a3e

2014-03-25 16:07:20

barleyman

Details Diff
Update Idf.py

Fixes for bugs 0001491, 0001492, 0001493
Affected Issues
0001491, 0001492, 0001493
mod - src/Mod/Idf/Idf.py Diff File

FreeCAD: master 69044c6b

2014-03-29 13:00:41

wmayer

Details Diff
Merge branch 'patch-1' of https://github.com/Barleyman/FreeCAD_sf_master Affected Issues
0001491, 0001492, 0001493
mod - src/Mod/Idf/Idf.py Diff File

Issue History

Date Modified Username Field Change
2014-03-25 14:36 barleyman New Issue
2014-03-25 14:36 barleyman File Added: test idf.zip
2014-03-29 12:55 wmayer Changeset attached => FreeCAD Master master 69044c6b
2014-03-29 12:55 wmayer Status new => closed
2014-03-29 12:55 wmayer Resolution open => fixed
2019-07-30 22:40 Kunda1 Changeset attached => FreeCAD master d40d5a3e