From: Abhishek T. <abh...@au...> - 2015-11-04 21:22:49
|
>I was not getting any connectivity related problem. >My httpd.tcl was able to identify the back end running server >The kind of errors I was facing were below All this wrt 8.6. So this is when I was using actiestate 8.6 Regards Abhishek On Thu, Nov 5, 2015 at 2:36 AM, Abhishek Tiwari <abh...@au...> wrote: > Also, > I said : I switched from activestate 8.6 to 8.5 to avoid a dirname > command not found > I was not getting any connectivity related problem. > My httpd.tcl was able to identify the back end running server > The kind of errors I was facing were below : > Should I switch back to 8.6 > -------------------- > [11/4/2015 8:35:52 PM] Abhishek Tiwari: ./../custom/mf_csv_export.tcl: > attempt to provide package sgmlparser 1.1 failed: > > package sgmlparser 1.0 provided instead > ("package ifneeded sgmlparser 1.1" script) > invoked from within > "package require sgmlparser 1.0" > (file > "C:/LM_120_with_unittests/dist/tclweb/lib/Tclxml2.6/tclparser-8.1.tcl" line > 41) > invoked from within > "source > C:/LM_120_with_unittests/dist/tclweb/lib/Tclxml2.6/tclparser-8.1.tcl" > ("package ifneeded xml::tclparser 2.6" script) > invoked from within > "package require xml::tclparser 2.6" > invoked from within > "if {[catch {package require xml::c 2.6}]} { > package require xml::tcl 2.6 > package require xmldefs > # Only choice is tclparser > package require ..." > ("package ifneeded xml 2.6" script) > invoked from within > "package require xml 2.6" > (file "C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/domimpl.tcl" > line 24) > invoked from within > "source C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/domimpl.tcl" > ("package ifneeded dom::tcl 2.6" script) > invoked from within > "package require dom::tcl 2.6" > (file "C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/dom.tcl" > line 49) > invoked from within > "source C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/dom.tcl" > ("package ifneeded dom::tclgeneric 2.6" script) > invoked from within > "package require dom::tclgeneric" > invoked from within > "if {[catch {package require dom::generic 2.6}]} { > package require dom::tclgeneric > } else { > catch {package require dom::c} > catch {package requir..." > ("package ifneeded dom 2.6" script) > invoked from within > "package require dom" > (file "./../htdocs/libtml/mf_xml.tcl" line 7) > [11/4/2015 8:36:16 PM] Abhishek Tiwari: invoked from within > "source ./../htdocs/libtml/mf_xml.tcl" > ("package ifneeded mf_xml 1.0" script) > invoked from within > "package require mf_xml" > (file "./../custom/mf_csv_export.tcl" line 11) > invoked from within > "source $f" > ./../custom/mf_click_handler.tcl: attempt to provide package SOAP::Utils > 1.0 failed: package SOAP::Utils 1.0.1 provided > > instead > while executing > "Thread_Send $id [list source $Config(main)]" > (procedure "Thread_Start" line 27) > invoked from within > "Thread_Start" > (procedure "sched::init" line 2) > invoked from within > "sched::init" > (file "./../htdocs/libtml/mf_sched.tcl" line 38) > invoked from within > "source ./../htdocs/libtml/mf_sched.tcl" > ("package ifneeded mf_sched 1.0" script) > invoked from within > "package require mf_sched" > (file "./../htdocs/libtml/mf_cache.tcl" line 3) > invoked from within > "source ./../htdocs/libtml/mf_cache.tcl" > ("package ifneeded mf_cache 1.0" script) > invoked from within > "package require mf_cache" > (file "./../custom/mf_click_handler.tcl" line 7) > invoked from within > "source $f" > ./../custom/mf_csv_export.tcl: attempt to provide package sgmlparser 1.1 > failed: package sgmlparser 1.0 provided instead > ("package ifneeded sgmlparser 1.1" script) > invoked from within > "package require sgmlparser 1.0" > (file > "C:/LM_120_with_unittests/dist/tclweb/lib/Tclxml2.6/tclparser-8.1.tcl" line > 41) > invoked from within > "source > C:/LM_120_with_unittests/dist/tclweb/lib/Tclxml2.6/tclparser-8.1.tcl" > ("package ifneeded xml::tclparser 2.6" script) > invoked from within > "package require xml::tclparser 2.6" > invoked from within > "if {[catch {package require xml::c 2.6}]} { > package require xml::tcl 2.6 > package require xmldefs > # Only choice is tclparser > package require ..." > ("package ifneeded xml 2.6" script) > invoked from within > "package require xml 2.6" > (file "C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/domimpl.tcl" > line 24) > invoked from within > "source C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/domimpl.tcl" > ("package ifneeded dom::tcl 2.6" script) > invoked from within > "package require dom::tcl 2.6" > (file "C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/dom.tcl" > line 49) > invoked from within > "source C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/dom.tcl" > ("package ifneeded dom::tclgeneric 2.6" script) > invoked from within > "package require dom::tclgeneric" > invoked from within > "if {[catch {package require dom::generic 2.6}]} { > package require dom::tclgeneric > } else { > catch {package require dom::c} > catch {package requir..." > ("package ifneeded dom 2.6" script) > invoked from within > "package require dom" > (file "./../htdocs/libtml/mf_xml.tcl" line 7) > invoked from within > "source ./../htdocs/libtml/mf_xml.tcl" > ("package ifneeded mf_xml 1.0" script) > invoked from within > "package require mf_xml" > (file "./../custom/mf_csv_export.tcl" line 11) > invoked from within > "source $f" > ./../custom/mf_click_handler_converters.tcl: attempt to provide package > SOAP::Utils 1.0 failed: package SOAP::Utils 1.0.1 > > provided instead > [11/4/2015 8:36:34 PM] Abhishek Tiwari: while executing > "Thread_Send $id [list source $Config(main)]" > (procedure "Thread_Start" line 27) > invoked from within > "Thread_Start" > (procedure "sched::init" line 2) > invoked from within > "sched::init" > (file "./../htdocs/libtml/mf_sched.tcl" line 38) > invoked from within > "source ./../htdocs/libtml/mf_sched.tcl" > ("package ifneeded mf_sched 1.0" script) > invoked from within > "package require mf_sched" > (file "./../htdocs/libtml/mf_cache.tcl" line 3) > invoked from within > "source ./../htdocs/libtml/mf_cache.tcl" > ("package ifneeded mf_cache 1.0" script) > invoked from within > "package require mf_cache" > (file "./../custom/mf_click_handler_converters.tcl" line 4) > invoked from within > "source $f" > ./../custom/mf_click_handler_cache.tcl: can't create procedure > "clickhandler::get_cached_url_mem": unknown namespace > while executing > "proc clickhandler::get_cached_url_mem { urlid } { > set url "" > > if [catch { > if { [tsv::exists click_map $urlid:url]} { > # use..." > (file "./../custom/mf_click_handler_cache.tcl" line 1) > invoked from within > "source $f" > ./../custom/mf_csv_export.tcl: attempt to provide package sgmlparser 1.1 > failed: package sgmlparser 1.0 provided instead > ("package ifneeded sgmlparser 1.1" script) > invoked from within > "package require sgmlparser 1.0" > (file > "C:/LM_120_with_unittests/dist/tclweb/lib/Tclxml2.6/tclparser-8.1.tcl" line > 41) > invoked from within > "source > C:/LM_120_with_unittests/dist/tclweb/lib/Tclxml2.6/tclparser-8.1.tcl" > ("package ifneeded xml::tclparser 2.6" script) > invoked from within > "package require xml::tclparser 2.6" > invoked from within > "if {[catch {package require xml::c 2.6}]} { > package require xml::tcl 2.6 > package require xmldefs > # Only choice is tclparser > package require ..." > ("package ifneeded xml 2.6" script) > invoked from within > "package require xml 2.6" > (file "C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/domimpl.tcl" > line 24) > invoked from within > "source C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/domimpl.tcl" > ("package ifneeded dom::tcl 2.6" script) > invoked from within > "package require dom::tcl 2.6" > (file "C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/dom.tcl" > line 49) > invoked from within > "source C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/dom.tcl" > ("package ifneeded dom::tclgeneric 2.6" script) > invoked from within > "package require dom::tclgeneric" > invoked from within > "if {[catch {package require dom::generic 2.6}]} { > package require dom::tclgeneric > } else { > catch {package require dom::c} > catch {package requir..." > ("package ifneeded dom 2.6" script) > invoked from within > "package require dom" > (file "./../htdocs/libtml/mf_xml.tcl" line 7) > invoked from within > "source ./../htdocs/libtml/mf_xml.tcl" > ("package ifneeded mf_xml 1.0" script) > invoked from within > "package require mf_xml" > (file "./../custom/mf_csv_export.tcl" line 11) > invoked from within > "source $f" > Error processing main startup script ".\httpdthread.tcl". > attempt to provide package SOAP::Utils 1.0 failed: package SOAP::Utils > 1.0.1 provided instead > ("package ifneeded SOAP::Utils 1.0" script) > invoked from within > "package require SOAP::Utils" > (file "C:/TCL/lib/teapot/package/tcl/teapot/tcl8/8.4/SOAP-1.6.8.1.tm" > line 31) > invoked from within > "source -encoding utf-8 C:/TCL/lib/teapot/package/tcl/teapot/tcl8/8.4/ > SOAP-1.6.8.1.tm" > ("package ifneeded SOAP 1.6.8.1" script) > invoked from within > "package require SOAP" > (file "./../htdocs/libtml/mf_soap.tcl" line 8) > invoked from within > "source ./../htdocs/libtml/mf_soap.tcl" > ("package ifneeded mf_soap 1.0" script) > invoked from within > "package require mf_soap" > (file "./httpdthread.tcl" line 215) > invoked from within > "source $Config(main)" > while executing > "error $error" > invoked from within > "if {[catch {source $Config(main)} message]} then { > global errorInfo > set error "Error processing main startup script \"[file nativename > $Config..." > (file "C:\LM_120_with_unittests\dist\tclweb\LM_TCL_DEBUG.5\httpd.tcl" > line 466) > ------------------------------------- > Regards > Abhishek > > On Thu, Nov 5, 2015 at 1:54 AM, Jan Kandziora <jj...@gm...> wrote: > >> Am 04.11.2015 um 20:20 schrieb Abhishek Tiwari: >> > I switched from activate 8.6 to 8.5 to avoid a dirname command not >> found >> > I am facing this error : >> > tclhttpd3.3 compatibility mode failed. >> > can't read "Config(disable_iocpsock)": no such element in array >> > while executing >> > "expr {!($Config(disable_iocpsock) || [catch {package require Iocpsock >> > 2.0}])}" >> > (procedure "Httpd_Server" line 3) >> > invoked from within >> > "Httpd_Server $Config(port) $Config(host) $Config(ipaddr)" >> > (file >> "C:\LM_120_with_unittests\dist\tclweb\LM_TCL_DEBUG.5\httpd.tcl" >> > line 233) >> > >> There's the default value for the configuration key "disable_iocpsock" >> missing which should be there. Don't know the MS-Windows setup of >> tclhttpd, but you have to insert a line >> >> >> disable_iocpsock 1 >> >> >> into a file "tclhttpd.rc" which is somewhere in your tclhttpd >> installation. >> >> >> If you don't find that file, try adding >> >> set Config(disable_iocpsock) 1 >> >> just before the >> >> Httpd_Server $Config(port) $Config(host) $Config(ipaddr) >> >> line in C:\LM_120_with_unittests\dist\tclweb\LM_TCL_DEBUG.5\httpd.tcl >> >> >> Kind regards >> >> Jan >> > > |