View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001414 | FreeCAD | Bug | public | 2014-02-15 19:16 | 2014-02-21 16:00 |
Reporter | quick61 | Assigned To | yorik | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | trunk | ||||
Summary | 0001414: Use new properties API in Draft & Arch | ||||
Description | Reference forum threads - http://forum.freecadweb.org/viewtopic.php?f=8&t=5708&p=46235#p46235 http://forum.freecadweb.org/viewtopic.php?f=3&t=5709 Use of Draft Dimension causing "signal SIGABRT, Aborted." crash | ||||
Steps To Reproduce | To replicate, make a box or any shape that can be measured with Draft Dimension tool. Pick 2 points to measure between. Drag dimension line to desired location. Click mouse to finish opperation and hard crash occurs. | ||||
Additional Information | See Forum postings for console output and backtrace. | ||||
Tags | Quantity | ||||
FreeCAD Information | |||||
|
|
|
I put a .Value at those properties, which are effected from the Quantity change. If fixes the problem for me. See file Draft.patch Ulrich |
|
I manually edited Draft.py with the changes in the patch file sense I couldn't figure out how to make patch work on my local directory. For me, that stopped the crashing, and Draft Dimension seems to now be working again. However, I'm getting errors out on the console. - Draft workbench activated Pick first point: Traceback (most recent call last): File "/home/mark/Build/FreeCAD/Mod/Draft/Draft.py", line 3013, in attach self.onChanged(vobj,"FontSize") File "/home/mark/Build/FreeCAD/Mod/Draft/Draft.py", line 3161, in onChanged self.font3d.size = vobj.FontSize*100 File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__ field.setValue(value) File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 5294, in setValue return _coin.SoSFFloat_setValue(self, *args) <type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoSFFloat_setValue'. Possible C/C++ prototypes are: SoSFFloat::setValue(float) SoSFFloat::setValue(SoSFFloat const *) Traceback (most recent call last): File "/home/mark/Build/FreeCAD/Mod/Draft/Draft.py", line 3161, in onChanged self.font3d.size = vobj.FontSize*100 File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 3795, in __setattr__ field.setValue(value) File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 5294, in setValue return _coin.SoSFFloat_setValue(self, *args) <type 'exceptions.NotImplementedError'>: Wrong number or type of arguments for overloaded function 'SoSFFloat_setValue'. Possible C/C++ prototypes are: SoSFFloat::setValue(float) SoSFFloat::setValue(SoSFFloat const *) |
|
This problem affects not only dimensions bu all Draft & Arch objects and is caused by a change in the properties API ( http://forum.freecadweb.org/viewtopic.php?f=10&t=5741 ). I'll change the name of this ticket and adapt all the objects at once... |
|
Ok this should be fixed across Draft & Arch now, unless I missed something... |
FreeCAD: master a63f4c1f 2014-02-21 16:37:29 Details Diff |
Used new PropertyQuantity API in Draft & Arch - fixes 0001414 |
Affected Issues 0001414 |
|
mod - src/Mod/Arch/ArchAxis.py | Diff File | ||
mod - src/Mod/Arch/ArchComponent.py | Diff File | ||
mod - src/Mod/Arch/ArchFloor.py | Diff File | ||
mod - src/Mod/Arch/ArchFrame.py | Diff File | ||
mod - src/Mod/Arch/ArchRebar.py | Diff File | ||
mod - src/Mod/Arch/ArchRoof.py | Diff File | ||
mod - src/Mod/Arch/ArchSectionPlane.py | Diff File | ||
mod - src/Mod/Arch/ArchSite.py | Diff File | ||
mod - src/Mod/Arch/ArchSpace.py | Diff File | ||
mod - src/Mod/Arch/ArchStairs.py | Diff File | ||
mod - src/Mod/Arch/ArchStructure.py | Diff File | ||
mod - src/Mod/Arch/ArchWall.py | Diff File | ||
mod - src/Mod/Arch/ArchWindow.py | Diff File | ||
mod - src/Mod/Arch/TestArch.py | Diff File | ||
mod - src/Mod/Draft/Draft.py | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-15 19:16 | quick61 | New Issue | |
2014-02-15 19:30 | shoogen | Tag Attached: Quantity | |
2014-02-18 21:21 | ulrich1a | File Added: Draft.patch | |
2014-02-18 21:23 | ulrich1a | Note Added: 0004235 | |
2014-02-19 00:09 | quick61 | Note Added: 0004236 | |
2014-02-19 00:12 | quick61 | Note Edited: 0004236 | |
2014-02-20 15:29 | yorik | Note Added: 0004252 | |
2014-02-20 15:29 | yorik | Assigned To | => yorik |
2014-02-20 15:29 | yorik | Status | new => assigned |
2014-02-20 15:30 | yorik | Summary | Draft Dimension Causing Crash => Use new properties API in Draft & Arch (was: Draft Dimension Causing Crash) |
2014-02-20 15:31 | yorik | Summary | Use new properties API in Draft & Arch (was: Draft Dimension Causing Crash) => Use new properties API in Draft & Arch |
2014-02-21 15:38 | yorik | Note Added: 0004258 | |
2014-02-21 16:00 | yorik | Changeset attached | => FreeCAD Master master a63f4c1f |
2014-02-21 16:00 | yorik | Status | assigned => closed |
2014-02-21 16:00 | yorik | Resolution | open => fixed |