View Issue Details

IDProjectCategoryView StatusLast Update
0001887File formatspublic2014-12-31 17:49
Reporterteh_fink Assigned Toyorik  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformMacOSOS XOS Version10.10.1 (14B25)
Summary0001887: Attempting to open an IFC File gives error: exceptions.UnboundLocalError
DescriptionFreeCAD Version (downloaded from SF):
OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4344 (Git)
Branch: master
Hash: 6a211b9dbe5e21f9765c4bd683dd9de9434d429e
Python version: 2.7.5
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1.oce-0.16


System Specifications:
MacBook Pro (Retina, 15-inch, Early 2013)
10.10.1 (14B25)
2.7 GHz Intel Core i7
16 GB 1600 MHz DDR3
NVIDIA GeForce GT 650M 1024 MB



Steps To Reproduce- Start FreeCAD
- File Menu -> Open: choose .ifc file
Nothing is displayed. See terminal output below
Additional Informationmylittle:~ pony$ cd /Applications/FreeCAD.app/Contents/bin
mylittle:bin pony$ ./FreeCAD
FreeCAD 0.15, Libs: 0.15R4344 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2014
  ##### #### ### ####
  # # # # # #
  # ## #### #### # # # # #
  #### # # # # # # # ##### # #
  # # #### #### # # # # #
  # # # # # # # # # ## ## ##
  # # #### #### ### # # #### ## ## ##

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Applications/FreeCAD.app/Contents/Mod/Arch/importIFC.py", line 212, in open
    doc = insert(filename,doc.Name,skip)
  File "/Applications/FreeCAD.app/Contents/Mod/Arch/importIFC.py", line 222, in insert
    if DEBUG: print "using legacy importer"
<type 'exceptions.UnboundLocalError'>: local variable 'DEBUG' referenced before assignment
TagsNo tags attached.
FreeCAD Information

Activities

There are no notes attached to this issue.

Related Changesets

FreeCAD: master 24437377

2014-12-31 18:21:41

yorik

Details Diff
Arch: Fixed IFC import bug - fixes 0001887 Affected Issues
0001887
mod - src/Mod/Arch/importIFC.py Diff File

Issue History

Date Modified Username Field Change
2014-12-30 19:08 teh_fink New Issue
2014-12-31 17:49 yorik Changeset attached => FreeCAD Master master 24437377
2014-12-31 17:49 yorik Assigned To => yorik
2014-12-31 17:49 yorik Status new => closed
2014-12-31 17:49 yorik Resolution open => fixed