Issues.00406 - lordmundi/wikidoctest GitHub Wiki

00406: errors in reconfig scripts should be reported

« 00405 | Issues | 00407 »

Summary: errors in reconfig scripts should be reported

Created: 2012–01–12 11:31

Status: Released

Category: Request

From: frankie

Version: 2.2

Released_In: 2.3

Description:

when running scripts in a reconfig, if there is an error in the script, currently there is no way to see it reported. This could get reported as a LogWarning to the terminal. Errors on other items besides SCRIPT, such as bad formating or invalid arguments to one of the other reconfig commands could also be reported.


Comments

frankie October 24, 2012, at 05:35 PM: If we only report with LogWarning, then this will still be near impossible to use on platforms like windows, so we really need to honor the "-tcldebug" flag here and treat it like any other tcl error. Unfortunately, plugins don't have access to the tcldebug flag yet. I'm putting this issue on hold until we get that, which is tracked as Issue 00452.


« 00405 | Issues | 00407 »

Associated Commits

| commit | 0bb222f02e53afda051b03eb7bdeae654c897c1d link6 | || | Author: | Frank Graffagnino | | Date: | Thu Nov 8 11:48:26 2012 -0600 | | Message: | [@Issue 00406: Removed extra printout left in dsp_script accidentally. @] |

Affected Files:

plugin_Darwin/dsp_script.so    | Bin 97120 -> 96972 bytes
 plugin_Linux_FC3/dsp_script.so | Bin 147658 -> 147476 bytes
 plugin_Win32/dsp_script.dll    | Bin 502507 -> 502330 bytes
 3 files changed, 0 insertions(+), 0 deletions(-)

| commit | ef063aaa2961515dd7ca5601884ec332cad00445 link7 | || | Author: | Frankie | | Date: | Tue Nov 6 16:49:42 2012 -0600 | | Message: | [@Issue 00406: Updated dsp_script plugin to report tcl errors via -tcldebug flag @] |

Affected Files:

plugin_Darwin/dsp_script.so    | Bin 82924 -> 97120 bytes
 plugin_Linux_FC3/dsp_script.so | Bin 114034 -> 147658 bytes
 plugin_Win32/dsp_script.dll    | Bin 489368 -> 502507 bytes
 3 files changed, 0 insertions(+), 0 deletions(-)

| commit | 85b50bd32bfc3d2fc724254313db139c39ef8595 link8 | || | Author: | Frank Graffagnino | | Date: | Thu Nov 8 11:46:57 2012 -0600 | | Message: | [@Issue 00406: Removed trailing newline in warning printout. @] |

Affected Files:

src/plugins/dsp_script.c | 2 ±
 1 file changed, 1 insertion(+), 1 deletion(-)

| commit | 774fc6ffaa2a596faef00a0c1f6a909058eb575f link9 | || | Author: | Frank Graffagnino | | Date: | Thu Nov 8 11:43:30 2012 -0600 | | Message: | [@Issue 00406: Removed unnecesary printout that was left in on accident @] |

Affected Files:

src/plugins/dsp_script.c | 4 +±-
 1 file changed, 2 insertions(+), 2 deletions(-)

| commit | 90d4bec38dcc1b3acd075aa4d65ef6f736d8872a link10 | || | Author: | Frank Graffagnino | | Date: | Tue Nov 6 16:46:39 2012 -0600 | | Message: | [@Issue 00406: Updated dsp_script to report tcl errors when -tcldebug is supplied @] |

Affected Files:

src/plugins/dsp_script.c | 24 ++++++++++++++++++++++±
 1 file changed, 23 insertions(+), 1 deletion(-)