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 

windrop/eggdrop tdom

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


Joined: 01 May 2006
Posts: 24

PostPosted: Sun Jun 04, 2006 3:50 am    Post subject: windrop/eggdrop tdom Reply with quote

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
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Jun 04, 2006 4:30 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Sun Jun 04, 2006 8:48 am    Post subject: Reply with quote

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
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sun Jun 04, 2006 11:47 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Mon Jun 05, 2006 3:47 am    Post subject: Reply with quote

thank you i hope that works.
Back to top
View user's profile Send private message
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Mon Jun 12, 2006 3:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Tue Jun 13, 2006 3:50 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Tue Jun 13, 2006 8:38 am    Post subject: Reply with quote

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
View user's profile Send private message
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Tue Jun 13, 2006 10:15 am    Post subject: Reply with quote

Shocked 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
View user's profile Send private message
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Tue Jun 13, 2006 1:20 pm    Post subject: Reply with quote

ok it works now:)Smile
need to fix the time though its 2 hours off.
thank you everyone for all the help!
Back to top
View user's profile Send private message
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Fri Jun 16, 2006 4:42 am    Post subject: Reply with quote

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
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Fri Jun 16, 2006 4:54 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Fri Jun 16, 2006 5:13 am    Post subject: Reply with quote

thanks alot trying
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