Suggs: hack to create suggestions

Discussion in 'TiVo Series 1 - UK' started by mikerr, Sep 11, 2008.

  1. Oct 9, 2008 #101 of 259
    FluffyLob

    FluffyLob New Member

    10
    0
    Apr 25, 2003
    Bracknell,...

    Advertisements

    Is it just me or does v0.9 fail with:

    Code:
    bash-2.02 hack # couldn't open "/var/hack/suggs.channels": no such file or directory
        while executing
    "open $suggsfile r"
        (file "./suggs.tcl" line 280)
    
    if there's no suggs.channels present?

    Loving it, other than this :)
     
  2. Oct 9, 2008 #102 of 259
    Crispin

    Crispin Member

    107
    0
    Jan 26, 2003
    Cambridge
    This happened for me as well - either:

    • Create an empty suggs.channels file - although this will probably not record anything for up to a day
    • Open suggs.tcl and change the line "set channelage 0" to "set channelage 1" at about line 273 in the file
     
  3. Oct 9, 2008 #103 of 259
    mikerr

    mikerr TiVoCentral.co.uk

    2,599
    0
    Jun 2, 2005
    Lancashire, UK
    Heh, yes thats the exact fix I made...
    I uploaded v0.91 with that fix included just 3 minutes before your post (probably as you were typing it) :p
     
  4. Oct 9, 2008 #104 of 259
    FluffyLob

    FluffyLob New Member

    10
    0
    Apr 25, 2003
    Bracknell,...
    Ha! Patience was never my strongest point :)
     
  5. Oct 9, 2008 #105 of 259
    Tim L

    Tim L New Member

    151
    0
    Jan 5, 2002
    London, UK

    Advertisements

    Anyone have any idea why the process keeps dying on mine?
     
  6. Oct 9, 2008 #106 of 259
    Pugwash

    Pugwash New Member

    346
    0
    May 23, 2003
    Spalding'ish
    Can't wait for v0.99z :)
     
  7. simbeav

    simbeav New Member

    57
    0
    Mar 14, 2005
    v0.91 hasn't produced any suggestions for me :(

    It started off badly by really slowing down the UI again at the beginning, but that got better, and hasn't set up any suggestions on Threshold 1 and the log hasn't been touched since 00:37 last night (it's 08:25 now).

    I can't get PS to work in Shell command on Tivoweb, so can't see if it is still running.
     
  8. -MC-

    -MC- New Member

    113
    0
    Dec 9, 2005
    London
    last log showing here is - Friday 00:03:55: Processing schedule

    and scheduled suggestions is empty :eek:
     
  9. AMc

    AMc Active Member

    2,623
    0
    Mar 22, 2002
    East of England
    I've been getting no suggestions with threshold 1 using 0.8.
    I have been getting stuttering every 30 mins and ps x shows it's running.
    Trying 0.91 with theshold 128 now.
     
  10. Rob Randall

    Rob Randall New Member

    103
    0
    Nov 28, 2002
    Coventry, UK
    Ran 0.9 last night and got some suggestions scheduled. Checked this morning and no new suggestions since last night. The log just stops and the process doesn't seem to be running any more. The last part of the log is
    Code:
    Thursday 17:44:01: Checking for free space
    Thursday 17:44:02: Scanning todo list
    Thursday 17:44:17: Scanning history list
    Thursday 17:44:17: reading history list from disk
    Thursday 17:44:17: Processing schedule
    Thursday 18:16:33: Checking for free space
    Thursday 18:16:34: Scanning todo list
    Thursday 18:16:49: Scanning history list
    Thursday 18:16:49: reading history list from disk
    Thursday 18:16:49: Processing schedule
    Thursday 18:49:04: Checking for free space
    Thursday 18:49:05: Scanning todo list
    Thursday 18:49:20: Scanning history list
    Thursday 18:49:20: reading history list from disk
    Thursday 18:49:20: Processing schedule
    Thursday 19:21:37: Checking for free space
    Thursday 19:21:37: Scanning todo list
    Thursday 19:21:52: Scanning history list
    Thursday 19:21:52: reading history list from disk
    Thursday 19:21:52: Processing schedule
    Thursday 19:54:08: Checking for free space
    Thursday 19:54:08: Scanning todo list
     
  11. Rob Randall

    Rob Randall New Member

    103
    0
    Nov 28, 2002
    Coventry, UK
    Ran 0.91 this morning and it only ran once. I used the startup command ./suggs.tcl -threshold 1

    Here's the whole log
    Code:
    Friday 10:36:33: reading channel list from disk (cached)
    Friday 10:36:33: Checking for free space
    Friday 10:36:34: Scanning todo list
    Friday 10:36:49: Scanning history list
    Friday 10:36:49: reading history list from disk
    Friday 10:36:49: Processing schedule
    I had left the telnet session open and this was in it. Maybe it helps you identify why suggs stopped running.
    Code:
    Bash /var/hack #
    Bash /var/hack #no such object: {CONFLICT err=errTmActiveLockConflict}
        while executing
    "dbobj $seriesid get TmsId"
        ("foreach" body line 13)
        invoked from within
    "foreach showing $showings {
    
                    after 50
                    set recordThis 0
                    set fsid [dbobj $showing fsid]
                    set starttime [dbobj $showing get Time]
    
     ..."
        ("uplevel" body line 10)
        invoked from within
    "uplevel $body"
        invoked from within
    "transaction {uplevel $body}"
        (procedure "RetryTransaction" line 6)
        invoked from within
    "RetryTransaction {
    
            set schedlist [get_fsidbyprefix "/Schedule" "$stationfsid:$date:"]
    
            if { [ catch { set stationday [db $db openid [lindex ..."
        ("foreach" body line 9)
        invoked from within
    "foreach thischannel $channelsReceived {
    
            set stationfsid [lindex $thischannel 0 ]
            set callsign [lindex $thischannel 1]
    
            if {$debug} { # putlog $cal..."
        (file "./suggs.tcl" line 358)
    
    Another thing I have noticed is that suggs ignores any hard-padding that is on a Season Pass and schedules recordings over the hard-padding area. e.g. I have 2 minutes hard padding on the start of Coronation Street to appease SWMBO and prevent a show on before it using up the 2 minutes soft padding that Endpad would add to the start and therefore losing some of the programme. Today suggs has scheduled The One Show on BBC1 between 7pm and 7.30pm which is bound to affect the Coronation Street SP in some way as it should start at 7.28pm with the hard-padding. Not sure I want to risk finding out what will happen in this scenario, so I shall delete the suggestion.

    The same thing is likely to happen over the weekend with my F1 Racing SP as I always add 90 minutes hard-padding to cope with incidents and overruns.

    Sorry if this post sounds somewhat negative, I hope you see the above as observations more than criticism. I think suggs is great and is evolving nicely :)
     
  12. wonderboy

    wonderboy New Member

    140
    0
    May 27, 2003
    Angus,...
    I don't seem to have had any suggestions recorded since either 0.9 or 0.91 - Last were on Thursday or Friday. (threshold =1)
     
  13. Rob Randall

    Rob Randall New Member

    103
    0
    Nov 28, 2002
    Coventry, UK
    Is it still running? It keeps shutting down for me.
     
  14. -MC-

    -MC- New Member

    113
    0
    Dec 9, 2005
    London

    Me too - It wont last a full day - Mikerr where are you ! :eek:
     
  15. Tim L

    Tim L New Member

    151
    0
    Jan 5, 2002
    London, UK
    Ah, glad it isn't just me then. Someone fire up the Mikerr signal! :D
     
  16. mikerr

    mikerr TiVoCentral.co.uk

    2,599
    0
    Jun 2, 2005
    Lancashire, UK
    CONFLICT err=errTmActiveLockConflict

    ...is normally just a "too busy" message, but it seems to be triggered by the EnableTransactionHoldoff line ( speeds it up...)

    So a minor update, mainly removing that line.
     
  17. -MC-

    -MC- New Member

    113
    0
    Dec 9, 2005
    London
    Its been running since last nights update (.92) but Im getting this :

    (Last bit of log shown)


    Monday 05:32:17: Waiting for 30 mins
    Monday 06:02:17: Checking for free space
    Monday 06:02:18: Scanning todo list
    Monday 06:02:33: Scanning history list
    Monday 06:02:33: reading history list from disk
    Monday 06:02:33: Processing schedule
    {CONFLICT err=0x00030019}
    {CONFLICT err=0x00030019}
    Monday 06:04:49: Waiting for 30 mins
    Monday 06:34:49: Checking for free space
    Monday 06:34:49: Scanning todo list
    Monday 06:35:08: Scanning history list
    Monday 06:35:08: reading history list from disk
    Monday 06:35:08: Processing schedule
    {CONFLICT err=0x00030019}
    {CONFLICT err=0x00030019}
    Monday 06:37:22: Waiting for 30 mins
    Monday 07:07:22: Checking for free space
    Monday 07:07:22: Scanning todo list
    Monday 07:07:42: Scanning history list
    Monday 07:07:42: reading history list from disk
    Monday 07:07:42: Processing schedule
    {CONFLICT err=0x00030019}
    Monday 07:09:51: Waiting for 30 mins
    Monday 07:39:51: Checking for free space
    Monday 07:39:51: Scanning todo list
    Monday 07:40:23: Scanning history list
    Monday 07:40:23: reading history list from disk
    Monday 07:40:23: Processing schedule
    {CONFLICT err=0x00030019}
    Monday 07:42:43: Waiting for 30 mins
     
  18. mikerr

    mikerr TiVoCentral.co.uk

    2,599
    0
    Jun 2, 2005
    Lancashire, UK
    (0x00030019)Thats a known "bug" in tivo's RetryTransaction.
    You can only do about 50 database accesses inside a RetryTransaction, and some channels have too many programmes in the day.
    It's not affecting the working on suggs too much -
    E.g. it will not be seeing the last 2 programmes before midnight on bbc1, so will never schedule them as suggestions...
     
  19. wonderboy

    wonderboy New Member

    140
    0
    May 27, 2003
    Angus,...
    Hi Mikerr,

    not sure if this will help, but using TivoWeb, in scheduled suggestions I see when suugs runs, it puts, say three entries there. But if I look an hour later, I see three completely different scheduled suggestions, so it looks to me like it's overwriting it's own scheduled suggestions before they can even be recorded, rather than adding to them.

    This didn't happen prior to 0.8 I'm fairly sure.

    cheers:up:

    EDIT
    hmmm, looking a little later I'm only seeing two of the previous three. Scratch that idea,
     
  20. -MC-

    -MC- New Member

    113
    0
    Dec 9, 2005
    London


    Do you have endpad running ? , I seem to get quite a few logs like this -

    Monday 18:55:00 : Deleting suggestion {BBC News; Regional News; Weather} on BBC1 to make room for 60 seconds startpad of {The Gadget Show} on FIVE

    which explains where some of my suggestions disapear to :confused:
     

Share This Page

spam firewall

Advertisements