← All bug reports

FS#1163DoveTail-script crashes QCAD

Type
Bug
Status
Closed
Resolution
Not a bug
Category
ECMAScript
Severity
Medium
Priority
Low
Reported version
3.7.5
Operating system
Linux (All / Other)
Reported
2015-01-15 by caigner
Closed
2015-01-15 by andrew

Hi!

I just installed QCAD v3.7.5 and it works like a charm.

Then I installed the DoveTail-script (http://www.qcad.org/rsforum/download/file.php?id=623) and after that QCAD won't start anymore.

This is the output on the command line in Linux:

Debug: RDwgPlugin::init
Debug: RDxfPlugin::init
Debug: RHelpPlugin::init
Debug: RProScriptsPlugin::init
Debug: loading patterns from file: "/opt/qcad-3.7.5-pro-linux-x86_64/linetypes/metric/qcadiso.lin"
Debug: shape found: "ZIG"
Debug: shape found: "BAT"
Debug: shape found: "TRACK1"
Debug: shape found: "BOX"
Debug: shape found: "CIRC1"
Debug: shape found: "RIGHT_ARROW"
Debug: loading patterns from file: "/opt/qcad-3.7.5-pro-linux-x86_64/linetypes/imperial/qcad.lin"
Debug: TIMER: 67 ms - "loading add-ons"
Warning: RScriptHandlerEcma::eval: script engine exception: "TypeError: Result of expression 'action.addToWidget' [undefined] is not a function."
Warning: "<anonymous>()@/opt/qcad-3.7.5-pro-linux-x86_64/scripts/File/../EAction.js:1180"
Warning: At least one uncaught exception:
Warning: "<anonymous>()@/opt/qcad-3.7.5-pro-linux-x86_64/scripts/File/../EAction.js:1180"
Debug: "<global>() at -1"

Don't know whether that is a bug in the script or in QCAD, so I am reporting it here.

Christian

Comments (1)

andrew 2015-01-15

The script in the forum is likely outdated. Please note that QCAD comes with the dovetail script integrated under Misc > Draw.