Hello!
I am trying to start qcad with the always laod script command so that i do not have to restart the programm to try out changes in the scripts.
But if I try it form Windows 10 command line the qcad loading sceen shows up a short time and than ends the programm. I can start it with the following commands without any problem:
-rescan
-enable-script-debugger
Version:
3.25.2.0 (3.25.2)
Geets and thx
[Solved] -always-load-scripts
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
[Solved] -always-load-scripts
Last edited by ikua on Wed Dec 20, 2023 12:39 pm, edited 1 time in total.
Re: -always-load-scripts
There is probably an error or a wrong syntax in your script.
With -always-load-scripts QCAD is forced to load the script as it is.
When QCAD is running and you insert a code error and run the script then it reverts to the former state.
When restarting there is no former state and QCAD may fail to load.
All depends if it is a wrong syntax or the error occurs at run-time.
And what does the debugger shows as error?
Remark also that the debugger mode is not a stable environment.
If you want to share the code then we could have a look at it.
You may always PM me if you don't want to share it in public.
Regards,
CVH
Re: -always-load-scripts
Thank you for your fast an competent reply! With your help, i realized, that one of the scripts in the Misc folder had an error and interrupted the loading process of qcad. After deleting it starting with the -always-load-scripts works perfectly!!
many thanks!
many thanks!
Re: -always-load-scripts
ikua,
When considered solved please prefix the initial post title with [Solved] by editing it.
Regards,
CVH
When considered solved please prefix the initial post title with [Solved] by editing it.
Regards,
CVH