I hate to ask again but i am. I have this problem when i rehash the bot I get this problem. Why? Bot starts fine just on rehash kills the bot. Any help would be great.
[19:31] <INFO> [19:30] Tcl error in file 'eggdrop.conf':
[19:31] <INFO> [19:30] can't read "tvrage(enableTVLog)": no such variable
[19:31] <INFO> while executing
[19:31] <INFO> "if { $tvrage(enableTVLog) } {
[19:31] <INFO> if { [file exists "$tvrage(tvlog)"] } {
[19:31] <INFO> set tvrage(tvlogSize) [file size $tvrage(tvlog)]
[19:31] <INFO> set tvrage(tvlogTimer) ..."
[19:31] <INFO> (procedure "init" line 10)
[19:31] <INFO> invoked from within
[19:31] <INFO> "init"
[19:31] <INFO> (in namespace eval "::tvrage" script line 985)
[19:31] <INFO> invoked from within
[19:31] <INFO> "namespace eval tvrage {
[19:31] <INFO> if [info exists tvrage] {
[19:31] <INFO> unset tvrage
[19:31] <INFO> }
[19:31] <INFO> set tvrage(version) "v2.0b5"
[19:31] <INFO> set tvrage(versionLine) "TV
[19:31] <INFO> [19:30] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
It is possible this is some kind of network congestion issue, but beginning yesterday, the first !showinfo returns with the {%%show_name%%} Latest Episode :: N/A Next Episode: N/A <~> but if you request the !showinfo immediately after getting the blank info, it works fine. I have moved the http timeout from 20 sec to 60 sec, all that does is takes 20 to 60 seconds on that first request for !showinfo before returning the blank info. Changeing the URL just returns blank info immediately every time requested. Anyone have any ideas on this?
looks like everything is working again for me but the one trigger!!!
<NorthSide> !primetime
<BoT> New TV Shows for Thursday, 20 May 2010 ***All Times in EST/EDT***
then it just stops there and doesnt list any channels! maybe someone could help out with this. its no biggie thou atleast the rest of the triggers works!
NorthSide wrote:!updatecache US and it doesnt do anything so i try !updatecache and same deal! i keep getting
Title :: {%%show_name%%} <> URL :: {%%show_url%%} <> Premiered :: {%%premiered%%} <> Latest Episode :: N/A <> Next Episode :: N/A <> Country :: {%%country%%} <> Status :: {%%status%%}
i also updated the links and that didnt help but the !today !yesterday !tomorrow work great!
looks like !primetime isnt work now also!!!
A lot of these errors are being caused by the tvrage API being incredibly slow and the query timing out, often my queries are taking ~75 seconds to be returned, both within a web browser and through tcl.
I found a way so showinfo responds quickly with info, and since i made this change, have yet to see an instance that returns the {%%show_name%%} etc etc.
The problem stems from services.tvrage.com resolving to two IP addresses, evidently one of them is slow or doesnt even work.
what i did was enter the following into my hosts file:
Of course this will break when or if tvrage changes either the URL or IP, so one must remember what you did in the hosts file when things start not working again.