installer of 3.12.5 not working
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Post one question per topic.
Always indicate your operating system and QCAD version.
Post one question per topic.
installer of 3.12.5 not working
Good morning,
I have a problem with the Windows 64 bit installer:
Before, the installer was offering a QCAD directory, not this time?
any idea...
I have a problem with the Windows 64 bit installer:
Before, the installer was offering a QCAD directory, not this time?
any idea...
JJ Win7 pro-64
Re: installer of 3.12.5 not working
Does it work if you add a directory to the path (i.e. "C:\Program Files\QCAD" or "C:\Program Files\QCAD 3.12.5")?
Re: installer of 3.12.5 not working
Hi Guys
Same problem for me, but "C:\Program Files\QCAD" works fine.
Same problem for me, but "C:\Program Files\QCAD" works fine.
Re: installer of 3.12.5 not working
Hello Andrew,
Yes, the installer will work when typing in a directory.
But I now have a problem to launch my default start-up drawing with the command:
"C:\Program Files\QCAD-3.12.5\qcad.exe" -exec .\template.js
The program will launch, but closes right away, it launches OK if the script is not invoked.
I normally have "template.js" and the file in the main directory where QCAD resides
"templates.js" is a small script you wrote for me some time ago.
Yes, the installer will work when typing in a directory.
But I now have a problem to launch my default start-up drawing with the command:
"C:\Program Files\QCAD-3.12.5\qcad.exe" -exec .\template.js
The program will launch, but closes right away, it launches OK if the script is not invoked.
I normally have "template.js" and the file in the main directory where QCAD resides
"templates.js" is a small script you wrote for me some time ago.
JJ Win7 pro-64
Re: installer of 3.12.5 not working
OK, I've uploaded fixed installers.
I don't remember what template.js does.. Perhaps starting with -enable-script-debugger helps to figure out what is going on?
I don't remember what template.js does.. Perhaps starting with -enable-script-debugger helps to figure out what is going on?
Re: installer of 3.12.5 not working
OK, but how can I invoke the debugger?
Here's the script:
var mainWindow = RMainWindowQt.getMainWindow();
var doc = mainWindow.getDocument();
var di = mainWindow.getDocumentInterface();
di.importFile("nouveau_dessin.dwg");
di.regenerateScenes();
di.autoZoom();
doc.setFileName("");
Here's the script:
var mainWindow = RMainWindowQt.getMainWindow();
var doc = mainWindow.getDocument();
var di = mainWindow.getDocumentInterface();
di.importFile("nouveau_dessin.dwg");
di.regenerateScenes();
di.autoZoom();
doc.setFileName("");
JJ Win7 pro-64
Re: installer of 3.12.5 not working
OK, is there any reason why you cannot use File > New from Template.. to create a new drawing using an existing template document?
"C:\Program Files\QCAD-3.12.5\qcad.exe" -enable-script-debugger -exec .\template.js
That would be through the -enable-script-debugger command line argument:how can I invoke the debugger?
"C:\Program Files\QCAD-3.12.5\qcad.exe" -enable-script-debugger -exec .\template.js
Re: installer of 3.12.5 not working
It is just more convenient to have it by default when I launch QCADOK, is there any reason why you cannot use File > New from Template.. to create a new drawing using an existing template document?
I'll try the command line
thanks
JJ Win7 pro-64
Re: installer of 3.12.5 not working
here's the debug window
QCAD closes on subsequent step
Sorry, no knowledge in scripting...
This script was still functioning with the previous release, (QCAD in X86 directory)
QCAD closes on subsequent step
Sorry, no knowledge in scripting...
This script was still functioning with the previous release, (QCAD in X86 directory)
- Attachments
-
- debug_window.jpg (251.92 KiB) Viewed 16322 times
JJ Win7 pro-64
Re: installer of 3.12.5 not working
just some more info: at the first stop of the debugger, the file is indeed visible in QCAD. Something must be different in the following steps and generating a conflict. I reinstalled previous version, script OK. .
JJ Win7 pro-64