DailyMail: a daily e-mailed status report from your TiVo

Discussion in 'TiVo Series 1 - UK' started by sanderton, Oct 28, 2003.

  1. Pete77

    Pete77 New Member

    7,968
    0
    Aug 1, 2006
    Not Far...
    It usually tends to get resurrected when somebody posts here pointing out its demise.

    However a continued failing of Daily Mail that I sadly doubt will get rectified by anyone at this stage is that it still does not report when SP and Wishlist based recordings cannot take place due to insufficient disk space. It also does not tell you when a one off recording you schedule cannot happen due to insufficient disk space.

    By contrast Tivo itself will tell you when you schedule a new SP or Wishlist or an individual recording if some of them cannot happen due to insufficient disk space.

    It does seem to me this is a vital feature in DailyMail as its absence caused me to fail to record the Bahrain Grand Prix yesterday.:(
     
  2. mikerr

    mikerr TiVoCentral.co.uk

    2,599
    0
    Jun 2, 2005
    Lancashire, UK
    I've put the original big distribution here:
    http:///www.tivocentral.co.uk/hacks/dailymail.zip [dailymail jazz 1.01] [1742KB]

    is version "1.01 / 02 May 2006" latest release? that's attached below:
     

    Attached Files:

  3. atari_addict

    atari_addict New Member

    74
    0
    Mar 28, 2002
    Watford
    That's the version I have, not seen a later one.

    Thanks for doing this, I managed to regain access to the icons after clearing brain-blanking pulses!
     
  4. Pete77

    Pete77 New Member

    7,968
    0
    Aug 1, 2006
    Not Far...
    My dailymailjazz email each day includes the comment:-

    But as discussed the one big current failing of DailyMailJazz v1.01seems to be no report when recordings are not going to happen due to "Insufficient Disk Space":(
     
  5. TCM2007

    TCM2007 New Member

    3,947
    0
    Dec 25, 2006
    You are kidding. Thought you had the best part of a terabyte on board, and were a vociferous campaigner for Suggestions - how can you possibly have run out of space. And all that checking of F1 wishlists you recommend too!

    TiVo will tell you when a NEW SP or WL is created, but it will not warn you if a pre-existing SP or WL triggers the error.

    Assuming that "Will not record due to disk space" appears on the TDL errors list, then Daily mail should be able to pick it up - you'd just need to add the appropriate error code.

    Go on, try it as a project. In the original the key variable was $creason which was an integer which corresponded to the reason a show wasn't to be recorded. If it matched a certain value, it was in included in the e-mail. TiVoOnion my have changed that, I don't know I don't have that source code to hand.

    (PS, Button won)
     
  6. TCM2007

    TCM2007 New Member

    3,947
    0
    Dec 25, 2006
    I see Mike has posted to code above.

    It's still the $creason variable.

    The key line is

    if {$creason == 20} {

    Change that to be 20 or the number which corresponds to disk full and it should work. The code numbers are enumerated in one of the text files on the TiVo, alternatively, use TW to find your Bahrain GP entry and look for the CancelReason.
     
  7. AMc

    AMc Active Member

    2,623
    0
    Mar 22, 2002
    East of England
    Hello, this just reminded me that I'm running a creaky version v0.30
    I updated dailymail_jazz.tcl from Miker's attachment but I get a problem almost immediately.

    Code:
    bash-2.02# dailymail_jazz.tcl
    ------welcome to the jazzed dailymail program - v1.01 (02 May 2006) - starting
    ------the debug level is set at >>2<<
    can't read "yankspeak": no such variable
        while executing
    "if {$yankspeak} { puts "------generated content presented in American English f
    or your reading pleasure!" }"
        (file "/var/hack/dailymail_jazz.tcl" line 69)
    bash-2.02#
    Adding
    Code:
    set yankspeak false
    to dailymail.cfg just results in a different error.
    Code:
    bash-2.02# dailymail_jazz.tcl
    
    
    ------welcome to the jazzed dailymail program - v1.01 (02 May 2006) - starting
    ------the debug level is set at >>2<<
    ------started at 14:39:51 (debugging times specified in gmt)
    
    can't read "programbarwidthpercent": no such variable
        while executing
    "set uniquecontentid "[clock seconds].$mailserver.$dmailHoursahead.$debuglvl$mid
    threshold$highthreshold$programbarwidthpercent$emergencytempcentigrade$..."
        (file "/var/hack/dailymail_jazz.tcl" line 118)
    bash-2.02#
    I suspect I need a more up to date dailymail.cfg file but the one in Miker's linked zip doesn't have the yankspeak variable either?

    Do I need a newer dailymail.cfg or am I missing something more obvious?

    Thanks
     
  8. ColinYounger

    ColinYounger It wasn't me.

    1,381
    0
    Aug 9, 2006
    Southsea,...
    Try this one (rename it to .cfg)!
     

    Attached Files:

  9. AMc

    AMc Active Member

    2,623
    0
    Mar 22, 2002
    East of England
    Just had a brief glance and reminded myself of the fun I had setting up 0.3.
    I'll need to spend some time copying, pasting and updating.

    Many thanks!
     
  10. jeremy Parsons

    jeremy Parsons Very Advanced Member

    168
    0
    Jan 6, 2002
    Surrey
    Can someone post a working dailmail_jazz.tcl and config file that go together
     
  11. ColinYounger

    ColinYounger It wasn't me.

    1,381
    0
    Aug 9, 2006
    Southsea,...
    Here's the dailymail_jazz.tcl. The config file is above.
     

    Attached Files:

  12. itm

    itm New Member

    244
    0
    Aug 12, 2001
    London, UK
    Does anyone know if it's possible to specify multiple recipient email addresses?
     
  13. Trinitron

    Trinitron New Member

    411
    0
    Jan 20, 2003
    North West
    Yes. Read the configuration file! It's option 2.2.3 in my version.
     
  14. AMc

    AMc Active Member

    2,623
    0
    Mar 22, 2002
    East of England
    Having just lost ... everything I figured it was time to put the most up to date dailymail on

    However the files and instructions are all a bit creaky.

    I think I have it all in place then it crashes out and takes Tivo down with it...

    Code:
    ...
    15:12:11-unsetting variable >>secs<<
    15:12:11-unsetting variable >>fsid<<
    15:12:11-unsetting variable >>seltype<<
    15:12:11-unsetting variable >>streamsize<<
    15:12:11-Remaining time calculation
    15:12:11-Remaining time calc >>true<<
    15:12:11-bitrate >>5960000<<
    15:12:11-Building usage diagram
    15:12:11-CALCULATING DISK USAGE & DISPLAY - COMPLETED
    15:12:11-ENDPAD CHECKING - START
    15:12:11-Checking endpad process currency.
    15:12:11-About to acquire pid number from endpad pid file.
    15:12:11-Endpad pid number gathered successfully.
    15:12:11-pid number : >>134<<
    15:12:11-performing ps command with pid
    15:12:11-the command being executed is >>exec /var/hack/bin/ps 134<<.
    15:12:11-ps command successful.
    15:12:11-endpadexecfilename: >>/var/hack/scripts/endpad.tcl<<.
    15:12:11-shellmsg (output from previous command): >>  PID TTY STAT TIME COMMAND
      134  ?  S    0:01 /tvbin/tivosh /var/hack/endpad.tcl -s 1 -e 6 -sugqual 75 -su
    <<.
    15:12:11-about to validate that endpad filename is present in ps command output.
    15:12:11-error - the valid filename is not in the ps command output
    15:12:11-output of command : >>  PID TTY STAT TIME COMMAND
      134  ?  S    0:01 /tvbin/tivosh /var/hack/endpad.tcl -s 1 -e 6 -sugqual 75 -su
    <<
    15:12:11-Trying to ascertain the valid running status of the endpad daemon again
     - attempt 2.
    15:12:11-Waiting for 15 seconds.
    15:12:26-About to acquire pid number from endpad pid file.
    15:12:26-Endpad pid number gathered successfully.
    15:12:26-pid number : >>134<<
    15:12:26-performing ps command with pid
    15:12:26-the command being executed is >>exec /var/hack/bin/ps 134<<.
    15:12:26-ps command successful.
    15:12:26-endpadexecfilename: >>/var/hack/scripts/endpad.tcl<<.
    15:12:26-shellmsg (output from previous command): >>  PID TTY STAT TIME COMMAND
      134  ?  S    0:01 /tvbin/tivosh /var/hack/endpad.tcl -s 1 -e 6 -sugqual 75 -su
    <<.
    15:12:26-about to validate that endpad filename is present in ps command output.
    15:12:26-error - the valid filename is not in the ps command output
    15:12:26-output of command : >>  PID TTY STAT TIME COMMAND
      134  ?  S    0:01 /tvbin/tivosh /var/hack/endpad.tcl -s 1 -e 6 -sugqual 75 -su
    <<
    15:12:26-Trying to ascertain the valid running status of the endpad daemon again
     - attempt 3.
    15:12:26-Waiting for 15 seconds.
    15:12:41-About to acquire pid number from endpad pid file.
    15:12:41-Endpad pid number gathered successfully.
    15:12:41-pid number : >>134<<
    15:12:41-performing ps command with pid
    15:12:41-the command being executed is >>exec /var/hack/bin/ps 134<<.
    15:12:42-ps command successful.
    15:12:42-endpadexecfilename: >>/var/hack/scripts/endpad.tcl<<.
    15:12:42-shellmsg (output from previous command): >>  PID TTY STAT TIME COMMAND
      134  ?  S    0:01 /tvbin/tivosh /var/hack/endpad.tcl -s 1 -e 6 -sugqual 75 -su
    <<.
    15:12:42-about to validate that endpad filename is present in ps command output.
    15:12:42-error - the valid filename is not in the ps command output
    15:12:42-output of command : >>  PID TTY STAT TIME COMMAND
      134  ?  S    0:01 /tvbin/tivosh /var/hack/endpad.tcl -s 1 -e 6 -sugqual 75 -su
    <<
    15:12:42-Trying to ascertain the valid running status of the endpad daemon again
     - attempt 4.
    15:12:42-Waiting for 15 seconds.
    15:12:57-About to acquire pid number from endpad pid file.
    15:12:57-Endpad pid number gathered successfully.
    15:12:57-pid number : >>134<<
    15:12:57-performing ps command with pid
    15:12:57-the command being executed is >>exec /var/hack/bin/ps 134<<.
    15:12:57-ps command successful.
    15:12:57-endpadexecfilename: >>/var/hack/scripts/endpad.tcl<<.
    15:12:57-shellmsg (output from previous command): >>  PID TTY STAT TIME COMMAND
      134  ?  S    0:01 /tvbin/tivosh /var/hack/endpad.tcl -s 1 -e 6 -sugqual 75 -su
    <<.
    15:12:57-about to validate that endpad filename is present in ps command output.
    15:12:57-error - the valid filename is not in the ps command output
    15:12:57-output of command : >>  PID TTY STAT TIME COMMAND
      134  ?  S    0:01 /tvbin/tivosh /var/hack/endpad.tcl -s 1 -e 6 -sugqual 75 -su
    <<
    15:12:57-Trying to ascertain the valid running status of the endpad daemon again
     - attempt 5.
    15:12:57-Waiting for 15 seconds.
    15:13:12-About to acquire pid number from endpad pid file.
    15:13:12-Endpad pid number gathered successfully.
    15:13:12-pid number : >>134<<
    15:13:12-performing ps command with pid
    15:13:12-the command being executed is >>exec /var/hack/bin/ps 134<<.
    15:13:12-ps command successful.
    15:13:12-endpadexecfilename: >>/var/hack/scripts/endpad.tcl<<.
    15:13:12-shellmsg (output from previous command): >>  PID TTY STAT TIME COMMAND
      134  ?  S    0:01 /tvbin/tivosh /var/hack/endpad.tcl -s 1 -e 6 -sugqual 75 -su
    <<.
    15:13:12-about to validate that endpad filename is present in ps command output.
    15:13:12-error - the valid filename is not in the ps command output
    15:13:12-output of command : >>  PID TTY STAT TIME COMMAND
      134  ?  S    0:01 /tvbin/tivosh /var/hack/endpad.tcl -s 1 -e 6 -sugqual 75 -su
    <<
    15:13:12-ENDPAD CHECKING - COMPLETED
    15:13:12-RED DOT CHECKING - START
    15:13:12-RED DOT CHECKING - COMPLETED
    15:13:12-NEW MAIL SECTION - START
    15:13:14-NEW MAIL SECTION - COMPLETED
    15:13:14-MAIN EMAIL BODY - START
    15:13:14-generating output section >>1<<
    15:13:14-generating status list
    Dumping mempool to /tmp/BlockFailure.179
    Tmk Assertion Failure:
        BlockFailure, line 1771 ()
    Tmk Fatal Error: Thread tivosh <179> died due to signal -2
    1a344ec 1a32a44 1a2ed70 1b95e0c 1c4d5e8 1c74ad4 1c6cda0 1c73f24 1c71874 1c6d0a4
    1c73f24 1c71874 1c6d0a4 1c73f24 1c71874 1c6d0a4 1c73f24 1c71188 1c6d0a4 1c73f24
    1c734b0 1c6d0a4 1c73f24 1c71874 1c6d0a4 1c6c15c 1c8e16c 1c77e7c 1c61a10 1c8e4e0
    1c77e7c 1c61a10 1c63e3c 1c77e7c 1c61a10 1c849c0 1c85ec8 1c4d248 1c28cac 1800134
    Any help welcome!
     
  15. AMc

    AMc Active Member

    2,623
    0
    Mar 22, 2002
    East of England
    Apparently "Thread tivosh <179> died due to signal -2
    " indicates an out of memory problem but I used to run 0.3 without issue day in day out, month in month out.
    Have I made a hash of installing Dailymail or something its depending on?
    Anyone know why this is happening?
     
  16. pgamble

    pgamble New Member

    10
    0
    Nov 4, 2002
    Hampshire
    Hi guys

    Need to cancel my monthly subscription to Tivo.

    Any idea who to call ?

    The UK website is obviously just redirected to the US one.
    They provide a number - 08442 410 703 ... which does answer .... but only to a continuous on hold message.

    Paul.
     
  17. jwciv

    jwciv New Member

    3
    0
    May 10, 2004
    New England
    looking at your earlier post of the log, it appears that endpad may be the culprit - - maybe double check that install
     
  18. AMc

    AMc Active Member

    2,623
    0
    Mar 22, 2002
    East of England
    I saw that too. I'm not sure why Dailymail can't find it with ps
    If I type "ps -x" on telnet endpad is running and running OK for several days
    Code:
    133  ?  S    0:10 /tvbin/tivosh /var/hack/endpad.tcl -s 1 -e 6 -sugqual 75 -su
    I suspect dailymail either expects a different version of endpad or expects different options?

    Even setting the endpad values to false so (hopefully) DM isn't checking for it still results in a crash/reboot of Tivo.

    I'm still not sure I've installed all the bits DM needs to run effectively - does anyone have a list or can point me at the relevant text in the massive config file?

    Here's the memory info from Tivoweb in case it helps with the crash diagnosis...
    Code:
    Memory Information
    
    Memory Statistics:
            total:    used:    free:  shared: buffers:  cached:
    Mem:  14151680 14008320   143360 152600576    49152  4079616
    Swap: 524279808  3665920 520613888
    MemTotal:     13820 kB
    MemFree:        140 kB
    MemShared:   149024 kB
    Buffers:         48 kB
    Cached:        3984 kB
    SwapTotal:   511992 kB
    SwapFree:    508412 kB
     
  19. AMc

    AMc Active Member

    2,623
    0
    Mar 22, 2002
    East of England
    Oh, just clicked on the Dailymail entry in TivoWeb (which my old install didn't have) and got
    Code:
    INTERNAL SERVER ERROR
    --cut here--
    action_viewdailymail '/' ''
    couldn't stat "/var/hack/dailymail_jazz.html": no such file or directory
        while executing
    "file size "$htmlfilename""
        (procedure "::action_viewdailymail" line 5)
        invoked from within
    "::action_$action $chan $part $env"
        ("eval" body line 1)
        invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--
    
    Looks like there is at least one file missing :)
     
  20. TCM2007

    TCM2007 New Member

    3,947
    0
    Dec 25, 2006
    I don't think Endpad's the isue; the log suggstes it's got past that stage.

    Looks like memory.

    There;s a a way of allocating more memory to a TCL interpreter when you launch it to avoid this, but I can't remember it. Anyone?
     

Share This Page