Ciao a tutti
Ho la versione 3.16.7.0 (3.16.7) di QCAD
Per testare gli script in ECMAScript dopo le modifiche è sempre necessario riavviare QCAD o ora c'è un altro modo?
Translation by google
Hello to all
I have QCAD version 3.16.7.0 (3.16.7)
To test the scripts in ECMAScript after the changes you always have to restart QCAD or is there another way now?
Do you always need to restart QCAD to test 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.
-
- Full Member
- Posts: 81
- Joined: Fri Apr 17, 2015 6:40 am
- Location: http://creativitainformaticart.altervista.org
- hungerburg
- Premier Member
- Posts: 160
- Joined: Fri May 28, 2010 7:35 pm
Re: Do you always need to restart QCAD to test scripts?
Does -always-load-scripts (still) not work for you?
-
- Full Member
- Posts: 81
- Joined: Fri Apr 17, 2015 6:40 am
- Location: http://creativitainformaticart.altervista.org
Re: Do you always need to restart QCAD to test scripts?
Thank you
it works
I did QCAD in 2 ways:
"...... \ qcad.exe" "-always-load-scripts" "-enable-script-debugger" "-rescan" // to find bugs
is
"....... \ qcad.exe" // running normally without debugger
I did not realize that it was missing from the latter "-always-load-scripts"
it works
I did QCAD in 2 ways:
"...... \ qcad.exe" "-always-load-scripts" "-enable-script-debugger" "-rescan" // to find bugs
is
"....... \ qcad.exe" // running normally without debugger
I did not realize that it was missing from the latter "-always-load-scripts"
-
- Full Member
- Posts: 81
- Joined: Fri Apr 17, 2015 6:40 am
- Location: http://creativitainformaticart.altervista.org
Re: Do you always need to restart QCAD to test scripts?
Su Ubuntu 18.04.1 LTS 64 bit -always-load-scripts non funziona
deepl translation
On Ubuntu 18.04.1 LTS 64 bit -always-load-scripts does not work
results on Terminal:
pietro@pietro-ubuntu-desktop:~$ "/home/pietro/opt/qcadcam-3.20.1-pro-linux-x86_64/qcad" "-always-load-scripts"
QCAD version 3.20.1
10:49:33: Debug: RCamScriptsPlugin::init
10:49:33: Debug: RCsgPlugin::init
10:49:33: Debug: RDwgPlugin::init
10:49:33: Debug: RDxfPlugin::init
10:49:33: Debug: RGLES3DPlugin::init
10:49:33: Debug: RHelpPlugin::init
10:49:33: Debug: RPolygonPlugin::init
10:49:33: Debug: RProScriptsPlugin::init
10:49:33: Debug: RScriptsPlugin::init
10:49:33: Debug: RTriangulationPlugin::init
10:49:33: Debug: RGLES3DPlugin::initScriptExtensions
Warning: action not found: ":scripts/Reset/Reset.js"
Warning: action not found: ":scripts/File/File.js"
Warning: action not found: ":scripts/File/AutoSave/AutoSave.js"
Warning: action not found: ":scripts/File/BitmapExport/BitmapExport.js"
Warning: action not found: ":scripts/File/CloseFile/CloseFile.js"
Warning: action not found: ":scripts/File/ImportFile/ImportFile.js"
..................
......................
..................
..............................
..........................
lePath: :scripts/Help/ReportBug/ReportBug.js),AddOn(actionText: '', groupName: Help, filePath: :scripts/Help/ReportTranslationError/ReportTranslationError.js),AddOn(actionText: '', groupName: Help, filePath: :scripts/Help/ShowReadme/ShowReadme.js),AddOn(actionText: '', groupName: Help, filePath: :scripts/Help/Website/Website.js), splash = QSplashScreen) at :scripts/autostart.js:365\nmain() at :scripts/autostart.js:664\n<global>() at :scripts/autostart.js:788"
10:49:34: Debug: "<global>() at 26"
QCAD has unexpectedly quit.
Please use the offscreen platform plugin for headless systems
(without a running X11 server):
/home/pietro/opt/qcadcam-3.20.1-pro-linux-x86_64/qcad -platform offscreen
In addition, you might have to override the default Qt style
to prevent the loading of a native desktop style (such as GTK):
/home/pietro/opt/qcadcam-3.20.1-pro-linux-x86_64/qcad -style plastique
pietro@pietro-ubuntu-desktop:~$
deepl translation
On Ubuntu 18.04.1 LTS 64 bit -always-load-scripts does not work
results on Terminal:
pietro@pietro-ubuntu-desktop:~$ "/home/pietro/opt/qcadcam-3.20.1-pro-linux-x86_64/qcad" "-always-load-scripts"
QCAD version 3.20.1
10:49:33: Debug: RCamScriptsPlugin::init
10:49:33: Debug: RCsgPlugin::init
10:49:33: Debug: RDwgPlugin::init
10:49:33: Debug: RDxfPlugin::init
10:49:33: Debug: RGLES3DPlugin::init
10:49:33: Debug: RHelpPlugin::init
10:49:33: Debug: RPolygonPlugin::init
10:49:33: Debug: RProScriptsPlugin::init
10:49:33: Debug: RScriptsPlugin::init
10:49:33: Debug: RTriangulationPlugin::init
10:49:33: Debug: RGLES3DPlugin::initScriptExtensions
Warning: action not found: ":scripts/Reset/Reset.js"
Warning: action not found: ":scripts/File/File.js"
Warning: action not found: ":scripts/File/AutoSave/AutoSave.js"
Warning: action not found: ":scripts/File/BitmapExport/BitmapExport.js"
Warning: action not found: ":scripts/File/CloseFile/CloseFile.js"
Warning: action not found: ":scripts/File/ImportFile/ImportFile.js"
..................
......................
..................
..............................
..........................
lePath: :scripts/Help/ReportBug/ReportBug.js),AddOn(actionText: '', groupName: Help, filePath: :scripts/Help/ReportTranslationError/ReportTranslationError.js),AddOn(actionText: '', groupName: Help, filePath: :scripts/Help/ShowReadme/ShowReadme.js),AddOn(actionText: '', groupName: Help, filePath: :scripts/Help/Website/Website.js), splash = QSplashScreen) at :scripts/autostart.js:365\nmain() at :scripts/autostart.js:664\n<global>() at :scripts/autostart.js:788"
10:49:34: Debug: "<global>() at 26"
QCAD has unexpectedly quit.
Please use the offscreen platform plugin for headless systems
(without a running X11 server):
/home/pietro/opt/qcadcam-3.20.1-pro-linux-x86_64/qcad -platform offscreen
In addition, you might have to override the default Qt style
to prevent the loading of a native desktop style (such as GTK):
/home/pietro/opt/qcadcam-3.20.1-pro-linux-x86_64/qcad -style plastique
pietro@pietro-ubuntu-desktop:~$
Re: Do you always need to restart QCAD to test scripts?
Please try 3.21.2 if possible.
-
- Full Member
- Posts: 81
- Joined: Fri Apr 17, 2015 6:40 am
- Location: http://creativitainformaticart.altervista.org
Re: Do you always need to restart QCAD to test scripts?
thank you, I will try