Stephen Deasey wrote:
> On 8/1/07, Neophytos Demetriou <[EMAIL PROTECTED]> wrote:
>> * For lazyloader=false, initialization seems ok but on first request I
>> get the usual problems mentioned in a previous thread (I had tried once
>> to debug those errors but it took me ages and it did not work out in the
>> end).
> 
> 
> Can you repost the errors you get?

* For lazyloader=true, everything xotcl fails during init. For instance:

invalid command name "Class"
    while executing
"Class ::xo::base::NodeLabelVisitor -parameter {
    {nodeCount "0"}
}"
    (file
"/web/service-phgt-0/packages/kernel/tcl/05-base/base-procs.tcl" line 4)
    invoked from within
"source $__file "


* For lazyloader=false, server init mostly works:

Error: invalid command name
"::namespace123::Class444::namespace789::object555"
invalid command name "::namespace123::Class444::namespace789::object555"
    while executing
"namespace origin $pn"
    (procedure "_serializensp" line 14)
    invoked from within
"_serializensp $n"
    (procedure "nstrace::statescript" line 36)
    invoked from within
"nstrace::statescript"
    invoked from within
"if {$use_trace_inits} {

    #
    # ns_eval --
    #
    # Used to eval Tcl code which is then
    # known in all threads.
    #

    proc ns_eval {..."
    (file "/opt/naviserver-4.99.2/bin/init.tcl" line 355)

Please note that the modified init.tcl from 4.99.1 seems to be working
fine. I just need to go through the two versions (4.99.1 and 4.99.2) and
make sure that I'm not skipping anything important.

Having said this, if Zoran comes up with a generic solution to the
nstrace+xotcl problem I will be an even happier NS user :) but I guess
it should be fine for now.


Thanks again and best wishes,
Neophytos


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to