This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

windrop/eggdrop tdom

General support and discussion of Eggdrop bots.
Post Reply
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

windrop/eggdrop tdom

Post by flashy »

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.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

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.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

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.
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...
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

thank you i hope that works.
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

almost had it

Code: Select all

 [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?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

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...
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

I see thats in windows you mean.
I think i got it to work under linux.

Code: Select all

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?
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

:shock: 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*
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

ok it works now:):)
need to fix the time though its 2 hours off.
thank you everyone for all the help!
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

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?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

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...
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

thanks alot trying
Post Reply