not sure where to post this.
trying to get tdom running on windrop/eggdrop to run the eggdrop-xmltv-1.1
i've tried installing tdom on the shell i bought but getting premission denied when trying to ./install
is there a way around it?
or to get it to work with windrop ? installed activetcl but not sure how to load it into the bot
Tcl error [::pubparse]: invalid command name "dom"
start over, first type ./configure --help to see what install options are available; hint: use --prefix=$HOME to install this thing in your home directory
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use
almost had it there after like 4 hrs , then back to square 1 , once tdom/active tcl working how do i load it to the bot ? any changes to the .conf?
or i need to ask all that to the author.
if you installed it in ~/lib/tcl8.4 and the dir contains a pkgIndex, it will be loaded as soon you issue the command:
package require tdom
on failure check that above dir is in $tcl_libPath, you can also try TCL_LIBRARY_PATH in the enviroment.
Edit: seems the patch must be in $auto_path, which is concated from diffrent other vars which have no meaning in runtime and are just for informatical use.
Last edited by De Kus on Mon Jun 05, 2006 6:42 am, edited 1 time in total.
[13:53] Tcl error in file 'bot1.conf':
[13:53] Tcl core wasn't compiled for multithreading.
while executing
"load /usr/local/lib/tdom0.8.0/libtdom0.8.0.so"
("package ifneeded" script)
invoked from within
"package require tdom"
(procedure "tv::init" line 5)
invoked from within
"tv::init"
(file "scripts/tv.tcl" line 1072)
invoked from within
"source scripts/tv.tcl"
(file "bot1.conf" line 440)
[13:53] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
-
DCC session closed
is there a way to i can redo tcl to support threading?
not sure if cygwin TCL can be compiled with threading. You should try to get a non-threaded .dll version of tdom... (i.e. by using Cygwin to compile one from source). At least I can ensure that getting TCL compiled and working isn't an easy task!
now i'm getting this error:
[08:30] Tcl error [::tv::pubparse]: error "unknown encoding" at line 1 character 30
"ion="1.0" encoding="I <--Error-- SO-8859-8"?>
<!DOCTYPE tv SYSTEM "xmltv"
is there a way to change the clock and not affect the other users on the shell?
i've got root.
i mean change only my shell's account clock.
i changed it by ln -sf ../usr/share/zoneinfo/Asia/Jeruslem /etc/localtime
and the script worked great but i would prefer if i didnt change the whole box clock, its a shell company box.
or maybe some way to change the clock in eggdrop? or some tcl?
run the bot as non root and use the setting "set env(TZ)" to set your local time. Any local that supported by date etc. is possible.
Alternately add something like 'export TZ=' to your/the users .bash_profile ^-^.