1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Guide Data checker module for TiVoweb

Discussion in 'TiVo Series 1 - UK' started by mrtickle, Jul 21, 2005.

  1. mrtickle

    mrtickle New Member

    2,824
    0
    Aug 26, 2001
    Birmingham, UK
    Please see the original thread is here first.

    I've done a quick update today to check SPs a bit more thoroughly to catch "orphaned" episodes and new rogue SPs that Tribune keep creating :rolleyes: :) . You can now also see the TmsID of every SP linked to, as well as the number of upcoming episode of each series. There is some fuzzy logic to warn of possible childless / kidnapped SPs.

    Beware of unavoidable false positives - in my own SP list these are flagged as warnings but are actually different, as they are different series:
    Just a Minute - long-running radio series + Discovery Kids TV series
    The Armando Iannucci Shows - C4 TV series + different radio series
    The Apprentice - BBC2 UK series + BBC2 USA series (Tribune used to get around this by appending USA, eg "The Weakest Link USA" to differentiate)
    Absolute Power - radio series + TV series
    Arena - BBC2/4 TV series + a movie
    The Late Edition BBC2/4 Marcus Brigstoke series + Late Edition CNN series

    Hope this helps someone record a programme they would otherwise have missed :)

    The AltEPG release, 1.60b, is here:
    http://www.tivoland.com/forum/viewtopic.php?f=17&t=949

    [Edit: v1.05j and screenshot added 25th Aug 2010]
    [Edit: v1.05j removed, link to 1.06b added 13th Aug 2011]
     

    Attached Files:

  2. Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    Excellent stuff mrtickle, thanks. It caught a few changes in TmsIDs; I thought I was missing a few recordings! I can't believe that Extras on BBC2 is already showing up with a new TmsID; it's only just started showing!

    Thanks again. This will be very useful :)
     
  3. mrtickle

    mrtickle New Member

    2,824
    0
    Aug 26, 2001
    Birmingham, UK
    Cool, not a prob! Glad it's not just me that gets split season passes - now all we need to do is get them fixed :rolleyes:
     
  4. Aug 6, 2005 #4 of 61
    Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    I keep getting this:

    INTERNAL SERVER ERROR
    --cut here--
    action_gdchecker '/orphansps' ''
    can't read "anyresultsdisplayed": no such variable
    while executing
    "if {$anyresultsdisplayed == 1 && $founddesiredtmsid == 0 && $desiredtmsid != ""} {
    append warnings [tr "" [td "COLSPAN=2" "Warning - This SP'..."
    (procedure "action_spsearch" line 150)
    invoked from within
    "action_spsearch $title $tmsid"
    (procedure "action_orphansps" line 142)
    invoked from within
    "action_orphansps $chan "" $env"
    (procedure "::action_gdchecker" line 20)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--

    I've tried completely stopping and re-starting Tivoweb but still the same. Any ideas mrtickle?
     
  5. Aug 6, 2005 #5 of 61
    mrtickle

    mrtickle New Member

    2,824
    0
    Aug 26, 2001
    Birmingham, UK
    Hmm. I sometimes get the "no such variable" error with various different modules seemingly at random. I suspect my own disc.

    In this case, anyresultsdisplayed should be defined at the top of proc action_spsearch. It is in my copy :). Try deleting the gdchecker.itcl file from the tivo, ftping a new copy of that file from your PC and then reboot the TiVo for luck.
     
  6. Aug 6, 2005 #6 of 61
    Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    Ta. Just tried that but still exactly the same error??
     
  7. Aug 6, 2005 #7 of 61
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    No it's not - you've declared it as a global, but that does not initialise it; only assigning it a value does that.
     
  8. Aug 6, 2005 #8 of 61
    Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    Ok, I just tried a bit of self-help. First I tried setting it to 0 (just after it's declared) but got some very strange results. So, I tried setting it to 1 and now all seems ok. Have I fixed it or did I just get lucky for my current scenario?!
     
  9. Aug 7, 2005 #9 of 61
    spid3r

    spid3r New Member

    102
    0
    Dec 13, 2002
    I run Tivoweb Plus (which I thought is 1.9.4 with the extra ahem abilities), I get this error after it has shown me the output of several SPs below the error. It seems to have messed up after SP no 6 Bad Girls (SH867352) ITV1LON No matches found in the current Guide Data.

    INTERNAL SERVER ERROR
    --cut here--
    action_gdchecker '/orphansps' ''
    can't open object (errDbNotFound)

    while executing
    "db $db openid $fsid"
    ("uplevel" body line 2)
    invoked from within
    "uplevel $body"
    invoked from within
    "transaction {uplevel $body}"
    (procedure "RetryTransaction" line 5)
    invoked from within
    "RetryTransaction {
    set series [db $db openid $fsid]
    set seriesfsid 0
    if { $series != "" } {
    set seriesfsid [dbobj $series fsid]
    set t..."
    (procedure "action_spsearch" line 83)
    invoked from within
    "action_spsearch $title $tmsid"
    (procedure "action_orphansps" line 142)
    invoked from within
    "action_orphansps $chan "" $env"
    (procedure "::action_gdchecker" line 20)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--
     
  10. iankb

    iankb New Member

    6,468
    0
    Oct 9, 2000
    Reading, UK
    You often get the errDbNotFound error when the MFS filesystem has allocation errors. Try running mfscheck at the bash prompt.
     
  11. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Sometimes TiVo TCL just seems to lose its connection to the database. It's erratic and umpredictable.
     
  12. iankb

    iankb New Member

    6,468
    0
    Oct 9, 2000
    Reading, UK
    If it's unpredictable, then it's probably a resource problem (e.g. too many concurrent database handles, resource leaking, etc), and a reboot may well clear it. If it's repeatable, then I suspect a logical or physical database problem. Mfscheck should find physical problems, but not necessarily logical problems.
     
  13. spid3r

    spid3r New Member

    102
    0
    Dec 13, 2002
    Hmm. I restarted when I first installed it and got the problem last night. It didn't help. I've just run mfscheck and got:

    [/var/tmp] %mfscheck
    EventSwitcher stopped
    mfscheck scan begins
    Checking reference counts
    All reference counts are OK.
    mfscheck scan ends
    mfscheck: 0 fatal errors, 0 severe errors, 0 warnings.

    You must manually restart the EventSwitcher
    [/var/tmp] %

    I've restarted again and I still get the error. Does it definitely work with Tivoweb+ for you people?
     
  14. mrtickle

    mrtickle New Member

    2,824
    0
    Aug 26, 2001
    Birmingham, UK
    Thanks - will fix.
     
  15. mrtickle

    mrtickle New Member

    2,824
    0
    Aug 26, 2001
    Birmingham, UK
    Indeed, but it can also be the TiVo being busy. TiVoweb runs at a lower priority so that the TiVo UI can carry on, and calls a "RetryTransaction" routine so that hopefully eventually it'll get what it needs from the database if the TiVo isn't too busy. Sometimes if the TiVo is too busy, RetryTransaction runs out of attempts and returns an error - in these case you have to reload the page in TiVoweb to make it try again. It usually works the 2nd time. There are also notes about 'Lock Conflict' or 'Background Holdoff' in the TiVoweb readme file.

    Anyway in this case the problem was a schoolboy error of mine, thanks to Sanderton for spotting it.

    I've attached v1.04 to the first post in this thread. (Fingers crossed!)
     
  16. iankb

    iankb New Member

    6,468
    0
    Oct 9, 2000
    Reading, UK
    But then I find processor time is a very useful resource. :p
     
  17. Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    Ooops (from Tivoweb console):

    Code:
    gdchecker
    NONE missing close-brace
        while compiling
    "proc action_orphansps {chan path env} { ..."
        (file "/var/hack/tivoweb-tcl/modules/gdchecker.itcl" line 533)
        invoked from within
    "source $module "
     
  18. mrtickle

    mrtickle New Member

    2,824
    0
    Aug 26, 2001
    Birmingham, UK
    That's another of the random errors I get (with UI on my installation). When I re-ftp the file to the tivo and restart it works. Could you try that please? If that doesn't work, I don't know what else to suggest - assuming the zip file I uploaded wasn't corrupted which I'll check now.
     
  19. Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    Already tried mrtickle. Will double check...
     
  20. mrtickle

    mrtickle New Member

    2,824
    0
    Aug 26, 2001
    Birmingham, UK
    ok. I've checked, and the file in the zip was correct.

    The errors I mentioned before on my TiVo are like this:
    This example is angra's backup module (http://www.boygenius.co.uk/tivo/index.html). I know it's ok and nothing has changed, but the error doesn't go away until I re-upload the file. Then later if I re-upload a new version of something (ui2 in today's case) the backup module decides it's corrupted again. I'm not sure what is going on here, maybe I have too many modules or not enough memory allocated to tivoweb, or what! :confused:
     

Share This Page