I tried to isolate 4D's debug logging and didn't reveal anything
obvious. It doesn't output any type of warning that correlates when
4D throws the compiled error message. When run when an NTK web
server is running, there is so much output related to the web server
listening that there is too much to analyze.

The A4D Error Handler doesn't trap the error -20008 "Invalid
parameters in an Execute command", or any other errors that might be
leading to that.

I have placed two NTK DebugLog commands (that write the console)
before and after A4D Execute Stream Request. From this I have
determined that the error is occurring inside that plugin command.

Any ideas would be appreciated.

-- Brad

On 9/1/10 10:30 AM, Brad Perkins wrote:
>  On 8/31/10 1:53 PM, Aparajita Fishman wrote:
>>>> Check your shell, posts are working fine for me with the NTK shell
>>>> compiled.
>>> To help me isolate where the problem might be, which A4D calls would
>>> have thrown that error that appeared in the logs?
>> No call. The post itself is failing in the http server. It looks like the 
>> receive callback is not doing its job, and may be related to the 4D error 
>> message.
>>
> I still haven't tracked this down. As I noted the error that is
> thrown appears to be too low level to catch with an error handler.
>
> Since my error compiled (but fine interpreted) is:
>
>> Error when executing the method "A4D_HTTPD_RequestHandler" at line
>>> number 97.
>>>
>>> Invalid parameters in an Execute command.
> Where line number 97 is blank and varies if I put debug code in
> other methods like A4D_NTK_ReceiveCallback the problem isn't easy to
> trace.
>
> This is a little OT for this list, but we're moving from from 4D
> 2003 so I have never had any experience with the 4D debug logging
> that was made available in 4D 2004 and on.
>
> My understanding is that by setting SET DATABASE PARAMETER(34;2) in
> my startup code, 4D will dump info that might help me better isolate
> the problem? I have done this, but I'm not sure it will help me
> because with this call in the startup method this file is quickly
> filling up due to the NTK web server running in the background.
>
> Can I do the following?
>
> SET DATABASE PARAMETER(34;2) `Debug logging on
> ... `Run suspect code
> SET DATABASE PARAMETER(34;0 `Debug logging off
>
> -- Brad
>
>
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
>

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to