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 ... 29, 30, 31, 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
McGuyver
Voice


Joined: 31 Aug 2011
Posts: 14

PostPosted: Wed Aug 31, 2011 1:31 pm    Post subject: Reply with quote

with the latest git i am getting the following every minute

Code:
Tcl error [::tvrage::announceShows]: invalid command name "countries"
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Wed Aug 31, 2011 1:46 pm    Post subject: Reply with quote

What do you get if you do an !updatecache or a rehash?
Back to top
View user's profile Send private message
McGuyver
Voice


Joined: 31 Aug 2011
Posts: 14

PostPosted: Wed Aug 31, 2011 4:00 pm    Post subject: Reply with quote

looks like !updatecache is the only way to fix it after a .restart

Last edited by McGuyver on Wed Aug 31, 2011 4:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Wed Aug 31, 2011 4:02 pm    Post subject: Reply with quote

Care to try that sentence again in English?
Back to top
View user's profile Send private message
McGuyver
Voice


Joined: 31 Aug 2011
Posts: 14

PostPosted: Wed Aug 31, 2011 7:28 pm    Post subject: Reply with quote

I figured out why I was having problems. I had changed the
Code:
init
to
Code:
after 1 init
because the bot kept crashing whenever I did a .rehash or .restart. After some testing I found out that it was not running the init proc. I have now changed the
Code:
init
to
Code:
after 1 [namespace current]::init
and it appears to have fixed my problems. I hope that is easy to understand.
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Wed Aug 31, 2011 7:32 pm    Post subject: Reply with quote

What was the crash message? The init should not need to change.
Back to top
View user's profile Send private message
McGuyver
Voice


Joined: 31 Aug 2011
Posts: 14

PostPosted: Wed Aug 31, 2011 7:37 pm    Post subject: Reply with quote

Code:
[13:07:30] #McGuyver# rehash
[13:07:30] Writing user file...
[13:07:30] Writing channel file...
[13:07:30] Rehashing ...
[13:07:30] Writing channel file...
[13:07:30] Listening at telnet port 1910 (all).
[13:07:30] Loading TVRage.com Primetime Schedule Script v2.0b6-dev
[13:07:30] tvrage.tcl info: Loaded tvrage.conf successfully.
[13:07:30] tvrage.tcl info: Loaded themes/default.theme successfully.
[13:07:31] Writing channel file...
[13:07:31] Listening at telnet port 1910 (all).
[13:07:31] Tcl error in file 'eggdrop.conf':
[13:07:31] can't read "owner": no such variable
    while executing
"set notify-newusers "$owner""
    (file "eggdrop.conf" line 363)
[13:07:31] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Wed Aug 31, 2011 7:47 pm    Post subject: Reply with quote

That's not an error from the tvrage script.

I assume after you're loading this script before that line in your eggdrop conf and that's causing some issue. That's just a guess, though.
Back to top
View user's profile Send private message
McGuyver
Voice


Joined: 31 Aug 2011
Posts: 14

PostPosted: Wed Aug 31, 2011 8:08 pm    Post subject: Reply with quote

Code:
grep -n notify-newusers eggdrop.conf && grep -n tvrage eggdrop.conf
363:set notify-newusers "$owner"
1357:source scripts/tvrage/tvrage.tcl


I think the updateCache proc might be the culprit spot because if I comment out "updateCache 1 2 3 4 5" I don't have any problems restarting or rehashing the bot.
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Wed Aug 31, 2011 8:27 pm    Post subject: Reply with quote

Make sure you have the latest from the git repository. If you do and you're still having problems hop on the forum irc channel and send me a message so we can debug it further.
Back to top
View user's profile Send private message
McGuyver
Voice


Joined: 31 Aug 2011
Posts: 14

PostPosted: Thu Sep 01, 2011 9:34 pm    Post subject: Reply with quote

Just thought that I should mention that I am using eggdrop-1.6.20 with tcl-8.5.10 and tcllib-1.11.1
Back to top
View user's profile Send private message
McGuyver
Voice


Joined: 31 Aug 2011
Posts: 14

PostPosted: Fri Sep 02, 2011 1:27 am    Post subject: Reply with quote

I just tested the script with eggdrop v1.6.19+ctcpfix and restarting and rehashing do not crash the bot.
Back to top
View user's profile Send private message
McGuyver
Voice


Joined: 31 Aug 2011
Posts: 14

PostPosted: Fri Sep 02, 2011 9:08 pm    Post subject: Reply with quote

Is there a way to get the year a show ended just by using a theme file or will the script have to be modified?
An example of what I want.
Code:
Smallville (2001-2011)
Back to top
View user's profile Send private message
kenh83
Halfop


Joined: 08 Sep 2010
Posts: 61

PostPosted: Fri Sep 02, 2011 10:04 pm    Post subject: Reply with quote

GaveUp,

Just got the latest GIT of the script and now I'm getting this all the time:

!showinfo Dexter
[09:59:25pm] <tvrage> {%%show_name%%} ({%%country%%} > {%%network%%} > {%%premiered%%} > {%%show_url%%})
[09:59:25pm] <tvrage> class > {%%classification%%}
[09:59:25pm] <tvrage> genre > {%%genres%%}
[09:59:25pm] <tvrage> status > {%%status%%}
[09:59:25pm] <tvrage> last > not available
[09:59:26pm] <tvrage> next > not available
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Fri Sep 02, 2011 11:13 pm    Post subject: Reply with quote

McGuyver wrote:
Is there a way to get the year a show ended just by using a theme file or will the script have to be modified?
An example of what I want.
Code:
Smallville (2001-2011)


If you grab the latest version there is are "endedyear", "endedday" and "endedmonth" settings that can be used for this purpose.
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 ... 29, 30, 31, 32, 33, 34  Next
Page 30 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