QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)

Tasklist

FS#497 - Trim: Tangent on circle: debugger appears

Attached to Project: QCAD
Opened by Stefan (stefan) - Monday, 13 February 2012, 20:45 GMT+1
Last edited by Andrew (andrew) - Thursday, 23 February 2012, 17:06 GMT+1
Task Type Bug Report
Category Main
Status Closed
Assigned To Andrew (andrew)
Operating System Ubuntu Linux
Severity Medium
Priority Normal
Reported Version 3 RC2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

having a line tangent on a circle, the Qt Debugger appears when:
- select trim tool
- select line
- mouse over circle

The debugger stops in line 326 of scripts/Modify/Trim/Trim.js (trimmed1.trimStartPoint(is2);) with the following message:
Uncaught exception at scripts/Modify/Trim/Trim.js:326: Error: :-1:-1: Wrong number/types of arguments for RArcEntity.trimStartPoint().
<native>(undefined) at -1
<anonymous>(op = RMixedOperation(0xe50a9a0), limitingEntity = RLineEntityPointer(0xff9b740), limitingShape = RLine(RShape(address: “0xe2a1608”), startPoint: RVector(36379.7, 46367.3, 0) , endPoint: RVector(40858.6, 44174.7, 0) ) , limitingPos = RVector(37446.8, 45886.1, 0) , trimEntity = RCircleEntityPointer(0xefa0170), trimPos = RVector(37054.5, 45938.9, 0) , trimBoth = false, preview = true) at scripts/Modify/Trim/Trim.js:326
<anonymous>(preview = true) at scripts/Modify/Trim/Trim.js:186
<anonymous>() at /opt/qcad-3.0.0-rc2-prof-linux/scripts/Modify/../EAction.js:1162
<anonymous>(event = REntityPickEvent(0xbfdc3614), preview = true) at scripts/Modify/Trim/Trim.js:166
<anonymous>(event = REntityPickEvent(0xbfdc3614)) at /opt/qcad-3.0.0-rc2-prof-linux/scripts/Modify/../EAction.js:1237
<global>() at -1
326 trimmed1.trimStartPoint(is2);
Uncaught exception at scripts/Modify/Trim/Trim.js:326: Error: :-1:-1: Wrong number/types of arguments for RArcEntity.trimStartPoint().
<native>(undefined) at -1
<anonymous>(op = RMixedOperation(0xec6fea8), limitingEntity = RLineEntityPointer(0×11830730), limitingShape = RLine(RShape(address: “0x10c1c988”), startPoint: RVector(36379.7, 46367.3, 0) , endPoint: RVector(40858.6, 44174.7, 0) ) , limitingPos = RVector(38065.4, 45591.8, 0) , trimEntity = RCircleEntityPointer(0xeee04a0), trimPos = RVector(37145, 45818.2, 0) , trimBoth = false, preview = true) at scripts/Modify/Trim/Trim.js:326
<anonymous>(preview = true) at scripts/Modify/Trim/Trim.js:186
<anonymous>() at /opt/qcad-3.0.0-rc2-prof-linux/scripts/Modify/../EAction.js:1162
<anonymous>(event = REntityPickEvent(0xbfdc3614), preview = true) at scripts/Modify/Trim/Trim.js:166
<anonymous>(event = REntityPickEvent(0xbfdc3614)) at /opt/qcad-3.0.0-rc2-prof-linux/scripts/Modify/../EAction.js:1237
<global>() at -1

This task depends upon

Closed by  Andrew (andrew)
Thursday, 23 February 2012, 17:06 GMT+1
Reason for closing:  Fixed
Additional comments about closing:  r21075

Loading...