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 

TVRage.com Schedule Script (Latest: 2.0)
Goto page Previous  1, 2, 3 ... 19, 20, 21 ... 32, 33, 34  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Wed Oct 22, 2008 11:24 pm    Post subject: Reply with quote

The error was caused due to a dict or tcl bug if I recall correctly. Something like that. It wasn't an issue with the script and nothing could be done about it. I imagine it's the same issue still.
Back to top
View user's profile Send private message
Joori
Voice


Joined: 24 Mar 2006
Posts: 34
Location: Sydney

PostPosted: Thu Oct 23, 2008 3:24 am    Post subject: Reply with quote

Bugger, guess i can't run it, or wait for an update for tcl and see if that fixes the problem.

Cheers for the rapid response!
_________________
No Haters, No Spies, Just the love 'tween my thighs!
Back to top
View user's profile Send private message Visit poster's website
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Thu Oct 23, 2008 7:47 am    Post subject: Reply with quote

If it's the bug I'm thinking of dict still loads and the script will work. It just throws the warning everytime you load the script.
Back to top
View user's profile Send private message
Joori
Voice


Joined: 24 Mar 2006
Posts: 34
Location: Sydney

PostPosted: Thu Oct 23, 2008 8:12 am    Post subject: Reply with quote

GaveUp wrote:
If it's the bug I'm thinking of dict still loads and the script will work. It just throws the warning everytime you load the script.


Unfortunately, I dont think it is the same bug. You see, when I try to load the script I get;
Code:
 [22:03]  tvrage.tcl error: dict required. READ: http://forum.egghelp.org/viewtopic.php?p=67617#67617


So thinking that the script should still load, I try and set the channels I would like to announce to and get;
Code:
.chanset #pkr +tvannounce
Error trying to set +tvannounce for #pkr, invalid mode.


I'm thinking that the dict error is preventing the rest of the script from loading and executing the binds which would allow me to set various announce channels and/or quiet channels.
_________________
No Haters, No Spies, Just the love 'tween my thighs!
Back to top
View user's profile Send private message Visit poster's website
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Thu Oct 23, 2008 9:18 am    Post subject: Reply with quote

You are right. This is a different error. For some reason TCL isn't finding the dict module.
Back to top
View user's profile Send private message
Joori
Voice


Joined: 24 Mar 2006
Posts: 34
Location: Sydney

PostPosted: Thu Oct 23, 2008 10:36 pm    Post subject: Reply with quote

Ok, well I've given up on trying to figure out the error with TCL8.5.. I've tried uninstalling and reinstalling and all to no avail. I have now installed TCL8.4 and the Dict package mentioned in previous posts in this thread. The script now works just fine Cool

After all that, I should have just installed TCL8.4 in the first place instead of trying to troubleshoot the error when I myself know next to nothing about TCL programming. My *nix knowledge is limited in it'self so yeah... all good now. Works great so far Wink

Cheers for the help!
_________________
No Haters, No Spies, Just the love 'tween my thighs!
Back to top
View user's profile Send private message Visit poster's website
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Tue Oct 28, 2008 12:28 am    Post subject: uh Reply with quote

ugh got the script and dict tryed to install dict to a dir within my shell to no avail, trying to look through the pages to find an answer... ffs...
_________________
I see j00!
Back to top
View user's profile Send private message
user
 


Joined: 18 Mar 2003
Posts: 1452
Location: Norway

PostPosted: Tue Oct 28, 2008 4:56 am    Post subject: Reply with quote

Joori wrote:
Ok, well I've given up on trying to figure out the error with TCL8.5..

In Tcl 8.5 dict is a native command, so the check for the dict package will of course fail. I suggest changing the dict check from
Code:
if {[catch {package require dict} error]} {
   die "tvrage.tcl error: dict required."
}
to
Code:
if {![llength [info commands dict]]&&[catch {package require dict} error]} {
   die "tvrage.tcl error: dict required."
}
which should make it compatible with 8.5 or any other implementation of dict. (not all of them come in the form of a package)
_________________
Have you ever read "The Manual"?
Back to top
View user's profile Send private message
Joori
Voice


Joined: 24 Mar 2006
Posts: 34
Location: Sydney

PostPosted: Tue Oct 28, 2008 8:52 am    Post subject: Reply with quote

awesome stuff, i'll give that a go and see how it pans out. Although, it drives me nuts seeing people use "die" in their scripts when most of them would not render the eggdrop useless and thus it's not needed... so i might just remove that seeing as i wouldn't want to compromise my eggdrop's uptime as im sure many others would have the same view. I've had many instances where my eggdrop has been forced to shutdown because of that damn die command when it wasn't needed.

Die == not cool!
_________________
No Haters, No Spies, Just the love 'tween my thighs!
Back to top
View user's profile Send private message Visit poster's website
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Tue Oct 28, 2008 9:31 am    Post subject: Reply with quote

Quote:
Die == not cool!


I don't disagree with you. The die code is left over from the original code, which was hobbled together as I was relearning the language after a several year break. This is one of the things I've been meaning to change and just haven't gotten around to. Since the last release of this, long ago, I haven't touched egg scripting at all and due to some other things taking up time I haven't gotten back to doing it, though, as I obviously still watch the forums I plan to at some point.

Quote:
In Tcl 8.5 dict is a native command


Thanks for the information.
Back to top
View user's profile Send private message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Tue Oct 28, 2008 8:38 pm    Post subject: Reply with quote

this may seem like a stupid question but is the version previous to the one that required dict still compatible with tv rage, if so could I get a copy of it as I'm on a shell and haven't the slightest as to how to incorporate dict into just a dir within my shell environment, thanks!
_________________
I see j00!
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Tue Oct 28, 2008 9:09 pm    Post subject: Reply with quote

While there might be bugs with it, the tvrage interface hasn't changed significantly since this script was started so it should still work. You'll have to find the post referencing it and try the download link, though. I no longer have a copy of the old versions.
Back to top
View user's profile Send private message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Thu Oct 30, 2008 10:02 pm    Post subject: Reply with quote

Ok thanks for your help. Very Happy
_________________
I see j00!
Back to top
View user's profile Send private message
arbiter
Voice


Joined: 24 Oct 2005
Posts: 8

PostPosted: Thu Nov 06, 2008 1:57 am    Post subject: Reply with quote

well, even in 8.5 on mine at least it still complained and wanted tcldict.
[12:54:31am] <OverMind> Tcl version: 8.5.2

i end up having to do a rig job that works great, found a libdict compile in distro of nix i use and loaded it manually using a seperate tcl file


load /usr/lib64/dict8.5.2/libdict8.5.2.so
putlog "Module loaded: libdict8.5.2"



problem solved works prefect =)
Back to top
View user's profile Send private message AIM Address MSN Messenger
darkwolf
Voice


Joined: 26 Feb 2007
Posts: 9

PostPosted: Thu Dec 04, 2008 11:15 pm    Post subject: Reply with quote

!tvinfo doesn't seem to work anymore.

TVRage: getShowInfo: ERROR: connect failed



Sad
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 -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 19, 20, 21 ... 32, 33, 34  Next
Page 20 of 34

 
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