| View previous topic :: View next topic |
| Author |
Message |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Sun Jun 04, 2006 3:50 am Post subject: windrop/eggdrop tdom |
|
|
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 [::tv::pubparse]: invalid command name "dom"
thanks alot , really want to get it to work. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Jun 04, 2006 4:30 am Post subject: |
|
|
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 [code] tag when posting logs, code |
|
| Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Sun Jun 04, 2006 8:48 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Sun Jun 04, 2006 11:47 am Post subject: |
|
|
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. _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Last edited by De Kus on Mon Jun 05, 2006 6:42 am; edited 1 time in total |
|
| Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Mon Jun 05, 2006 3:47 am Post subject: |
|
|
| thank you i hope that works. |
|
| Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Mon Jun 12, 2006 3:23 pm Post subject: |
|
|
almost had it
| Code: | [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? |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Tue Jun 13, 2006 3:50 am Post subject: |
|
|
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! _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Tue Jun 13, 2006 8:38 am Post subject: |
|
|
I see thats in windows you mean.
I think i got it to work under linux.
| Code: |
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" |
it means i got tdom running ok right? |
|
| Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Tue Jun 13, 2006 10:15 am Post subject: |
|
|
it worked!
<flash> !tv
<x>mtv: 06/14 00:00 Don't stop the music
tried with a diff xml , I wanted it to work with my xml though. *tries again* |
|
| Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Tue Jun 13, 2006 1:20 pm Post subject: |
|
|
ok it works now:)
need to fix the time though its 2 hours off.
thank you everyone for all the help! |
|
| Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Fri Jun 16, 2006 4:42 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Fri Jun 16, 2006 4:54 am Post subject: |
|
|
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 ^-^. _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Fri Jun 16, 2006 5:13 am Post subject: |
|
|
| thanks alot trying |
|
| Back to top |
|
 |
|