From: Abhishek T. <abh...@au...> - 2015-11-10 16:51:21
|
Hi Steve, Thanks for the details reply.I am very new to the tcl world I appreciate Regards Abhishek On Tue, Nov 10, 2015 at 9:16 PM, Steve Blinkhorn <st...@pr...> wrote: > In case it helps in any way, my experience of tclhttpd over a period > of 15 years in daily use, normally running several servers > simultaneously, is that it is a sound piece of work but reflects the > programming style of its author. I have stuck with Tcl 8.4 and can > honestly say I have never had an issue that wasn't down to my own > errors or failing to understand the subtlety of the code. But it's > not for everybody because everybody wants something ideally suited to > their own purpose which seems manifestly the most important > application in the known universe. > > We serve static web pages and have a fair amount of custom code for > providing online service to our customers. tclhhtpd is not for > beginners who haven't got to grips with the way Tcl works in less > complex contexts - it has some hidden pitfalls for people coming from > other styles of programming language. > > You really need to have a standard distribution of tclhttpd running as > it comes out of the box to get access to such embedded documentation as > there is. I have put a penny-plain version of 3.5.1 up on > http://standard.prd.co.uk in case that is of any help. I can't > promise to leave it there forever, but hey, I need to refer to it from > time to time. http://cwflynt.com/GodzillaGuide.html is a useful > additional source of information. > > I suspect happy tclhttpd users just keep their heads down and work > with what is there. It's lightweight, portable, easy to wrap up in a > single file as a starkit or starpack (which is what we do). We have > set up remote servers in a matter of minutes, and at least in our > styles of application it's robust. > > -- > Steve Blinkhorn <st...@pr...> > > You wrote: > > > > --===============1094546570057222111== > > Content-Type: multipart/alternative; > boundary=001a113df8a855f7e40523bddd8d > > > > --001a113df8a855f7e40523bddd8d > > Content-Type: text/plain; charset=UTF-8 > > > > In this file : > > C:\LM_120_with_unittests\dist\tclweb\lib\Tclxml2.6\tclparser-8.1.tcl > > I changed to > > package require sgmlparser 1.0- > > > > There is not : > > package require sgmlparser 1.0 > > in > > this : > > ./../custom/mf_click_handler.tcl > > > > But I am still getting these errors : > > ----------------------- > > Unable to connect to your ListManager server. Listmanager may be down, > or > > the address/port may be incorrect. > > Unable to connect to your ListManager server. Listmanager may be down, > or > > the address/port may be incorrect. > > ./../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 "C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_xml.tcl" > > line 7) > > invoked from within > > "source C:/LM_120_with_unittests/dist/tclweb/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 > "C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_sched.tcl" > > line 38) > > invoked from within > > "source C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_sched.tcl" > > ("package ifneeded mf_sched 1.0" script) > > invoked from within > > "package require mf_sched" > > (file > "C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_cache.tcl" > > line 3) > > invoked from within > > "source C:/LM_120_with_unittests/dist/tclweb/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" > > Unable to connect to your ListManager server. Listmanager may be down, > or > > the address/port may be incorrect. > > ./../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 "C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_xml.tcl" > > line 7) > > invoked from within > > "source C:/LM_120_with_unittests/dist/tclweb/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 > > 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 > "C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_sched.tcl" > > line 38) > > invoked from within > > "source C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_sched.tcl" > > ("package ifneeded mf_sched 1.0" script) > > invoked from within > > "package require mf_sched" > > (file > "C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_cache.tcl" > > line 3) > > invoked from within > > "source C:/LM_120_with_unittests/dist/tclweb/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 "C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_xml.tcl" > > line 7) > > invoked from within > > "source C:/LM_120_with_unittests/dist/tclweb/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 > "C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_soap.tcl" > > line 8) > > invoked from within > > "source C:/LM_120_with_unittests/dist/tclweb/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 468) > > -------------------------- > > Regards > > Abhishek > > > > > > On Thu, Nov 5, 2015 at 2:52 AM, Jan Kandziora <jj...@gm...> wrote: > > > > > Am 04.11.2015 um 22:06 schrieb Abhishek Tiwari: > > > > 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 > > > > > > > I can't give you advice on this because I'm not running tclhttpd on > > > Tcl8.6 anywhere. Had some unrelated problems with 8.6 which affected > > > other software I need on my machines. > > > > > > > > > > > > > -------------------- > > > > [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 > > > > > > > This means your ./../custom/mf_csv_export.tcl has to be tweaked. That's > > > a tcl file of you own front/backend which is just too specific about > the > > > version of some tcl package it likes to load. > > > > > > Look for a line saying > > > > > > package require sgmlparser 1.0 > > > > > > and change it to > > > > > > package require sgmlparser 1.0- > > > > > > > > > > ./../custom/mf_click_handler.tcl: attempt to provide package > SOAP::Utils > > > > 1.0 failed: package SOAP::Utils 1.0.1 provided > > > > > > > Same here. > > > > > > > > > The other errors you get are doubles. > > > > > > Kind regards > > > > > > Jan > > > > > > > > > > > > > > > > --001a113df8a855f7e40523bddd8d > > Content-Type: text/html; charset=UTF-8 > > Content-Transfer-Encoding: quoted-printable > > > > <div dir=3D"ltr">In this file > :=C2=A0<div>C:\LM_120_with_unittests\dist\tcl= > > web\lib\Tclxml2.6\tclparser-8.1.tcl=C2=A0</div><div>I changed > to=C2=A0<br><= > > div>package require sgmlparser 1.0-<br></div><div><br></div><div>There > is n= > > ot :=C2=A0</div><div>package require sgmlparser > 1.0<br></div><div>in=C2=A0<= > > /div><div>this > :=C2=A0</div><div>=C2=A0./../custom/mf_click_handler.tcl<br>= > > </div><div><br></div><div>But I am still getting these errors > :=C2=A0</div>= > > <div>-----------------------</div><div><div>Unable to connect to your > ListM= > > anager server.=C2=A0 Listmanager may be down, or the address/port may be > in= > > correct.</div><div>Unable to connect to your ListManager server.=C2=A0 > List= > > manager may be down, or the address/port may be > incorrect.</div><div>./../c= > > ustom/mf_csv_export.tcl: attempt to provide package sgmlparser 1.1 > failed: = > > package sgmlparser 1.0 provided instead</div><div>=C2=A0 =C2=A0 > ("pack= > > age ifneeded sgmlparser 1.1" script)</div><div>=C2=A0 =C2=A0 > invoked f= > > rom within</div><div>"package require sgmlparser > 1.0-"</div><div>= > > =C2=A0 =C2=A0 (file > "C:/LM_120_with_unittests/dist/tclweb/lib/Tclxml2.= > > 6/tclparser-8.1.tcl" line 41)</div><div>=C2=A0 =C2=A0 invoked from > wit= > > hin</div><div>"source > C:/LM_120_with_unittests/dist/tclweb/lib/Tclxml2= > > .6/tclparser-8.1.tcl"</div><div>=C2=A0 =C2=A0 ("package > ifneeded = > > xml::tclparser 2.6" script)</div><div>=C2=A0 =C2=A0 invoked from > withi= > > n</div><div>"package require xml::tclparser > 2.6"</div><div>=C2=A0= > > =C2=A0 invoked from within</div><div>"if {[catch {package require > xml= > > ::c 2.6}]} {</div><div><span class=3D"" style=3D"white-space:pre"> > </span>p= > > ackage require xml::tcl =C2=A0 =C2=A0 =C2=A0 2.6</div><div><span > class=3D""= > > style=3D"white-space:pre"> </span>package require > xmldefs</div><div><span = > > class=3D"" style=3D"white-space:pre"> </span># Only choice is > tclparser</di= > > v><div><span class=3D"" style=3D"white-space:pre"> </span>package > require .= > > .."</div><div>=C2=A0 =C2=A0 ("package ifneeded xml 2.6" > scri= > > pt)</div><div>=C2=A0 =C2=A0 invoked from within</div><div>"package > req= > > uire xml 2.6"</div><div>=C2=A0 =C2=A0 (file > "C:/LM_120_with_unitt= > > ests/dist/tclweb/lib/Tcldom2.6/domimpl.tcl" line > 24)</div><div>=C2=A0 = > > =C2=A0 invoked from within</div><div>"source > C:/LM_120_with_unittests/= > > dist/tclweb/lib/Tcldom2.6/domimpl.tcl"</div><div>=C2=A0 =C2=A0 > ("= > > package ifneeded dom::tcl 2.6" script)</div><div>=C2=A0 =C2=A0 > invoked= > > from within</div><div>"package require dom::tcl > 2.6"</div><div>= > > =C2=A0 =C2=A0 (file > "C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.= > > 6/dom.tcl" line 49)</div><div>=C2=A0 =C2=A0 invoked from > within</div><= > > div>"source > C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/dom.tcl= > > "</div><div>=C2=A0 =C2=A0 ("package ifneeded dom::tclgeneric > 2.6&= > > quot; script)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"p= > > ackage require dom::tclgeneric"</div><div>=C2=A0 =C2=A0 invoked > from w= > > ithin</div><div>"if {[catch {package require dom::generic 2.6}]} > {</di= > > v><div><span class=3D"" style=3D"white-space:pre"> </span>package > require d= > > om::tclgeneric</div><div>=C2=A0 =C2=A0 } else {</div><div><span > class=3D"" = > > style=3D"white-space:pre"> </span>catch {package require > dom::c}</div><div>= > > <span class=3D"" style=3D"white-space:pre"> </span>catch {package > requir...= > > "</div><div>=C2=A0 =C2=A0 ("package ifneeded dom 2.6" > script= > > )</div><div>=C2=A0 =C2=A0 invoked from within</div><div>"package > requi= > > re dom"</div><div>=C2=A0 =C2=A0 (file > "C:/LM_120_with_unittests/d= > > ist/tclweb/htdocs/libtml/mf_xml.tcl" line 7)</div><div>=C2=A0 > =C2=A0 i= > > nvoked from within</div><div>"source > C:/LM_120_with_unittests/dist/tcl= > > web/htdocs/libtml/mf_xml.tcl"</div><div>=C2=A0 =C2=A0 > ("package i= > > fneeded mf_xml 1.0" script)</div><div>=C2=A0 =C2=A0 invoked from > withi= > > n</div><div>"package require mf_xml"</div><div>=C2=A0 =C2=A0 > (fil= > > e "./../custom/mf_csv_export.tcl" line 11)</div><div>=C2=A0 > =C2= > > =A0 invoked from within</div><div>"source > $f"</div><div>./../cust= > > om/mf_click_handler.tcl: attempt to provide package SOAP::Utils 1.0 > failed:= > > package SOAP::Utils 1.0.1 provided instead</div><div>=C2=A0 =C2=A0 > while e= > > xecuting</div><div>"Thread_Send $id [list source > $Config(main)]"<= > > /div><div>=C2=A0 =C2=A0 (procedure "Thread_Start" line > 27)</div><= > > div>=C2=A0 =C2=A0 invoked from > within</div><div>"Thread_Start"</d= > > iv><div>=C2=A0 =C2=A0 (procedure "sched::init" line > 2)</div><div>= > > =C2=A0 =C2=A0 invoked from > within</div><div>"sched::init"</div><d= > > iv>=C2=A0 =C2=A0 (file > "C:/LM_120_with_unittests/dist/tclweb/htdocs/li= > > btml/mf_sched.tcl" line 38)</div><div>=C2=A0 =C2=A0 invoked from > withi= > > n</div><div>"source > C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml= > > /mf_sched.tcl"</div><div>=C2=A0 =C2=A0 ("package ifneeded > mf_sche= > > d 1.0" script)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>&= > > quot;package require mf_sched"</div><div>=C2=A0 =C2=A0 (file > "C:/= > > LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_cache.tcl" line > 3)<= > > /div><div>=C2=A0 =C2=A0 invoked from within</div><div>"source > C:/LM_12= > > > 0_with_unittests/dist/tclweb/htdocs/libtml/mf_cache.tcl"</div><div>=C2= > > =A0 =C2=A0 ("package ifneeded mf_cache 1.0" > script)</div><div>=C2= > > =A0 =C2=A0 invoked from within</div><div>"package require > mf_cache&quo= > > t;</div><div>=C2=A0 =C2=A0 (file > "./../custom/mf_click_handler.tcl&quo= > > t; line 7)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"sour= > > ce $f"</div><div>Unable to connect to your ListManager > server.=C2=A0 L= > > istmanager may be down, or the address/port may be > incorrect.</div><div>./.= > > ./custom/mf_csv_export.tcl: attempt to provide package sgmlparser 1.1 > faile= > > d: package sgmlparser 1.0 provided instead</div><div>=C2=A0 =C2=A0 > ("p= > > ackage ifneeded sgmlparser 1.1" script)</div><div>=C2=A0 =C2=A0 > invoke= > > d from within</div><div>"package require sgmlparser > 1.0-"</div><d= > > iv>=C2=A0 =C2=A0 (file > "C:/LM_120_with_unittests/dist/tclweb/lib/Tclxm= > > l2.6/tclparser-8.1.tcl" line 41)</div><div>=C2=A0 =C2=A0 invoked > from = > > within</div><div>"source > C:/LM_120_with_unittests/dist/tclweb/lib/Tclx= > > ml2.6/tclparser-8.1.tcl"</div><div>=C2=A0 =C2=A0 ("package > ifneed= > > ed xml::tclparser 2.6" script)</div><div>=C2=A0 =C2=A0 invoked from > wi= > > thin</div><div>"package require xml::tclparser > 2.6"</div><div>=C2= > > =A0 =C2=A0 invoked from within</div><div>"if {[catch {package > require = > > xml::c 2.6}]} {</div><div><span class=3D"" style=3D"white-space:pre"> > </spa= > > n>package require xml::tcl =C2=A0 =C2=A0 =C2=A0 2.6</div><div><span > class= > > =3D"" style=3D"white-space:pre"> </span>package require > xmldefs</div><div><= > > span class=3D"" style=3D"white-space:pre"> </span># Only choice is > tclparse= > > r</div><div><span class=3D"" style=3D"white-space:pre"> > </span>package requ= > > ire ..."</div><div>=C2=A0 =C2=A0 ("package ifneeded xml > 2.6"= > > script)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"packag= > > e require xml 2.6"</div><div>=C2=A0 =C2=A0 (file > "C:/LM_120_with_= > > unittests/dist/tclweb/lib/Tcldom2.6/domimpl.tcl" line > 24)</div><div>= > > =C2=A0 =C2=A0 invoked from within</div><div>"source > C:/LM_120_with_uni= > > ttests/dist/tclweb/lib/Tcldom2.6/domimpl.tcl"</div><div>=C2=A0 > =C2=A0 = > > ("package ifneeded dom::tcl 2.6" script)</div><div>=C2=A0 > =C2=A0 = > > invoked from within</div><div>"package require dom::tcl > 2.6"</div= > > ><div>=C2=A0 =C2=A0 (file > "C:/LM_120_with_unittests/dist/tclweb/lib/Tc= > > ldom2.6/dom.tcl" line 49)</div><div>=C2=A0 =C2=A0 invoked from > within<= > > /div><div>"source > C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/d= > > om.tcl"</div><div>=C2=A0 =C2=A0 ("package ifneeded > dom::tclgeneri= > > c 2.6" script)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>&= > > quot;package require dom::tclgeneric"</div><div>=C2=A0 =C2=A0 > invoked = > > from within</div><div>"if {[catch {package require dom::generic > 2.6}]}= > > {</div><div><span class=3D"" style=3D"white-space:pre"> > </span>package req= > > uire dom::tclgeneric</div><div>=C2=A0 =C2=A0 } else {</div><div><span > class= > > =3D"" style=3D"white-space:pre"> </span>catch {package require > dom::c}</div= > > ><div><span class=3D"" style=3D"white-space:pre"> </span>catch > {package req= > > uir..."</div><div>=C2=A0 =C2=A0 ("package ifneeded dom > 2.6" = > > script)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"package= > > require dom"</div><div>=C2=A0 =C2=A0 (file > "C:/LM_120_with_unitt= > > ests/dist/tclweb/htdocs/libtml/mf_xml.tcl" line 7)</div><div>=C2=A0 > = > > =C2=A0 invoked from within</div><div>"source > C:/LM_120_with_unittests/= > > dist/tclweb/htdocs/libtml/mf_xml.tcl"</div><div>=C2=A0 =C2=A0 > ("p= > > ackage ifneeded mf_xml 1.0" script)</div><div>=C2=A0 =C2=A0 invoked > fr= > > om within</div><div>"package require mf_xml"</div><div>=C2=A0 > =C2= > > =A0 (file "./../custom/mf_csv_export.tcl" line > 11)</div><div>=C2= > > =A0 =C2=A0 invoked from within</div><div>"source > $f"</div><div>./= > > ../custom/mf_click_handler_converters.tcl: attempt to provide package > SOAP:= > > :Utils 1.0 failed: package SOAP::Utils 1.0.1 provided > instead</div><div>=C2= > > =A0 =C2=A0 while executing</div><div>"Thread_Send $id [list source > $Co= > > nfig(main)]"</div><div>=C2=A0 =C2=A0 (procedure > "Thread_Start&quo= > > t; line 27)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"Thr= > > ead_Start"</div><div>=C2=A0 =C2=A0 (procedure > "sched::init" = > > line 2)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"sched::= > > init"</div><div>=C2=A0 =C2=A0 (file > "C:/LM_120_with_unittests/dis= > > t/tclweb/htdocs/libtml/mf_sched.tcl" line 38)</div><div>=C2=A0 > =C2=A0 = > > invoked from within</div><div>"source > C:/LM_120_with_unittests/dist/tc= > > lweb/htdocs/libtml/mf_sched.tcl"</div><div>=C2=A0 =C2=A0 > ("packag= > > e ifneeded mf_sched 1.0" script)</div><div>=C2=A0 =C2=A0 invoked > from = > > within</div><div>"package require mf_sched"</div><div>=C2=A0 > =C2= > > =A0 (file > "C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_cache= > > .tcl" line 3)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>&q= > > uot;source > C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_cache.tcl&= > > quot;</div><div>=C2=A0 =C2=A0 ("package ifneeded mf_cache 1.0" > sc= > > ript)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"package r= > > equire mf_cache"</div><div>=C2=A0 =C2=A0 (file > "./../custom/mf_cl= > > ick_handler_converters.tcl" line 4)</div><div>=C2=A0 =C2=A0 invoked > fr= > > om within</div><div>"source > $f"</div><div>./../custom/mf_click_ha= > > ndler_cache.tcl: can't create procedure > "clickhandler::get_cached_= > > url_mem": unknown namespace</div><div>=C2=A0 =C2=A0 while > executing</d= > > iv><div>"proc clickhandler::get_cached_url_mem { urlid } > {</div><div>= > > =C2=A0 =C2=A0 set url ""</div><div><br></div><div>=C2=A0 > =C2=A0 i= > > f [catch {</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 if { [tsv::exists > click_ma= > > p $urlid:url]} {</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # > use.= > > .."</div><div>=C2=A0 =C2=A0 (file > "./../custom/mf_click_handler_c= > > ache.tcl" line 1)</div><div>=C2=A0 =C2=A0 invoked from > within</div><di= > > v>"source $f"</div><div>./../custom/mf_csv_export.tcl: attempt > to= > > provide package sgmlparser 1.1 failed: package sgmlparser 1.0 provided > ins= > > tead</div><div>=C2=A0 =C2=A0 ("package ifneeded sgmlparser > 1.1" s= > > cript)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"package = > > require sgmlparser 1.0-"</div><div>=C2=A0 =C2=A0 (file > "C:/LM_120= > > _with_unittests/dist/tclweb/lib/Tclxml2.6/tclparser-8.1.tcl" line > 41)<= > > /div><div>=C2=A0 =C2=A0 invoked from within</div><div>"source > C:/LM_12= > > > 0_with_unittests/dist/tclweb/lib/Tclxml2.6/tclparser-8.1.tcl"</div><di= > > v>=C2=A0 =C2=A0 ("package ifneeded xml::tclparser 2.6" > script)</d= > > iv><div>=C2=A0 =C2=A0 invoked from within</div><div>"package > require x= > > ml::tclparser 2.6"</div><div>=C2=A0 =C2=A0 invoked from > within</div><d= > > iv>"if {[catch {package require xml::c 2.6}]} {</div><div><span > class= > > =3D"" style=3D"white-space:pre"> </span>package require xml::tcl > =C2=A0 =C2= > > =A0 =C2=A0 2.6</div><div><span class=3D"" style=3D"white-space:pre"> > </span= > > >package require xmldefs</div><div><span class=3D"" > style=3D"white-space:pr= > > e"> </span># Only choice is tclparser</div><div><span class=3D"" > style=3D"w= > > hite-space:pre"> </span>package require ..."</div><div>=C2=A0 > =C2=A0 (= > > "package ifneeded xml 2.6" script)</div><div>=C2=A0 =C2=A0 > invoke= > > d from within</div><div>"package require xml > 2.6"</div><div>=C2= > > =A0 =C2=A0 (file > "C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/d= > > omimpl.tcl" line 24)</div><div>=C2=A0 =C2=A0 invoked from > within</div>= > > <div>"source > C:/LM_120_with_unittests/dist/tclweb/lib/Tcldom2.6/domimp= > > l.tcl"</div><div>=C2=A0 =C2=A0 ("package ifneeded dom::tcl > 2.6&qu= > > ot; script)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"pac= > > kage require dom::tcl 2.6"</div><div>=C2=A0 =C2=A0 (file > "C:/LM_1= > > 20_with_unittests/dist/tclweb/lib/Tcldom2.6/dom.tcl" line > 49)</div><di= > > v>=C2=A0 =C2=A0 invoked from within</div><div>"source > C:/LM_120_with_u= > > nittests/dist/tclweb/lib/Tcldom2.6/dom.tcl"</div><div>=C2=A0 =C2=A0 > (&= > > quot;package ifneeded dom::tclgeneric 2.6" script)</div><div>=C2=A0 > = > > =C2=A0 invoked from within</div><div>"package require > dom::tclgeneric&= > > quot;</div><div>=C2=A0 =C2=A0 invoked from within</div><div>"if > {[catc= > > h {package require dom::generic 2.6}]} {</div><div><span class=3D"" > style= > > =3D"white-space:pre"> </span>package require > dom::tclgeneric</div><div>=C2= > > =A0 =C2=A0 } else {</div><div><span class=3D"" > style=3D"white-space:pre"> <= > > /span>catch {package require dom::c}</div><div><span class=3D"" > style=3D"wh= > > ite-space:pre"> </span>catch {package > requir..."</div><div>=C2=A0 =C2= > > =A0 ("package ifneeded dom 2.6" script)</div><div>=C2=A0 > =C2=A0 i= > > nvoked from within</div><div>"package require > dom"</div><div>=C2= > > =A0 =C2=A0 (file > "C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/m= > > f_xml.tcl" line 7)</div><div>=C2=A0 =C2=A0 invoked from > within</div><d= > > iv>"source > C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_xml.t= > > cl"</div><div>=C2=A0 =C2=A0 ("package ifneeded mf_xml > 1.0" s= > > cript)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"package = > > require mf_xml"</div><div>=C2=A0 =C2=A0 (file > "./../custom/mf_csv= > > _export.tcl" line 11)</div><div>=C2=A0 =C2=A0 invoked from > within</div= > > ><div>"source $f"</div><div>Error processing main startup > script = > > ".\httpdthread.tcl".</div><div>attempt to provide package > SOAP::U= > > tils 1.0 failed: package SOAP::Utils 1.0.1 provided > instead</div><div>=C2= > > =A0 =C2=A0 ("package ifneeded SOAP::Utils 1.0" > script)</div><div>= > > =C2=A0 =C2=A0 invoked from within</div><div>"package require > SOAP::Uti= > > ls"</div><div>=C2=A0 =C2=A0 (file > "C:/TCL/lib/teapot/package/tcl/= > > teapot/tcl8/8.4/<a href=3D"http://SOAP-1.6.8.1.tm">SOAP-1.6.8.1.tm > </a>"= > > ; line 31)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"sour= > > ce -encoding utf-8 C:/TCL/lib/teapot/package/tcl/teapot/tcl8/8.4/<a > href=3D= > > "http://SOAP-1.6.8.1.tm">SOAP-1.6.8.1.tm</a>"</div><div>=C2=A0 > =C2=A0 = > > ("package ifneeded SOAP 1.6.8.1" script)</div><div>=C2=A0 > =C2=A0 = > > invoked from within</div><div>"package require > SOAP"</div><div>= > > =C2=A0 =C2=A0 (file > "C:/LM_120_with_unittests/dist/tclweb/htdocs/libtm= > > l/mf_soap.tcl" line 8)</div><div>=C2=A0 =C2=A0 invoked from > within</di= > > v><div>"source > C:/LM_120_with_unittests/dist/tclweb/htdocs/libtml/mf_s= > > oap.tcl"</div><div>=C2=A0 =C2=A0 ("package ifneeded mf_soap > 1.0&q= > > uot; script)</div><div>=C2=A0 =C2=A0 invoked from > within</div><div>"pa= > > ckage require mf_soap"</div><div>=C2=A0 =C2=A0 (file > "./httpdthre= > > ad.tcl" line 215)</div><div>=C2=A0 =C2=A0 invoked from > within</div><di= > > v>"source $Config(main)"</div><div>=C2=A0 =C2=A0 while > executing<= > > /div><div>"error $error"</div><div>=C2=A0 =C2=A0 invoked from > wit= > > hin</div><div>"if {[catch {source $Config(main)} message]} then > {</div= > > ><div>=C2=A0 =C2=A0 global errorInfo</div><div>=C2=A0 =C2=A0 set error > &quo= > > t;Error processing main startup script \"[file nativename > $Config...&q= > > uot;</div><div>=C2=A0 =C2=A0 (file > "C:\LM_120_with_unittests\dist\tclw= > > eb\LM_TCL_DEBUG.5\httpd.tcl" line > 468)</div></div><div>---------------= > > > -----------</div><div>Regards</div><div>Abhishek</div><div><br></div></div>= > > <div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Nov 5, > 20= > > 15 at 2:52 AM, Jan Kandziora <span dir=3D"ltr"><<a href=3D"mailto: > jjj@gm= > > x.de" target=3D"_blank">jj...@gm...</a>></span> wrote:<br><blockquote > cla= > > ss=3D"gmail_quote" style=3D"margin:0px 0px 0px > 0.8ex;border-left-width:1px;= > > > border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex= > > "><span class=3D"">Am 04.11.2015 um 22:06 schrieb Abhishek Tiwari:<br> > > > Also,<br> > > > I said : I switched from=C2=A0 activestate 8.6 to 8.5 to avoid a > dirna= > > me command<br> > > > not found<br> > > > I was not getting any connectivity related problem.<br> > > > My httpd.tcl was able to identify the back end running server<br> > > > The kind of errors I was facing were below :<br> > > > Should I switch back to 8.6<br> > > ><br> > > </span>I can't give you advice on this because I'm not running > tclh= > > ttpd on<br> > > Tcl8.6 anywhere. Had some unrelated problems with 8.6 which affected<br> > > other software I need on my machines.<br> > > <span class=3D""><br> > > <br> > > <br> > > > --------------------<br> > > > [11/4/2015 8:35:52 PM] Abhishek Tiwari: > ./../custom/mf_csv_export.tcl:= > > <br> > > > attempt to provide package sgmlparser 1.1 failed:<br> > > ><br> > > > package sgmlparser 1.0 provided instead<br> > > ><br> > > </span>This means your ./../custom/mf_csv_export.tcl has to be tweaked. > Tha= > > t's<br> > > a tcl file of you own front/backend which is just too specific about > the<br= > > > > > version of some tcl package it likes to load.<br> > > <br> > > Look for a line saying<br> > > <br> > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 package require sgmlparser 1.0<br> > > <br> > > and change it to<br> > > <br> > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 package require sgmlparser 1.0-<br> > > <span class=3D""><br> > > <br> > > > ./../custom/mf_click_handler.tcl: attempt to provide package > SOAP::Uti= > > ls<br> > > > 1.0 failed: package SOAP::Utils 1.0.1 provided<br> > > ><br> > > </span>Same here.<br> > > <br> > > <br> > > The other errors you get are doubles.<br> > > <br> > > Kind regards<br> > > <span class=3D""><font color=3D"#888888"><br> > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 Jan<br> > > <br> > > <br> > > <br> > > </font></span></blockquote></div><br></div></div> > > > > --001a113df8a855f7e40523bddd8d-- > > > > > > --===============1094546570057222111== > > Content-Type: text/plain; charset="us-ascii" > > MIME-Version: 1.0 > > Content-Transfer-Encoding: 7bit > > Content-Disposition: inline > > > > > ------------------------------------------------------------------------------ > > > > --===============1094546570057222111== > > Content-Type: text/plain; charset="us-ascii" > > MIME-Version: 1.0 > > Content-Transfer-Encoding: 7bit > > Content-Disposition: inline > > > > _______________________________________________ > > TclHttpd-users mailing list > > Tcl...@li... > > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users > > > > --===============1094546570057222111==-- > > > > > > |