Bug 1133342 - [abrt] freecad: InitGui.py:197:Initialize:UnboundLocalError: local variable 'DraftTools' referenced before assignment
Summary: [abrt] freecad: InitGui.py:197:Initialize:UnboundLocalError: local variable '...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: freecad
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:dfe199feaa91d13387a95667a88...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-24 20:49 UTC by Allan Poulsen
Modified: 2014-09-08 16:27 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-08 16:27:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (708 bytes, text/plain)
2014-08-24 20:49 UTC, Allan Poulsen
no flags Details
File: environ (3.59 KB, text/plain)
2014-08-24 20:49 UTC, Allan Poulsen
no flags Details

Description Allan Poulsen 2014-08-24 20:49:19 UTC
Version-Release number of selected component:
freecad-0.13-4.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/FreeCAD
executable:     /usr/bin/FreeCAD
kernel:         3.14.5-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
InitGui.py:197:Initialize:UnboundLocalError: local variable 'DraftTools' referenced before assignment

Traceback (most recent call last):
  File "/usr/lib64/freecad/Mod/Draft/InitGui.py", line 197, in Initialize
    self.appendToolbar(str(DraftTools.translate("draft","Draft creation tools")),self.cmdList)
UnboundLocalError: local variable 'DraftTools' referenced before assignment

Local variables in innermost frame:
self: <__main__.DraftWorkbench instance at 0x17a1248>
coin: <module 'pivy.coin' from '/usr/lib64/python2.7/site-packages/pivy/coin.pyc'>
os: <module 'os' from '/usr/lib64/python2.7/os.pyc'>
depsOK: True
PyQt4: <module 'PyQt4' from '/usr/lib64/python2.7/site-packages/PyQt4/__init__.pyc'>

Comment 1 Allan Poulsen 2014-08-24 20:49:22 UTC
Created attachment 930244 [details]
File: backtrace

Comment 2 Allan Poulsen 2014-08-24 20:49:23 UTC
Created attachment 930245 [details]
File: environ

Comment 3 Richard Shaw 2014-08-25 01:50:06 UTC
Not that I have any idea if it would fix your problem, but when was the last time you updated? 0.14 has been in stable for over a month.

Comment 4 Richard Shaw 2014-09-08 16:27:42 UTC
If you can reproduce in FreeCAD 0.14 please reopen.


Note You need to log in before you can comment on or make changes to this bug.