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 ... 14, 15, 16 ... 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
ascension
Voice


Joined: 26 Mar 2007
Posts: 8

PostPosted: Sun Apr 08, 2007 3:37 am    Post subject: Reply with quote

Hum, then then dict detection is faulty for some reason, good to remove it in that case..
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Apr 08, 2007 7:48 am    Post subject: Reply with quote

GaveUp could explain this better, I dont remember all the details he told me. But, apparently the problem is in dict itself, and is a known problem, it doesn't return the correct version number or something to that effect.

And for whatever reason, my copy of dict doesn't assert any version number, so using "package require dict" works for me, where other systems need "package require dict <version-number>" as I understand the problem.

I'm not sure what the "correct" solution would be as far as the script's checking for the dict package and the version number, since I cannot duplicate the problem.
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Sun Apr 08, 2007 11:24 am    Post subject: Reply with quote

Quote:
GaveUp could explain this better, I dont remember all the details he told me. But, apparently the problem is in dict itself, and is a known problem, it doesn't return the correct version number or something to that effect.


You've pretty much got that right. It will show a warning but the code functions fine so it's more a nuisance than anything else. Also, when you see errors like

Quote:
[3:51/p] <(> [23:52] Tcl error [::tvrage::announceShows]: invalid command name "dict"


it is NOT a symptom of this problem. The above, obviously, indicates dict is not loaded because the module is not available.

Quote:
Hum, then then dict detection is faulty for some reason, good to remove it in that case..


When you right the code then you can decide what structures and functions to use. dict was chosen for a reason and it will not be going anywhere any time soon. You failure to administer a box and get dict working is NOT my problem. This code is provided for free and until otherwise (read: never going to happen) it is not my job nor anyone elses to make it work for you.

@rosc2112 -- What tcl version are you running? Seeing as dict is new to the 8.5 branch if you're running that that would explain the lack of the version warning.
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Apr 08, 2007 6:39 pm    Post subject: Reply with quote

I'm running v8.4.11 actually, and dict 8.5.2, compiled with ./configure --enable-threads --enable-shared options.

Edit: I should mention it's also a Linux 2.4.x platform with gcc 3.2.3 and libc-2.3.5 if that makes any diff..My system isn't quite standard, as it's a slackware based system that's been manually upgraded for about the last 10 yrs =)

@everyone complaining about dict:
From what I've read about dict, it's more efficient and flexible than using pure arrays, so it's a better option. And it's really not that hard to implement, just compile it, install and it should work just fine, unless you're on a windoze platform and in that case, you have more problems than just getting dict to work.
<opinion>
Eggdrop, tcl, etc, are *nix platform programs, the ports to windoze are kludges and create more problems than its worth. Get over your fear of learning and reading manuals and run a real os Smile
</opinion>
Back to top
View user's profile Send private message
ascension
Voice


Joined: 26 Mar 2007
Posts: 8

PostPosted: Sun Apr 08, 2007 9:09 pm    Post subject: Reply with quote

I'm not complaining... but if get detection is faulty that is cause for concern... I am not acting all high and mighty and don't think a simple tcl script author needs to attack everyone that are not making negative comments about or even towards him. Yes, there are lots of stupid questions asked, I did not see anything about the erroneous get detection until rosc's post -- who has been very helpful on this forum for quite a while. Anyway, everyone get along please or get off the high horse. :]
Back to top
View user's profile Send private message
scr1pt
Voice


Joined: 30 Mar 2007
Posts: 11

PostPosted: Mon Apr 09, 2007 4:28 pm    Post subject: Reply with quote

i get this error when !tomorrow, !tomorrow us

Tcl error [::tvrage::tomorrow]: can't read "show(country)": no such element in array

any ideas?
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Apr 09, 2007 9:14 pm    Post subject: Reply with quote

That type of error indicates that there's no data in the cache, run the update-cache command (configurable in tvrage.conf, the default is !updatecache)

I'm doing a bit of work on the script and make it fetch a new cache when such errors are encountered. Actually, I just looked and the last copy I posted should at least give a proper error message, instead of a tcl error.
Back to top
View user's profile Send private message
scr1pt
Voice


Joined: 30 Mar 2007
Posts: 11

PostPosted: Tue Apr 10, 2007 2:56 am    Post subject: Reply with quote

k, thanks
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Thu Apr 12, 2007 6:07 am    Post subject: Reply with quote

TV show Announce is fixed:

http://members.dandy.net/~fbn/tvrage.rosc.003.tar.bz2
Back to top
View user's profile Send private message
Taz
Voice


Joined: 23 Oct 2005
Posts: 9

PostPosted: Sun Apr 15, 2007 9:26 pm    Post subject: Reply with quote

Thanx for your additional input and support on this project rosc2112. It is appreciated by many I am sure, even if they dont let you know by way of a simple post!!!!! Very Happy
Back to top
View user's profile Send private message
bast
Voice


Joined: 07 Oct 2006
Posts: 37

PostPosted: Fri Apr 20, 2007 1:33 am    Post subject: Reply with quote

hey.
Cant get this script to work in my chan.
I have fish enabled, and when i try a command it give me back
invalid command name :: tvrage :: help 0

if i remove the key it works flawless.

and i do got blowcrypt installed so it can decrypt, and all of my other scripts works just fine.

so anyone got any idea? Smile
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Apr 20, 2007 3:53 am    Post subject: Reply with quote

What the hell is fish and why would a tv schedule script need blowfish?

Clue: If it works without encryption, don't enable encryption.

The error is because the script uses namespaces and your 'fish' thing doesn't understand namespaces, presumably.
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Fri Apr 20, 2007 9:17 am    Post subject: Reply with quote

they encrypt channel public traffic
so obviously they are trying to get the bot to work with having to translate that
Back to top
View user's profile Send private message
romeo5k
Halfop


Joined: 28 Jul 2006
Posts: 46

PostPosted: Fri Apr 20, 2007 3:30 pm    Post subject: NOT WORKING... Reply with quote


in the scripts folder are all three of the files i dloed. : .theme,.conf and .tcl
In my eggdrop.conf file, all three and listed so eggy loads em.
then i restart eggy, and go to dcc chat with bot, try to load it, and its iving me an error. It also says something about dict. I tried reading what everyone on here put about dict, but its still not ringing in my head. I went to the wiki site, and got completely lost. So i searched on google and got only 3 links, wiki was not one of em. Up above is the error im getting... tell em what to do, please.. thnx

**edit** i have dictcom.0.02d.tcl, i just looked andf noticed it, i dont know what its doing there, dunno if its not supposed to be there. But whatever way, its there... so what to do?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Apr 20, 2007 8:22 pm    Post subject: Reply with quote

Change the order of loading; load dictcom.0.02d.tcl ahead of the tvrage.tcl script.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
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 ... 14, 15, 16 ... 32, 33, 34  Next
Page 15 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