Bug#563523: freecad: Crash while trying to draw rectangle
Torquil Macdonald Sørensen
torquil at gmail.com
Sun Jan 3 15:55:53 UTC 2010
Package: freecad
Version: 0.9.2646.4-1
Severity: important
While trying to draw a rectangle in freecad, I get a lot of these error messages:
.
.
.
AttributeError: Rectangle instance has no attribute 'snap'
<type 'exceptions.AttributeError'>
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 1059, in action
point,ctrlPoint = getPoint(self,arg,mobile=True)
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 338, in getPoint
point = snapPoint(target,point,args["Position"],args["CtrlDown"])
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 198, in snapPoint
target.snap.coords.point.setValue((newpoint[2].x,newpoint[2].y,newpoint[2].z))
AttributeError: Rectangle instance has no attribute 'snap'
<type 'exceptions.AttributeError'>
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 1059, in action
point,ctrlPoint = getPoint(self,arg,mobile=True)
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 338, in getPoint
point = snapPoint(target,point,args["Position"],args["CtrlDown"])
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 198, in snapPoint
target.snap.coords.point.setValue((newpoint[2].x,newpoint[2].y,newpoint[2].z))
AttributeError: Rectangle instance has no attribute 'snap'
<type 'exceptions.AttributeError'>
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 1059, in action
point,ctrlPoint = getPoint(self,arg,mobile=True)
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 338, in getPoint
point = snapPoint(target,point,args["Position"],args["CtrlDown"])
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 198, in snapPoint
target.snap.coords.point.setValue((newpoint[2].x,newpoint[2].y,newpoint[2].z))
AttributeError: Rectangle instance has no attribute 'snap'
.
.
.
Then it crashes with the following message, written with a red colour in the
terminal:
AttributeError: Rectangle instance has no attribute 'snap'
Running the Python command 'Draft_Rectangle' failed:
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 1028, in Activated
self.snap = snapTracker()
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 414, in __init__
sg.addChild(self.switch)
File "/usr/lib/pymodules/python2.5/pivy/coin.py", line 41243, in addChild
return _coin.SoGroup_addChild(self, *args)
in method 'SoGroup_addChild', argument 1 of type 'SoGroup *'Illegal storage
access...
Best regards
Torquil Sørensen
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (700, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages freecad depends on:
ii libboost-filesy 1.40.0-5 filesystem operations (portable pa
ii libboost-progra 1.40.0-5 program options library for C++
ii libboost-regex1 1.40.0-5 regular expression library for C++
ii libboost-signal 1.40.0-5 managed signals and slots library
ii libboost-system 1.40.0-5 Operating system (e.g. diagnostics
ii libc6 2.10.2-3 Embedded GNU C Library: Shared lib
ii libcoin60 3.1.2-1 high-level 3D graphics kit impleme
ii libgcc1 1:4.4.2-8 GCC support library
ii libgl1-mesa-glx 7.6.1-1 A free implementation of the OpenG
ii libglu1-mesa [l 7.6.1-1 The OpenGL utility library (GLU)
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii libopencascade- 6.3.0.dfsg.1-4 OpenCASCADE CAE platform shared li
ii libopencascade- 6.3.0.dfsg.1-4 OpenCASCADE CAE platform shared li
ii libqt4-network 4:4.5.3-4 Qt 4 network module
ii libqt4-opengl 4:4.5.3-4 Qt 4 OpenGL module
ii libqt4-qt3suppo 4:4.5.3-4 Qt 3 compatibility library for Qt
ii libqt4-svg 4:4.5.3-4 Qt 4 SVG module
ii libqt4-webkit 4:4.5.3-4 Qt 4 WebKit module
ii libqt4-xml 4:4.5.3-4 Qt 4 XML module
ii libqtcore4 4:4.5.3-4 Qt 4 core module
ii libqtgui4 4:4.5.3-4 Qt 4 GUI module
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libsoqt4-20 1.4.2~svn20090224-2 Qt4 GUI component toolkit for Inve
ii libstdc++6 4.4.2-8 The GNU Standard C++ Library v3
ii libx11-6 2:1.3.2-1 X11 client-side library
ii libxerces-c28 2.8.0+deb1-2 validating XML parser library for
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxi6 2:1.2.1-2 X11 Input extension library
ii libxmu6 2:1.0.5-1 X11 miscellaneous utility library
ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library
ii libzipios++0c2a 0.1.5.9+cvs.2007.04.28-5 a small C++ library for reading zi
ii python 2.5.4-5 An interactive high-level object-o
ii python-support 1.0.6 automated rebuilding support for P
ii python2.5 2.5.4-3 An interactive high-level object-o
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages freecad recommends:
ii python-pivy 0.5.0~svn765-2 Coin binding for Python
Versions of packages freecad suggests:
ii freecad-doc 0.9.2646.4-1 FreeCAD documentation
pn python-opencv <none> (no description available)
-- no debconf information
More information about the debian-science-maintainers
mailing list