egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cannot load XML on startup

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
julesdw
Voice


Joined: 13 Jul 2006
Posts: 2

PostPosted: Thu Jul 13, 2006 8:43 am    Post subject: Cannot load XML on startup Reply with quote

OK, I have a problem trying to load the TCLXML scripts when starting my (windrop) bot. I want to load the Babelfish SOAP client as a test before I write my own SOAP client.

When I run the following from the eggdrop.conf

source lib/tcl8.4/Tclxml2.6/xml__tcl.tcl
source lib/tcl8.4/tcldom2.6/domimpl.tcl
source lib/tcl8.4/tcldom2.6/dom.tcl

source lib/tcl8.4/http2.5/http.tcl
source lib/tcl8.4/tclsoap1.6.7/utils.tcl
source lib/tcl8.4/tclsoap1.6.7/rpcvar.tcl
source lib/tcl8.4/tclsoap1.6.7/soap.tcl
source lib/tcl8.4/tclsoap1.6.7/http.tcl
source lib/tcl8.4/tclsoap1.6.7/soap.tcl
source lib/tcl8.4/tclsoap1.6.7/samples/babelfish.tcl

I get:

[14:37] Tcl error in file 'eggdrop.conf':
[14:37] can't find package xml 2.6
while executing
"package require xml 2.6"
(file "lib/tcl8.4/tcldom2.6/domimpl.tcl" line 24)
invoked from within
"source lib/tcl8.4/tcldom2.6/domimpl.tcl"
(file "eggdrop.conf" line 1374)
[14:37] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

If I run:
source C:/Windrop/lib/tcl8.4/Tclxml2.6/xml__tcl.tcl
source C:/Windrop/lib/tcl8.4/tcldom2.6/domimpl.tcl
source C:/Windrop/lib/tcl8.4/tcldom2.6/dom.tcl

source C:/Windrop/lib/tcl8.4/http2.5/http.tcl
source C:/Windrop/lib/tcl8.4/tclsoap1.6.7/utils.tcl
source C:/Windrop/lib/tcl8.4/tclsoap1.6.7/rpcvar.tcl
source C:/Windrop/lib/tcl8.4/tclsoap1.6.7/soap.tcl
source C:/Windrop/lib/tcl8.4/tclsoap1.6.7/http.tcl
source C:/Windrop/lib/tcl8.4/tclsoap1.6.7/soap.tcl
source C:/Windrop/lib/tcl8.4/tclsoap1.6.7/samples/babelfish.tcl

from the TCL 8.4 installation (activestate) I have using tclsh (using the command tclsh c:\script.tcl en_nl "good morning") it works!

It does not matter which version of the XML package I choose it still does the same. I've also tried using the "lappend auto_path" command to the eggdrop.conf but this also does not help e.g.

lappend auto_path C:/Windrop/lib/tcl8.4/Tclxml2.6

Any ideas?

Jules...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber