I think we’ve found your problem. More information is always better. :)

parray prints the array contents directly, it DOES NOT return a value. So, if 
you’re logging this to a log file, you will see nothing from parray.

If you want to see what’s in an array, use

puts $log [array get response]

D


> On Jun 16, 2015, at 3:55 PM, Paolo Bevilacqua <pbev...@fastmail.fm> wrote:
> 
> On Tue, Jun 16, 2015, at 10:55 AM, Massimo Manghi wrote:
>> Just another test:
>> 
>>  replace
>> 
>> ::rivet::var_post all
>> 
>> with its unspecific counterpart
>> 
>> ::rivet::var all
>> 
>> is the output following the load_response line produced by
>> ::rivet::parray?
>> 
> 
> Below the output of all the four commands involved.
> For load_response I use
> ::rivet::load_response
> puts $log "[parray response]"
> 
> because the output goes to a log file, not to a web page.
> 
> Tue, 16-Jun-15 20:50:51 GMT raw_post --> destInProgress=99836238
> 99130541 99064427 99102364 99005874 99410866 99821835 99582866 99635303
> 99064748 99013514 99021301 99388471 99800788 99300255 99520863 99131362
> 99733075 99685502 99388323 99624142 99572283 99850671 99834076 99754363
> 99760843 99434675 99862175 99035851 99122540 99343247 99714766 99427236
> 99568383 99041544 99302051 99146736 99767163 99270437 99607703 99087126
> 99486428 99235447 99380185 99640205 99413881 99834102 99875851 99400545
> 99272852 99732447 99146666 99256107 99377023 99435352 99383574 99145625
> 99282660 99682457 99331846 99484343 99636382 99425872 99716257 99740721
> 99550623 99760873 99552013 99383514 99010646 99118430 99531358 99862450
> 99610030 99551835 99265428 99826335 99022071 99872488 99031225 99053157
> 99363604 99260428 99100014 99112310 99343052 99871531 99531367 99083124
> 99441458 99083043 99572337 99645868 99344182 99262534 99085144 99502782
> 99574440 99544804 99550807 99707218 99142587 99734580 99230725 99423882
> 99213401 99738226 99265052 99302503 99813252 99503212&operReady=CB57
> 5B0D 410B 780B D7A5 4589 F832 AF51 6D39 248A D08D 86B0 563C 85BD ADFC
> 80F9 F9FC ABE1 2FC7 BBB6 B72C 19C3 F59D 56CD 5194 D35A FFF3 74C9 EB2F
> B196 2F74 E0A5 5D29 C7A1 171C C78C 7A32 873F E2CF 07D7 75C3 7391 7715
> 09FF FA3E 76A9 A8DC 3A13 C48B 5D2F 21BE 3925 72AB 55AB
> F887&operConn=50E8 8543 D7C6 2218 8266 493C 2709 1E65
> 50E1&operRest=&stats=noOp 0 dup 0 failCnt 35 httpErrCnt 0 setupCnt 155
> answerVM 13 connectCnt 9
> Tue, 16-Jun-15 20:50:51 GMT load_response -->
> Tue, 16-Jun-15 20:50:51 GMT var_post all --> destInProgress {99836238
> 99130541 99064427 99102364 99005874 99410866 99821835 99582866 99635303
> 99064748 99013514 99021301 99388471 99800788 99300255 99520863 99131362
> 99733075 99685502 99388323 99624142 99572283 99850671 99834076 99754363
> 99760843 99434675 99862175 99035851 99122540 99343247 99714766 99427236
> 99568383 99041544 99302051 99146736 99767163 99270437 99607703 99087126
> 99486428 99235447 99380185 99640205 99413881 99834102 99875851 99400545
> 99272852 99732447 99146666 99256107 99377023 99435352 99383574 99145625
> 99282660 99682457 99331846 99484343 99636382 99425872 99716257 99740721
> 99550623 99760873 99552013 99383514 99010646 99118430 99531358 99862450
> 99610030 99551835 99265428 99826335 99022071 99872488 99031225 99053157
> 99363604 99260428 99100014 99112310 99343052 99871531 99531367 99083124
> 99441458 99083043 99572337 99645868 99344182 99262534 99085144 99502782
> 99574440 99544804 99550807 99707218 99142587 99734580 99230725 99423882
> 99213401 99738226 99265052 99302503 99813252 99503212} operReady {CB57
> 5B0D 410B 780B D7A5 4589 F832 AF51 6D39 248A D08D 86B0 563C 85BD ADFC
> 80F9 F9FC ABE1 2FC7 BBB6 B72C 19C3 F59D 56CD 5194 D35A FFF3 74C9 EB2F
> B196 2F74 E0A5 5D29 C7A1 171C C78C 7A32 873F E2CF 07D7 75C3 7391 7715
> 09FF FA3E 76A9 A8DC 3A13 C48B 5D2F 21BE 3925 72AB 55AB F887} operConn
> {50E8 8543 D7C6 2218 8266 493C 2709 1E65 50E1} operRest {} stats {noOp 0
> dup 0 failCnt 35 httpErrCnt 0 setupCnt 155 answerVM 13 connectCnt 9}
> Tue, 16-Jun-15 20:50:51 GMT var all --> destInProgress {99836238
> 99130541 99064427 99102364 99005874 99410866 99821835 99582866 99635303
> 99064748 99013514 99021301 99388471 99800788 99300255 99520863 99131362
> 99733075 99685502 99388323 99624142 99572283 99850671 99834076 99754363
> 99760843 99434675 99862175 99035851 99122540 99343247 99714766 99427236
> 99568383 99041544 99302051 99146736 99767163 99270437 99607703 99087126
> 99486428 99235447 99380185 99640205 99413881 99834102 99875851 99400545
> 99272852 99732447 99146666 99256107 99377023 99435352 99383574 99145625
> 99282660 99682457 99331846 99484343 99636382 99425872 99716257 99740721
> 99550623 99760873 99552013 99383514 99010646 99118430 99531358 99862450
> 99610030 99551835 99265428 99826335 99022071 99872488 99031225 99053157
> 99363604 99260428 99100014 99112310 99343052 99871531 99531367 99083124
> 99441458 99083043 99572337 99645868 99344182 99262534 99085144 99502782
> 99574440 99544804 99550807 99707218 99142587 99734580 99230725 99423882
> 99213401 99738226 99265052 99302503 99813252 99503212} operReady {CB57
> 5B0D 410B 780B D7A5 4589 F832 AF51 6D39 248A D08D 86B0 563C 85BD ADFC
> 80F9 F9FC ABE1 2FC7 BBB6 B72C 19C3 F59D 56CD 5194 D35A FFF3 74C9 EB2F
> B196 2F74 E0A5 5D29 C7A1 171C C78C 7A32 873F E2CF 07D7 75C3 7391 7715
> 09FF FA3E 76A9 A8DC 3A13 C48B 5D2F 21BE 3925 72AB 55AB F887} operConn
> {50E8 8543 D7C6 2218 8266 493C 2709 1E65 50E1} operRest {} stats {noOp 0
> dup 0 failCnt 35 httpErrCnt 0 setupCnt 155 answerVM 13 connectCnt 9}
> <i>Always striving to honor my word and commitments</i>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
> For additional commands, e-mail: rivet-dev-h...@tcl.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to