View Full Version : DailyMail: a daily e-mailed status report from your TiVo
Pages :
1
2
3
4
[
5]
6
7
8
9
10
11
Can you show us your crontab file? Sounds like you have perhaps 1 too many fields, and it is taking one of the day fields as a command.
-- gyre --
Fred1
05-23-2004, 07:10 PM
Ahhh - I have searched (with no luck) for an explanation of these fields
here is the file I have
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# for TiVo: This file doesn't use a user field like system-wide crontabs
# normally do. Everything runs at uid 0 (not that it matters for TiVo).
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/var/hack/bin
# The following environment variables are needed for many tcl scripts to
# run. Thanks to AlphaWolf for troubleshooting this.
MFS_DEVICE=/dev/hda10
TIVO_ROOT=""
# Actual crontab entries below. This sample should append a date to
# a file every ten minutes.
# m h dom mon dow command
*/10 * * * * 0-6 /tvbin/tivosh /var/hack/dailymail_jazz/dailymail_jazz.tcl > /var/log/dailymail 2>&1
50 17 * * 0-6 /tvbin/tivosh /var/hack/dailymail_jazz/dailymail_jazz.tcl > /var/log/dailymail 2>&1
I've just taken a * out of the last line but one, which has 6 fields to the next line's 1!!
If you're right I should start getting emails any minute
Fred1
05-23-2004, 07:14 PM
Well done Gyre!!
It worked!! now to change it back to some sensible times and go to bed
what should it be for 8 am and pm?
My reckoning is 0 8 for 8am and 0 17 for 5pm????
Yup... 0 8 and 0 17.
-- gyre --
Fred1
05-23-2004, 07:24 PM
Cool. looks like I learned something too!!
Many thanks to Gyre for the support and all the coders (onion and Sanderton especially) for the hack.
If anyone has a breakdown of how crontab reads those fields that would be very usefull
smokie
05-24-2004, 02:58 AM
Don't forget that your TiVo runs on GMT so your 0 8 mail will actually happen at 0 9 BST.
sanderton
05-24-2004, 06:34 AM
The "0-6" is being interpreted as part of the command line to execute - I guess you have one too many parameters in the crontab line.
popabawa
06-02-2004, 04:18 PM
Yessssss!
Got Daily Mail working after only about an hour of effort - I'm well chuffed, I had the rest of the week penciled out ;)
What a neat hack - BIG thanks to everyone who's worked on this and posted useful info. on this thread (kept me amused at work this afternoon reading the whole thing!) :)
Now to see if I can figure out this CRON lark to send me the email every day automatically... :confused: Any pointers on where to start with CRON?
Iain.
Fred1
06-02-2004, 05:29 PM
Well mixed news here.
it was working fine until I installed endpad as well, then it started rebooting TiVo, though not straight away.
I added the mempool script and it works from a bash prompt now, but nothing from cron???
it seems that cron doesnt like the export command in the script (which is renamed as the original .tcl file and the .tcl is renamed "dmail", which is called in the script. The dailymail log is here:-
*********************
invalid command name "export"
while executing
"export TIVOSH_POOLSIZE=3244032"
(file "/var/hack/dailymail_jazz/dailymail_jazz.tcl" line 2)
*************************
Oh! and its not working from Tivoweb either! I presume this is because the tivoweb interface passes parameters to the tcl script, but the bash script can't handle them. I have no idea how to get around this execpt for maybe editing the tcl script to add the mempool expansion???
any ideas?
sanderton
06-02-2004, 06:26 PM
What's the first line of that file? export is a bash command, not a TCL one.
Fozzie
06-02-2004, 06:28 PM
I had the same problem as you. My crontab entry used to read:
50 17 * * 0-6 /tvbin/tivosh /var/hack/dailymail_jazz.tcl > /var/log/dailymail_cron 2>&1
I changed this to:
50 17 * * 0-6 /var/hack/dailymail_jazz_poolsize.tcl > /var/log/dailymail_cron 2>&1
i.e. ditched the /tvbin/tivosh and all was ok. dailymail_jazz_poolsize.tcl contains:
#!/bin/sh
export TIVOSH_POOLSIZE=3244032
/var/hack/dailymail_jazz.tcl > /var/log/dailymail_poolsize 2>&1
HTH.
Fred1
06-03-2004, 01:39 PM
The bash script is a cut and paste of one earlier in this thread.
I'm still at work so can't tellnet in, but it definatley has the #!/bin/sh in it as I remember staring hard at the screen to see if there was a space in it anywhere (there wasnt - right?)
sanderton
06-03-2004, 01:43 PM
Originally posted by Fred1
here is the file I have
*/10 * * * * 0-6 /tvbin/tivosh /var/hack/dailymail_jazz/dailymail_jazz.tcl > /var/log/dailymail 2>&1
You are trying to run a bash script with tivosh.
Fred1
06-03-2004, 01:58 PM
Stuart
Thanks very much, that's why I am so keen to learn these commands rather than just copy them.
So as Fozzie says, if I remove the "/tvbin/tivosh" from the crontab file, this should work.
I'll try it when I get home. thanks again!
stark
06-07-2004, 11:32 PM
If anyone is interested, here are the dailymail image files converted to PNG format. Tivoweb won't display JPEG or GIF images, but it can display PNG images.
PNG doesn't support animation, so the animated heart used for endpad and the flashing bulb associated with the red dot remover have been changed to static images.
SeanC
06-11-2004, 01:28 AM
Miracle of miracles I got everything working!
About a month ago I had given up on dailymail because of problems I was having with cron and dailymail. I recently installed Hack Manager and after getting that working I figured it was time to give dailymail another go.
One of the nice things about Hack Manager is that it allows you to switch between the Tivowebs easily. Initially I had them running in tandem on different ports but I found switching between them to be a much more elegant solution. Once I had Tivowebplus running I did a clean install of the dailymail module and it worked right out of the box. Though I wasn't getting the emails even though the log was reporting them as sent. That was a puzzler for a couple of hours when I randomly decided to send an email to a different address, and that went right through. Check the webadmin to my main email address and sure enough there were 12 dailymails sitting in the junk folder. So I put my tivo on the white list and that problem was solved.
Now that I had dailymail working properly through tivowebplus I had to try to get cron running again. The first day with cron was much the same as a month ago, lots of cron causing reboots and nothing in the logs. I hate making my tivo reboot a lot so I stopped doing that.
I have a penchant for doing things the easy way. Given the choice of unzipping things on my desktop or on the tivo I want to unzip on my desktop. Given the choice of editing files on my desktop or on the tivo I want to edit them on my desktop. Truly this is the cause of most of my problems.
I did a very clean install of cron tonight, unzipped and untarred on the tivo, and edited crontab with joe which seems to have done the trick. No reboots and dailymail is reporting that it will be sending an email every 7 am.
:D
I SO freaking happy.
And because I got cron working I HAD to take another crack at my autoremap script for when the tivo remaps my cable channels (this has been happening a lot lately). I kept getting this error on line 119 that it couldn't exec ChannelMapScript.tcl. So I thought to myself "Self, obviously you can invoke ChannelMapScript from tivoweb, maybe you should look at how the module does it." Lo and behold, I had a missing /tvbin/tivosh.
Just an all around good evening for me and my tivo.
Stu or Tivoonion, are either of you going to fix the erroneous hyperlinks in the 'expiring soon' section? Or am I gonna have to learn tcl :)
Thanks!
-- gyre --
lcsneil
06-11-2004, 04:39 AM
Also has anyone renamed the tcl file and genrated anthor one to include the EXPORT POOL command?
It's just that when you do that the senddailymail and other daily mail commands dont work from within Tivoweb.
Are you around Tivo-onion to give some clues on fixing it?
Neil
sanderton
06-11-2004, 04:59 AM
Get learning, gyre!
Fred1
06-11-2004, 09:12 AM
Gyre
I had a look at this the other night and decided that it wasnt that difficult, but would take a couple of hours to make sure I got all the references in the script.
Let me know how you get on (ie dont let me stop you as it wont be this weekend)
PortlandPaw
06-11-2004, 09:21 AM
Originally posted by iguru42
I did a very clean install of cron tonight, unzipped and untarred on the tivo, and edited crontab with joe which seems to have done the trick. No reboots and dailymail is reporting that it will be sending an email every 7 am.
Glad hackman helped. Just a note: Your life could have been even easier using hackman to edit your crontab file, which it is set up to do.
SeanC
06-11-2004, 12:59 PM
Sheesh, once again bitten in the ass by not RTFM....
PP, you rock, Hack Manager just became my favorite hack.
Fozzie
06-11-2004, 02:06 PM
Originally posted by lcsneil
Also has anyone renamed the tcl file and genrated anthor one to include the EXPORT POOL command?It's just that when you do that the senddailymail and other daily mail commands dont work from within Tivoweb.
I had to use the EXPORT POOL command but only when calling dailymail_jazz from cron - it never crashed when called from Tivoweb. Therefore, I didn't rename dailymail_jazz.tcl but created a new file that cron called, to run EXPORT POOL and then dailymail_jazz.tcl
lcsneil
06-11-2004, 02:12 PM
Originally posted by Fozzie
I had to use the EXPORT POOL command but only when calling dailymail_jazz from cron - it never crashed when called from Tivoweb. Therefore, I didn't rename dailymail_jazz.tcl but created a new file that cron called, to run EXPORT POOL and then dailymail_jazz.tcl
Doh! - Didn't think of that - I'll give that a go then!
Neil
PortlandPaw
06-11-2004, 02:57 PM
Fozzie, thanks for solving the dailymail problem. I'd gone back to an earlier, less-jazzy version and missed seeing the newer stuff. Now, with your fix, everything is thoroughly modern!
And iguru42, thanks for the good words. And I don't mean the Latin ones!
fysmd
06-12-2004, 04:42 PM
Originally posted by tivo-onion
mbriody,
not a nice suggestion I am afraid, but if the previous version was working well for you, it may be worthwhile reverting back to it for the meanwhile. There are obviously a whole set of issues being thrown up that are either specific to tivowebplus or your specific tivo / setup which seemed to be varied and that I cannot get a handle on. The first error in identified in your latest endeavour has been stable for quite some time, so I am surprised it is falling over here. The second error is memory related, and I have thrown every safety precaution, suggested by sanderton and the like, into the code to avoid this happening!
I checked the new code in the dailymail module against the code in the tivowebplus ui.itcl module and I could spot no difference. Wierd!
Can somebody let me know what a "Tmk Assertion Failure" actualy is and why it occurs?
Had anyone with tivowebplus got this new 0.35 version working? Would love to hear from you,
cheers
Chris
Sorry if I've missed the solution somwhere later in the thread but I have exactly the same scan problem. Changing 6.5 to 0 fixed it for me....
SeanC
06-14-2004, 01:01 PM
I finally got my first truly automated email today. Even though I had everything installed and (apparently) working last week I ran into some bugs.
I was very happy to see this in my inbox this morning:
Tivo <Tivo@yourcondo.net> 7:31 AM
Woohoo!
TimTrace
06-23-2004, 11:59 AM
Originally posted by droidd
After selecting "Send a standard daily e-mail" the screen says, "Please wait........." followed a few moments later by "Error ocurred when attempting to send e-mail!"
The log file is set to level 3 and shows the follwing:
20:44:39-debug-version 3 specific code
20:44:39-debug-transaction attempt
20:44:39-debug-db open successfully
20:44:39-debug-about to set source directory.
20:44:39-debug-about to call get sizes module.
Me too, me too ;->
Hep?
a18041967
06-28-2004, 03:51 PM
Is it possible to send the daily email to multiple email addresses, if so what is the syntax, I've tried , ; and spaces... no joy.
Cheers
Kelduum
07-08-2004, 06:00 PM
Originally posted by TimTrace
Originally posted by droidd
After selecting "Send a standard daily e-mail" the screen says, "Please wait........." followed a few moments later by "Error ocurred when attempting to send e-mail!"
The log file is set to level 3 and shows the follwing:
20:44:39-debug-version 3 specific code
20:44:39-debug-transaction attempt
20:44:39-debug-db open successfully
20:44:39-debug-about to set source directory.
20:44:39-debug-about to call get sizes module.
Me too, me too ;->
Hep?
Same thing here, it just stops at "about to call get sizes"... :(
Im fairly sure everything that needs chmod-ing hase been done, and the files are where they should be.
If it helps at all, heres my current setup: UK TiVo, 120GB drive, Cachecard v2.2, EndPad, TiVoWebPlus and a load of modules.
Anyone got any ideas?
Kelduum
07-08-2004, 06:13 PM
Success!
TimTrace, droidd - you should read on, everyone else can ignore us :)
I took a look at the source, and tracked the problem down - its looking in the tivoweb directory for the 'get_space' executable, but not finding it there, so its dying.
Just copy it over from /var/hack/bin (where you probably uploaded it like i did) or re upload it (binary!) and make sure its chmod-ed.
Runs fine for me now... now on to CRON... :D
tivo-onion
07-27-2004, 03:17 PM
Hey All,
apologies for not posting here for a while! I am keen to do a bug fix on version 35.6 of dailymail_jazz fairly soon. Could all those with core dailymail_jazz issues (not cron) let me know what they are, or point me to the post where they expressed their issue in great detail. I will try and pick this up pretty soon and make it a little more robust,
thanks for your help,
cheers
Chris
Hi Chris.
Can you check out this (http://www.tivocommunity.com/tivo-vb/showthread.php?postid=1921682#post1921682) core bug?
Thanks.
-- gyre --
Francesco
07-28-2004, 04:00 PM
Well, I'm not sure what to do next. I can't get cron to fire dailymail_jazz. Last night it tried once and caused a reboot. I cannot get it to start since then... ???
I have not done the mempool script yet (I am now re-reading the thread yet again to see what I need to do for that), but first I'd like to get cron starting up.
Note 2: getting DailyMail to send a mail from TWP or BASH works, but always tells me that the endpad daemon is not started. I go into TWP and start it (it tells me I'm successful), but the next test email says it's not started and endpad.log is empty. ???
Francesco
07-28-2004, 05:28 PM
OK, coming up empty here. Now I can't send it from within TWP.
I still can't get EPP to work. TWP is quirky. I think it will be safer and saner to just remove TWP, EPP, cron and DMJ and all their associated files from the TiVo and start again from scratch (which will have to wait until I finish work at 1 a.m.!)...
Can anyone offer a compelling reason to run both 1.9.4 Final and TWP 1.0 Final? I'm ready to install only TWP.
SeanC
07-28-2004, 05:30 PM
I can't. I migrated to TWP from 1.9.4. I still have 1.9.4 installed just in case. I even have HackManager configured so I can switch from one to the other. I've done it twice in 2 months, as a test, and switched back.
Francesco
07-28-2004, 05:38 PM
Sean, I know you were having troubles getting all this to work together. What I can't figure is how it works (partially) one time and not the next... The cron log tells me it's running and says what it has done, but I don't see the product anywhere. Even the test file goes nowhere. Other times a manual DMJ start gets me the mail, next time it doesn't, dying with an error - after no changes!
Good idea to start fresh, right? ;)
proggie
07-30-2004, 03:49 AM
Anyone know why get_space doesn't provide accurate usage? I get the following in my log:
06:15:06-debug-actual space free = 98 gig
06:15:06-debug-actual space on disks = 101 gig
06:15:06-debug-actual % used = 97.1%
But my HD is 120 gigs. According to the autospace hack I'm using 89%.
Krypt Keeper
07-30-2004, 01:23 PM
I cannot generate a dailymail from TivoWebPlus's "Manage Daily Email" link unless "/" is remounted read+write.
TWP is installed under /usr/tivoweb-tcl, and works great w/ everything else.
DailyMail_Jazz is installed under /var/hack, and works flawlessly, even from cron.
I can edit the /var/hack/dailymail_jazz/dailymail.cfg file from the TWP module and save it w/o problems, but whenever I go to resend a regular email or a custom one, it immediately comes up w/ the "error occured when attempting to send e-mail!" message. No log file gets generated, so I am quite sure it doesn't even get as far as to call dailymail_jazz.tcl. If I remount / as read+write, then it sends as expected.
I have attempted to look at the source code, but cannot see anywhere it wants to write to the (i'm assuming) /usr/tivoweb-tcl/modules directory?
rrr22777
08-02-2004, 10:00 PM
I am trying to setup dailymail_jazz on a DirectTivo US version 3.0. I am getting the error below. Can someone pls help me?
01:59:26-debug-about to include util.itcl
01:59:26-debug-util.itcl included - about to include index.itcl
01:59:26-debug-index.itcl included
wrong # args: extra words after "else" clause in "if" command
while compiling
"if {$::version3} { ..."
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if {$::version3} {
set lconfig [db $db open /State/LocationConfig]
set setup [db $db open /State/ServiceConfig]
set tz ..."
(file "./dailymail_jazz.tcl" line 2865)
My log file is empty.
tivo:/var/hack/dailymail$ ls -l /var/log/dai*
-rwxrwxrwx 1 0 0 0 Aug 3 01:22 /var/log/dailymail_jazz.log
tivo:/var/hack/dailymail$
tivo:/var/hack/dailymail$
rrr22777
08-02-2004, 10:32 PM
Instructions in
http://www.tivocommunity.com/tivo-vb/showthread.php?postid=1886737#post1886737
fixed my problem!
vertigo235
08-03-2004, 03:06 AM
Help me! My log shows only this, I'm getting an error, and it stops after including index.itcl
------welcome to the jazzed dailymail program - v0.35 (6th April 2004) - starting
------the debug level is set at >>3<<
------generated content presented in American English for your reading pleasure!
------started at 07:04:19 (debugging times specified in gmt)
07:04:19-debug-global variable definition complete
07:04:19-debug-commence fooling tivoweb modules
07:04:19-debug-completed fooling tivoweb modules
07:04:19-debug-completed other preperation
07:04:19-debug-argument 1 passed in ::: >><<
07:04:19-debug-argument 2 passed in ::: >><<
07:04:19-debug-argument 3 passed in ::: >><<
07:04:19-debug-argument 4 passed in ::: >><<
07:04:19-debug-0 argument(s) found
07:04:19-debug-argument handling complete
07:04:19-debug-start optional message handling
07:04:19-debug-no message file found
07:04:19-debug-end optional message handling
07:04:19-debug-about to start version setting
07:04:19-debug-version3 : >>1<<
07:04:19-debug-uktivo : >>0<<
07:04:19-debug-dtivo : >>1<<
07:04:19-debug-version (for tivowebplus) : >>3<<
07:04:19-debug-completed version setting
07:04:19-debug-about to include util.itcl
07:04:19-debug-util.itcl included - about to include index.itcl
07:04:20-debug-index.itcl included
rrr22777
08-03-2004, 10:25 AM
When I run dailymail_jazz.tcl from BASH everything work fine. I get the email. But when I use the TivoWeb interface and select Send a customised daily e-mail? I get a error message:
Error ocurred when attempting to send e-mail!
From looking at code in managedailymail.itcl I see that the procedure action_custommail is called. The exception is from there but what does it mean?
My /var/log/dailymail_jazz.log/ is empty.
I have set my log level in dailymail.cfg to 3.
I had to set
export TIVOSH_POOLSIZE=3244032
to get it to work from the BASH prompt.
vertigo235
08-03-2004, 04:45 PM
My TiVoweb is in /var/local/ is this part of my problem?
groovadelic
08-07-2004, 10:20 PM
My TiVoweb is in /var/local/ is this part of my problem?
I would guess yes, since dailymail_jazz.tcl calls for it to be in /var/hack/
vertigo235
08-07-2004, 10:22 PM
Would I just need to edit the dailymail_jazz.tcl?
sanderton
08-08-2004, 07:26 AM
Easier to just move it!
iankb
08-08-2004, 08:28 AM
Especially as other hacks may assume a default path of /var/hack
vertigo235
08-08-2004, 11:25 AM
wonder why tivowebplus instals to /var/local? it wouldn't let me change the installation directory either...
sanderton
08-08-2004, 12:24 PM
TWP asks you where it should be installed when you run the installer; you can put it anywhere you like.
vertigo235
08-08-2004, 01:47 PM
It doesn't give me a chance when I start it, I hit enter for install and it jumps right past the install directory prompt. I Installed and uninstalled it like 15 times trying to change the install directory.
I'd be up for just moving it but I don't know everywhere that it's referenced.
sanderton
08-08-2004, 03:58 PM
It's not - TW and TWP can sit anywhere.
vertigo235
08-08-2004, 05:18 PM
But when I installed it it created two files in the rc.init dir, that reference the /local/ directory, why 2?
stevehaley
08-10-2004, 11:17 AM
I have tried to read this thread as much as possible but I am stuck.
Dailymail runs fine from tivoweb but if I run it with the command in crontab
24 6 * * * /tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl > /> /var/log/dailymail_jazz.log 2>&1
then it falls over but The same command from the bash prompt works.
I have tried to set myself up a bash script to expand the memory pool but when I run it all I get is file not found.
I am also confused that some people appear to be able to just run dailymail_jazz.tcl from both the cron & the bash prompt when all I get is file not found and have to prefix it with /tvbin/tivosh. Could someone please explain v simply how I can create a script, test run it from the bash prompt and insert it into the crontab file. I am runnng tivoweb 1.9.4 on a UK tivo.
Please help this is driving me nuts!
rgds
Stephen
sanderton
08-10-2004, 11:20 AM
Is that line a copy-and-paste? Not sure about the "> />"
stevehaley
08-10-2004, 11:50 AM
Sorry should read
/tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl > /var/log/dailymail_jazz.log 2>&1
script file crondm.sh reads
#!/bin/sh
export TIVOSH_POOLSIZE=3244032
/tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl > /var/log/dailymail_jazz.log 2>&1
have also tried
#!/bin/sh
export TIVOSH_POOLSIZE=3244032
/var/hack/dailymail/dailymail_jazz.tcl > /var/log/dailymail_jazz.log 2>&1
with the command /var/hack/dailymail/dmcron.sh at the bash prompt justs returns
File not found
stevehaley
08-10-2004, 02:12 PM
Its OK finally figured it all out. I did things the easy way and edited in wordpad which micked up the files. Once I edited dailymail_jazz.tcl in notepad to remove the base64 bit and then transfered using windows ftp as opposed to my ftp program I could run it from the bash without /tvbin/tvosh and once I edited crondm.sh in hack manager and added a blank line at the end that too was happy so now it appears to run from bash & cron. (Huge sigh of releif). I thought windows was fussy but linux appears even worse. PS dont try to use hack manager to edit dailymail_jazz.tcl it just crashes the tivo box!
But I still have a ?
what is the meaning of the 2>&1 that people are adding to the end of the command in cron?
rgds
Stephen
Originally posted by stevehaley
what is the meaning of the 2>&1 It means to send errors to the same place as (and mixed in with) the regular output.
SolidTechie
08-12-2004, 06:20 AM
I cannot seem to get dailymail to work, either from the TiVoweb module, or the command line. Here is the result from the command line -as it is slightly more verbose than the web version:
bash-2.02# ./dailymail_jazz.tcl
------welcome to the jazzed dailymail program - v0.35 (6th April 2004) - startin
g
------the debug level is set at >>3<<
------started at 10:11:58 (debugging times specified in gmt)
10:11:58-debug-global variable definition complete
10:11:58-debug-commence fooling tivoweb modules
10:11:58-debug-completed fooling tivoweb modules
10:11:58-debug-completed other preperation
10:11:58-debug-argument 1 passed in ::: >><<
10:11:58-debug-argument 2 passed in ::: >><<
10:11:58-debug-argument 3 passed in ::: >><<
10:11:58-debug-argument 4 passed in ::: >><<
10:11:58-debug-0 argument(s) found
10:11:58-debug-argument handling complete
10:11:58-debug-start optional message handling
10:11:58-debug-no message file found
10:11:58-debug-end optional message handling
10:11:59-debug-about to start version setting
10:11:59-debug-version3 : >>0<<
10:11:59-debug-uktivo : >>1<<
10:11:59-debug-dtivo : >>0<<
10:11:59-debug-version (for tivowebplus) : >>2.5<<
10:11:59-debug-completed version setting
10:11:59-debug-about to include util.itcl
10:11:59-debug-util.itcl included - about to include index.itcl
10:11:59-debug-index.itcl included
wrong # args: extra words after "else" clause in "if" command
while compiling
"if {$::version3} { ..."
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if {$::version3} {
set lconfig [db $db open /State/LocationConfig]
set setup [db $db open /State/ServiceConfig]
set tz ..."
(file "./dailymail_jazz.tcl" line 2865)
Having seen a similar error, I have checked that everything should be where it is supposed to be. Tivoweb is in /var/hack/tivoweb-tcl, dailymail is in /var/hack/dailymail
Also, it's a UK TiVo - but it looks to me as if it's tryin g to do something concerned with Version 3 - which is set to false in the config file.
Any ideas anyone?
SolidTechie
08-12-2004, 06:27 AM
Any ideas anyone?
Yes, do a search before posting silly questions!
Sorry, but got it working now...
spoonwzd
08-16-2004, 12:21 PM
Is there a way to send to multiple recipients?
I've glanced at the code, seen references to recipient2 and so on, tried setting variables in cfg but no joy.
Runnin 0.35 from 4th April. Is there a newer version?
Fozzie
08-18-2004, 01:23 PM
You can definitely send to additional recipients using the dailymail Tivoweb control module. I'm sure you can also do it through the .cfg file.
I'm running 0.35.6 dated 14 April 2004.
spoonwzd
08-18-2004, 04:15 PM
Originally posted by Fozzie
You can definitely send to additional recipients using the dailymail Tivoweb control module. I'm sure you can also do it through the .cfg file.
I'm running 0.35.6 dated 14 April 2004.
You got a link to that? The latest version on his site is 0.35.3!
Fozzie
08-18-2004, 04:43 PM
Just browse to the directory that the file is in:
http://deepinthejungle.servehttp.com/Tivo/
spoonwzd
08-18-2004, 05:42 PM
Ah wicked, cheers.
spoonwzd
08-18-2004, 06:16 PM
Well, installed the latest version and configured. All working as was, except still only one mail definition in either editing the config in VI or using the tivoweb module.
Any ideas?
sickbird_uk
08-19-2004, 05:19 AM
You should have an option 'Send a customised daily e-mail?'
This will give you the chance to enter 3 email addresses. See pic attached.
Fozzie
08-19-2004, 06:06 AM
Just checked using the Tivoweb module and I was able to send to 3 recipients ok. If it doesn't work for you then it may be worth doing a quick or full reload of Tivoweb or even a stop/start.
I'm not sure now that you can send to more than one recipient using the .cfg file - I couldn't find any reference to it ?! You can do it from a BASH prompt though.
spoonwzd
08-19-2004, 12:53 PM
Yeah, but that's for sending just there and then isn't it? It can't be incorporated into the config so that it will email two recipients when the cron schedule runs, right?
Fozzie
08-19-2004, 07:00 PM
Should be able to. As I mentioned, I don't think you can do it in the .cfg file but you can from a BASH prompt, which is basically what you are doing with CRON.
spoonwzd
08-20-2004, 05:13 AM
Any idea what the command syntax is?
Fozzie
08-20-2004, 06:21 AM
Read the datasheet in the directory above, where you downloaded the module from ;) Lots of good info in it.
PortlandPaw
08-23-2004, 11:15 AM
My dailymail is now broken with the same affliction that has brought down the TivoWeb info module: http://www.************.com/forum/showthread.php?t=36189
Has anyone else seen this?
EDIT: Oops! I posted a nasty URL! Sorry! You know where to look.
webfox
08-28-2004, 08:14 AM
A footnote from someone across the pond here -
I was getting errors on a version 4 tivo that 'TimeZoneOld' wasn't valid in the MFS db - went hunting in the node it was opening and found it's called 'TimeZoneOffset' in this version.
HTH.
webfox
08-28-2004, 08:24 AM
Oh, also. it records the timezone offset in what appears to be seconds (gmt-5 is listed as -21600).
Node:
LocationConfig 3237/10 {
Version = 10
PostalCode = 58701
TimeZoneOffset = -21600
IndexPath = /State/LocationConfig
}
also, just in case - SwSystemName = 4.0.1b-02-2-240
edrock200
08-31-2004, 02:12 PM
I also cannot get dailymail to work, though it could verywell be something in my configuration...
Attached is my config file, I've tried several settings like changing v3 to false and true, turned off emailing to see if I could just get it to generate the file all to no avail.
I'm not sure what v3 refers to, software or hardware. I have a HDVR2 (DTivo) running SA 4.0 software. I'm guessing that this might be my problem?
I've chmod'ed the /var/hack/bin files with chmod 755, chmod 777 and chmod +x (I don't know what the diff's are) and tried running in between each time with no luck either...
I admit I have not read the entire thread but did run a search for debug-about and a few other search terms with no luck. A google search yielded (http://minnie.tuhs.org/pipermail/oztivo/2004-June/014196.html ) a page with a user with the same error as me. I tried the suggestions with no luck either. Thanks in advance for any help.
Here's the debug log (set to level 3)
------welcome to the jazzed dailymail program - v0.35 (6th April 2004) - starting
------the debug level is set at >>3<<
------generated content presented in American English for your reading pleasure!
------started at 17:38:54 (debugging times specified in gmt)
17:38:54-debug-global variable definition complete
17:38:54-debug-commence fooling tivoweb modules
17:38:54-debug-completed fooling tivoweb modules
17:38:54-debug-completed other preperation
17:38:54-debug-argument 1 passed in ::: >><<
17:38:54-debug-argument 2 passed in ::: >><<
17:38:54-debug-argument 3 passed in ::: >><<
17:38:54-debug-argument 4 passed in ::: >><<
17:38:54-debug-0 argument(s) found
17:38:54-debug-argument handling complete
17:38:54-debug-start optional message handling
17:38:54-debug-no message file found
17:38:54-debug-end optional message handling
17:38:54-debug-about to start version setting
17:38:54-debug-version3 : >>1<<
17:38:54-debug-uktivo : >>0<<
17:38:54-debug-dtivo : >>0<<
17:38:54-debug-version (for tivowebplus) : >>3<<
17:38:54-debug-completed version setting
17:38:54-debug-about to include util.itcl
PortlandPaw
08-31-2004, 02:53 PM
A possibility -- does your TivoWeb info module work correctly? If not, this could cause the problem w/DailyMail. A bunch of us debugged that problem last weekend. Look here (http://www.tivocommunity.com/tivo-vb/showthread.php?postid=2190082#post2190082).
edrock200
08-31-2004, 04:38 PM
I don't get any error when clicking on in progress shows, but do get the following error when clicking info..I should have added I do run some LJ modules:
INTERNAL SERVER ERROR
--cut here--
action_info '/' ''
can't read "::usersize": no such variable
while executing
"th "colspan=5" "Space Used - $::usersize MB""
(procedure "::action_info" line 112)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--
$::usersize is set from the result of the "get_space" binary included with TiVoWeb. Do you have it on your system? (Mine's in /var/hack/tivoweb-tcl) What output do you get when you run it in a telnet session. IIRC there were different versions depending on the model of TiVo you've got.
edrock200
09-01-2004, 08:42 AM
Originally posted by LJ
$::usersize is set from the result of the "get_space" binary included with TiVoWeb. Do you have it on your system? (Mine's in /var/hack/tivoweb-tcl) What output do you get when you run it in a telnet session. IIRC there were different versions depending on the model of TiVo you've got.
I have no binary named "get_space" on any of my Tivo's, though the info works on others. My tivoweb install directory (where I checked for the binary) is the default install for TWP 1.9.4, /var/local/tivoweb-tcl
lcsneil
09-01-2004, 12:38 PM
Deafult install for Tivoweb 1.9.4 should be /var/hack/tivoweb-tcl
I certainly have a bin. app. "get_space" in that directory.
Neil
edrock200
09-01-2004, 08:00 PM
Originally posted by lcsneil
Deafult install for Tivoweb 1.9.4 should be /var/hack/tivoweb-tcl
I certainly have a bin. app. "get_space" in that directory.
Neil
I dunno, I just tried to install it agian and it defaults to /var/local/tivoweb-tcl
Regardless, I looked in bin_mips and get_space is in there, I thought it would be in the root of the tivoweb install directory. Perhaps I'm not running the latest version of dailymail? I noticed several different releases referenced in this thread. What is the latest release? Could someone point me to a link?
Thanks,
-Ed
vertigo235
09-01-2004, 08:39 PM
mine is in /var/local/tivoweb-tcl too, that's the default install for TWP, and I could not get it to change.
vertigo235
09-01-2004, 08:42 PM
I should also note that I got the same error as edrock when I tried to install dailymail.
I just gave up on it though, so I hope you find a solution.
I think it's because TWP is in /local/ though.
edrock200
09-01-2004, 11:07 PM
Originally posted by vertigo235
I should also note that I got the same error as edrock when I tried to install dailymail.
I just gave up on it though, so I hope you find a solution.
I think it's because TWP is in /local/ though.
Hmm, I could get mine to install to another directory without problems. I doubt that would cause a huge issue though. Someone pm'ed me and said they had that problem with 35.3 and 35.6 fixed it, I just want to make sure I'm running the latest so if someone has a link I can test.
TIA,
-Ed
Fozzie
09-02-2004, 02:14 AM
Version info and where to get are on the previous page ;)
edrock200
09-02-2004, 10:14 AM
hehe oops, thanks Fozzie.
wheelbarrow
09-08-2004, 06:14 AM
I've installed jazzed dailymail v0.30 (24/02/2004) which works perfectly from the command line.
However if i put it into the cron then i get this error.
45 5 * * 0-6 /tvbin/tivosh /var/hack/dailymail_jazz.tcl fred@ptu.biz > /var/log/dailymail_jazz.log 2>&1
debug-a new recipient email found in argument 1
debug-recipient email value is now : >>fred@ptu.biz<<
debug-argument handling complete
debug-start optional message handling
debug-no message file found
debug-end optional message handling
unable to initialize filesystem
while executing
"dbopen"
(file "/var/hack/dailymail_jazz.tcl" line 1968)
can you help ?
Regards
Paul
PortlandPaw
09-08-2004, 07:10 AM
Look for posts regarding poolsize.
Mecha_Ike
09-13-2004, 05:55 PM
Downloaded and installed dailymail_jazz (latest version available from wibblejungle.blah) and I'm having no luck whatsoever - and it doesn't help that I'm damn tired. In hopes that it's sommat easy to sort - I did a "by the README" install, up to and including putting ls, ps and smartctl into /var/hack/bin (even though I have ls and ps from the pvtupgrade mechanism in /pvtupgrade/bin)
Any way, when I run dailymail_jazz.itcl from the bash promt I get the following output:
------welcome to the jazzed dailymail program - v0.35 (6th April 2004) - starting
------the debug level is set at >>2<<
------started at 21:49:00 (debugging times specified in gmt)
21:49:00-debug-global variable definition complete
21:49:00-debug-commence fooling tivoweb modules
21:49:00-debug-completed fooling tivoweb modules
21:49:00-debug-completed other preperation
21:49:00-debug-argument 1 passed in ::: >><<
21:49:00-debug-argument 2 passed in ::: >><<
21:49:00-debug-argument 3 passed in ::: >><<
21:49:00-debug-argument 4 passed in ::: >><<
21:49:00-debug-0 argument(s) found
21:49:00-debug-argument handling complete
21:49:00-debug-start optional message handling
21:49:00-debug-no message file found
21:49:00-debug-end optional message handling
21:49:00-debug-about to start version setting
21:49:01-debug-version3 : >>0<<
21:49:01-debug-uktivo : >>1<<
21:49:01-debug-dtivo : >>0<<
21:49:01-debug-version (for tivowebplus) : >>2.5<<
21:49:01-debug-completed version setting
21:49:01-debug-about to include util.itcl
21:49:01-debug-util.itcl included - about to include index.itcl
21:49:01-debug-index.itcl included
wrong # args: extra words after "else" clause in "if" command
while compiling
"if {$::version3} { ..."
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if {$::version3} {
set lconfig [db $db open /State/LocationConfig]
set setup [db $db open /State/ServiceConfig]
set tz ..."
(file "dailymail/dailymail_jazz.tcl" line 2865)
Known issue? (Too tired to hang around, going to bed for now... will have a proper look at this from work in the morning... just wanted to get the post up now...)
EDIT: Oh, and the tivoweb info page works fine (other than the "Remote Address" is empty...)
SECOND EDIT: Installed v0.35.6 and it's running fine (by the looks of it...) Now I really am going to bed...
dribble
09-14-2004, 11:30 AM
Help! I am trying to get the daily e-mail working on my Tivo, and I seem to be having real issues with Cron. I can generate an e-mail manually, it's all working fine there, but when I try and get Cron to do it automatically, it doesn't appear to work.
I have tried various postings on this thread, but so far none have worked. My Crontab file reads:
------------
#/etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# for TiVo: This file doesn't use a user field like system-wide crontabs
# normally do. Everything runs at uid 0 (not that it matters for TiVo).
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/var/hack/bin
# The following environment variables are needed for many tcl scripts to
# run. Thanks to AlphaWolf for troubleshooting this.
MFS_DEVICE=/dev/hda10
TIVO_ROOT=""
# Actual crontab entries below. This sample should append a date to
# a file every ten minutes.
# m h dom mon dow command
#*/10 * * * * date >> /var/hack/cron.test.out
#0 8 * * 1-5 /var/hack/dailymail_jazz.tcl >/var/hack/mail.out &
0 8 * * * */var/hack/dailymail_jazz.tcl > /var/log/dailymail_jazz.log 2>&1
--------
I have '#' out a few lines that I was testing, but none of it seemed to work. The Sample did write the date to the file every 10 mins, so at least it shows that Cron is running. I have got Hackmanger running, so at least it makes editing it easier!
Has anyone got any ideas to get me back on course?
Thanks
David :confused:
sanderton
09-14-2004, 11:45 AM
0 8 * * * */var/hack/dailymail_jazz.tcl > /var/log/dailymail_jazz.log 2>&1
Looks like one too many asterisks to me.
dribble
09-15-2004, 04:15 AM
Hi there.
Well, I took the '*' out, but still no luck.
Do you have to stop and re-start the Cron program everytime you make a change to the Crontab file ?
Thanks for your help.
David
SolidTechie
09-15-2004, 06:24 AM
AFAIR, no, you don't need to stop & restart cron.
Just to recap:
I assume that the dailymail_jazz.tcl file is in fact in /var/hack? Mine was in /var/hack/dailymail.
A couple of things to look for. Anything in the log file? - perhaps post that here.
When I was trying to get mine working, I changed the firing time to every 3 minutes, and changed the option in the DM setup, to not send an e-mail, just write the html file.
I used:
*/3 * * * * /var/hack/dailymail/dm.sh > /var/log/cron.log 2>&1
dm.sh is a shell script to fire DM, and log it to dailymail.log in /var/logs. That way, I know that cron fired (or not) and, then that dm fired, and what stage it got to.
On my TiVo, I eventually found that cron wouldn't fire DM, but using a shell script with #!/bin/bash instead of cron's bin/sh seemed to do the trick.
FWIW, the complete script is:
#!/bin/bash
export TIVOSH_POOLSIZE=3244032
/var/hack/dailymail/dailymail_jazz.tcl > /var/log/dailymail 2>&1
HTH..
Mecha_Ike
09-15-2004, 08:07 AM
On the assumption you're using M. Drew Streib's vixie cron 3.0pl1 for TiVo, you need to ensure that crontab is in the right place - /var/hack/etc/crontab. The README kinda explains it all... This has been hardcoded into cron (unfortunately...)
Otherwise, your crontab entry looks fine to me... but as an example, mine is:
45 5 * * * /tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl /
not.telling@gmail.com me.either@gmail.com>/var/log/dailymail_jazz.log 2>&1
dribble
09-15-2004, 10:46 AM
Originally posted by iancdbutcher
AFAIR, no, you don't need to stop & restart cron.
A couple of things to look for. Anything in the log file? - perhaps post that here.
HTH..
Well, I had a look at the log file generated. It said.
/bin/sh: /var/hack/dailymail_jazz.tcl: Permission denied
I have changed dailymail_jazz.tcl by using cmod a+x
I'll see if that works..
David
dribble
09-15-2004, 12:09 PM
Just to let you know that last change seemed to have done the trick!
Many thanks :D
spoonwzd
09-15-2004, 02:05 PM
Has anyone got dailymail to work with TivoWebPlus?
Works fine until:
18:04:22-debug-compiling conflicts list
18:04:26-debug-started record history procedure
18:04:26-debug-mintime >>1095098666<<
18:04:26-debug-maxtime >>1095271466<<
Dumping mempool to /tmp/BlockFailure.224
Tmk Assertion Failure:
BlockFailure, line 1771 ()
Tmk Fatal Error: Thread tivosh <224> died due to signal -2
1a344ec 1a32a44 1a2ed70 1b95e0c 1c4d5e8 1c85910 1c84fe4 1c5282c 1c50d14 1c4d810 1c77e7c 1c61a10 1c8df68 1c77e7c 1c61a10 1c4e254 1c4d810 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c8df68 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c849c0 1c85ec8 1c4d248 1c28cac 1800134
Bam!
spoonwzd
09-15-2004, 05:53 PM
Ah hah. Further digging reports issues.
Any change of a TivoWebPlus compatible version being released any time soon?
elvistheking
09-16-2004, 10:25 AM
I've got it working using the latest version of Dailymail_jazz (not the one linked to on the site but the latest in the directory), have you tried getting an old (TW not TWP) get_space and dropping it in the TWP folder?
elvistheking
09-16-2004, 10:47 AM
Whilst I've got dailymail working in TWP, I still can't get it working using cron, this is my crontab, the script I used to to run dailymail and ,my cron log. Surfice to say, cron fired the dailmail_jazz.tcl fine but stopped when I tried to use the shell script, equaly if I type dailymail_conr.sh at the prompt it works, just not the script from cron!!!
Surfice to say I've run out of ideas!!
spoonwzd
09-16-2004, 12:57 PM
Yeah, I had big trouble with cron, but it's now working. Here's what I have:
# THIS IS THE ONE!
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# for TiVo: This file doesn't use a user field like system-wide crontabs
# normally do. Everything runs at uid 0 (not that it matters for TiVo).
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/var/hack/bin
MFS_DEVICE=/dev/hda10
TIVO_ROOT=""
# m h dom mon dow command
0 7 * * * /tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl spoony@internet.net charlie@internet.net > /var/log/dailymail_jazz.log 2>&1
----
It is my undestanding that the 2>&1 specified at the end of the cron task is what made it work.
spoonwzd
09-16-2004, 12:59 PM
Originally posted by elvistheking
I've got it working using the latest version of Dailymail_jazz (not the one linked to on the site but the latest in the directory), have you tried getting an old (TW not TWP) get_space and dropping it in the TWP folder?
Thanks, but I didn't really want to go making non-standard changes to things like dailymail, as it would only blow up in my face the next time I wanted to change something! My memory is terrible at best ;)
SolidTechie
09-17-2004, 04:07 AM
First off, I am no expert, but it looks to me like there are 1 or 2 problems.
Crontab:
30 * * * * /bin/sh /var/hack/dailymail/dailymail_cron.sh &
I may be wrong, but I think possibly this should be
/tivobin/tivosh
for debugging, you may want to log the cron job(s) by appending to a log file with this:
30 * * * * /tivobin/tivosh /var/hack/dailymail/dailymail_cron.sh > /var/log/cron.log&
Shell Script:
#!/bin/sh
export TIVOSH_POOLSIZE=3244032
/var/hack/dailymail/dailymail_jazz.tcl > /var/log/dailymail_jazz_cron.log 2>&1
This is a bash shell script, so the first line should read:
#!/binbash
Hopefully, I'm not talking in my favourite language (utter Bo**ocks!), and this will help you out.
elvistheking
09-17-2004, 06:30 AM
Originally posted by spoonwzd
Thanks, but I didn't really want to go making non-standard changes to things like dailymail, as it would only blow up in my face the next time I wanted to change something! My memory is terrible at best ;)
After downloading a clean version v0.35.6 (from deepinthejungle.servehttp.com/tivo/) and doing a quick windiff on the files from my tivo it would appear that all I did was to follow the instructions in the readme.txt, copy the get_space from the zip file to /var/hack/tivoweb-tcl (where my TWP is installed) and change the config file to match my setup.
Hope this helps.
Stephen
elvistheking
09-17-2004, 06:41 AM
Originally posted by iancdbutcher
First off, I am no expert, but it looks to me like there are 1 or 2 problems.
Crontab:
30 * * * * /bin/sh /var/hack/dailymail/dailymail_cron.sh &
I may be wrong, but I think possibly this should be
/tivobin/tivosh
for debugging, you may want to log the cron job(s) by appending to a log file with this:
30 * * * * /tivobin/tivosh /var/hack/dailymail/dailymail_cron.sh > /var/log/cron.log&
Hopefully, I'm not talking in my favourite language (utter Bo**ocks!), and this will help you out.
I've not got a /tivobin, I'm guessing you meant /tvbin (as I've got that) so I've made the suggested change to the script and my crontab now looks like this:
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# for TiVo: This file doesn't use a user field like system-wide crontabs
# normally do. Everything runs at uid 0 (not that it matters for TiVo).
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/var/hack/bin
MFS_DEVICE=/dev/hda10
TIVO_ROOT=""
34 * * * * /tvbin/tivosh /var/hack/dailymail/dailymail_cron.sh > /var/log/cron.log&
Unfortunatly it's still not working!, cron.log is non-existant and the cron log (/var/hack/cron/log) is still not showing anything (last few lines below):
*system* (09/16-14:32:00-125) RELOAD (/var/hack/etc/crontab)
*system* (09/16-14:36:00-125) RELOAD (/var/hack/etc/crontab)
*system* (09/17-10:11:00-125) RELOAD (/var/hack/etc/crontab)
Cheers for the help so far.
spoonwzd
09-17-2004, 07:53 AM
For fear of repeating myself:
"It is my undestanding that the 2>&1 specified at the end of the cron task is what made it work."
peteoheat
09-17-2004, 08:17 AM
spoonwzd,
2>&1 merely redirects stderr (error messages) to stdout (normal output messages)
You'd already redirected stdout to the file /var/log/dailymail_jazz.log by putting in the..
> /var/log/dailymail_jazz.log
So 2>&1 in your case is redirecting error messages into /var/log/dailymail_jazz.log as well as normal messages.
elvistheking
09-17-2004, 10:50 AM
Originally posted by spoonwzd
For fear of repeating myself:
"It is my undestanding that the 2>&1 specified at the end of the cron task is what made it work."
Just in case I tried this as well, current crontab line:
40 * * * * /tvbin/tivosh /var/hack/dailymail/dailymail_cron.sh > /var/log/cron.log 2>&1
I'm now wondering if it's a permissions thing do the following look right?:
in /var/hack/etc
-rw-r--r-- 1 0 0 494 Sep 17 14:38 crontab
in /var/hack/dailymail
-rwxr-xr-x 1 0 0 121 Sep 17 10:08 dailymail_cron.sh
-rwxr-xr-x 1 0 0 153860 Sep 7 18:16 dailymail_jazz.tcl
peteoheat
09-17-2004, 11:06 AM
Elvistheking,
The permissions look fine the crontab doesn't have to be executable but the .itcl files are.
Is anything being written to the log file?
You may already know this but in case others don't cron caches to crontab contents when it starts and doesn't reread them. So if you vi your crontab the changes will not be picked up until cron restarts. However, if you edit the file by running crontab -e it forces cron to reread the files when you exit. It's also better because it will warn you of any syntax errors in the file this way.
6022tivo
09-17-2004, 12:05 PM
Have just installed from onions page...
Getting error as below whilst running dailymail_jazz.tcl
bash-2.02# ./dailymail_jazz.tcl
------welcome to the jazzed dailymail program - v0.35 (6th April 2004) - starting
------the debug level is set at >>3<<
------started at 16:02:50 (debugging times specified in gmt)
16:02:50-debug-global variable definition complete
16:02:50-debug-commence fooling tivoweb modules
16:02:50-debug-completed fooling tivoweb modules
16:02:50-debug-completed other preperation
16:02:50-debug-argument 1 passed in ::: >><<
16:02:50-debug-argument 2 passed in ::: >><<
16:02:50-debug-argument 3 passed in ::: >><<
16:02:50-debug-argument 4 passed in ::: >><<
16:02:50-debug-0 argument(s) found
16:02:50-debug-argument handling complete
16:02:50-debug-start optional message handling
16:02:50-debug-no message file found
16:02:50-debug-end optional message handling
16:02:51-debug-about to start version setting
16:02:51-debug-version3 : >>0<<
16:02:51-debug-uktivo : >>1<<
16:02:51-debug-dtivo : >>0<<
16:02:51-debug-version (for tivowebplus) : >>2.5<<
16:02:51-debug-completed version setting
16:02:51-debug-about to include util.itcl
16:02:51-debug-util.itcl included - about to include index.itcl
16:02:51-debug-index.itcl included
wrong # args: extra words after "else" clause in "if" command
while compiling
"if {$::version3} { ..."
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if {$::version3} {
set lconfig [db $db open /State/LocationConfig]
set setup [db $db open /State/ServiceConfig]
set tz ..."
(file "./dailymail_jazz.tcl" line 2865)
bash-2.02#
Any ideas??
I am NOT running TWP
Sorry to be a biff..
Mecha_Ike
09-17-2004, 12:18 PM
Originally posted by 6022tivo
Have just installed from onions page...
[SNIP]
------welcome to the jazzed dailymail program - v0.35 (6th April 2004) - starting
[SNIP]
wrong # args: extra words after "else" clause in "if" command
[SNIP]
Any ideas??
I am NOT running TWP
Sorry to be a biff..
I had the same error with v0.35. Grab v0.35.6 from http://deepinthejungle.servehttp.com/tivo/ (and you may want to peruse the Data Sheet while you're there) and all will be well... probably... (unless you also have problems with cron afterwards, like what I did... :))
6022tivo
09-18-2004, 11:21 AM
Having problems, have the latest .6 download. But the log is ending at .....
15:17:16-debug-mailserver : >>62.253.162.40<<
15:17:16-debug-domain : >>xxx.com<<
15:17:16-debug-recipient : >>mytivo@mytivo.co.uk<<
15:17:16-debug-subject: >>TiVo status e-mail for Saturday September 18, 2004<<
15:17:16-debug-attempting to open socket 25 to mailserver specified >>62.253.162.40<<
The IP is correct for NTL??
Any ideas, this IP can be pinged ok from a pc.
Could it be the router setup?? It gets its updates ok??.
Ideas?
managerxxx
09-18-2004, 12:30 PM
I can confirm that this is the correct IP address for NTL's SMTP relay (smtp.ntlworld.com). I use the same server and have seen a lot of issues over the past week or so due to issues at NTL's end. Can you telnet to this IP address on port 25?
6022tivo
09-18-2004, 12:54 PM
Yep, I get this when connected
220 mta02-svc.ntlworld.com ESMTP server (InterMail vM.4.01.03.37 201-229-121-137-20020806) ready Sat, 18 Sep 2004 17:51:52 +0100
500 Command unknown: '
Fozzie
09-18-2004, 01:05 PM
Can you send a message ok, as detailed here:
http://www.yuki-onna.co.uk/email/smtp.html
mrtickle
09-18-2004, 04:12 PM
Hmm. I know I'm behind and don't want to miss anything but 1100 messages in one thread is too much to read, sorry! :)
The last time I was around (Feb) there were lots of new features being hosed in by loads of people and it was a bit crazy trying to keep track of whose version did what. So much so that I have never used any version of dailymail, it was too hard and fast-paced to keep track of. But anyway that was then.
Looking at the first post in the thread it seems sanderton stopped developing his version - is tivo_onion's dailymail jazz the one to use now? Available from http://www.deepinthejungle.com/Tivo/Tivoindex.htm ? That page has a link to the current version it says, which is dailymail v0.35.3 beta I believe?
TIA
Fozzie
09-18-2004, 04:42 PM
Go here:
http://www.deepinthejungle.com/Tivo/
and download v0.35.6. It's the latest (and greatest) one :)
sanderton
09-18-2004, 04:43 PM
Yes, Tivo_onion's is the best one, although he's done a Mr Tickle during the last beta so you may still find a few small issues not sorted.
mrtickle
09-18-2004, 05:15 PM
Righto cheers! Hmm I see now, the page link wasn't updated.
6022tivo
09-19-2004, 11:06 AM
Originally posted by Fozzie
Can you send a message ok, as detailed here:
http://www.yuki-onna.co.uk/email/smtp.html
I could from my PC but not from the tivo.
I also found I couldn't ping the NTL server from the TiVo.
I did have the dial up method in tivo_config_nic set to dialup and I wanted to try out a phone line. Changing this to NIC fixed this problem...
Also fixed the external internet access problem to my tivo also..
Works great now, only problem I did have was the report was reporting SMART errors. Checking the log, the error is that smart on the drive was disabled. A quick command enabled the smart on the HDD, now all is ok.
bash-2.02# smartctl -c /dev/hda
Device: IC35L120AVV207-0 Supports ATA Version 6
Drive supports S.M.A.R.T. and is disabled
Use option -e to enable
bash-2.02#
bash-2.02# smartctl -e /dev/hda
S.M.A.R.T. Enabled
bash-2.02#
bash-2.02# smartctl -c /dev/hda
Device: IC35L120AVV207-0 Supports ATA Version 6
Drive supports S.M.A.R.T. and is enabled
Check S.M.A.R.T. Passed
bash-2.02#
6022tivo
09-22-2004, 06:16 PM
Eventually got it all working, found a useful page for creating the crontab commands at
http://www.clockwatchers.com/cron_tool.html
6022tivo
09-27-2004, 05:09 AM
Right, lets try again.
For some reason, the last few nights the dailymail_jazz has caused the tivo to reboot..
The log for this is as below.
04:00:17-debug-Endpad pid number gathered successfully.
04:00:17-debugretrying after errTmActiveLockConflict ...
04:00:55-debug-reading the temperature, calculating uptime, checking what's running
04:00:59-debug-compiling to do list
04:01:13-debug-started record history procedure
retrying after errTmActiveLockConflict ...
04:01:28-debug-completed record history procedure
04:01:28-debug-compiling expiration list
04:01:33-debug-e-mail required
04:01:33-debug-about to send e-mail
Dumping mempoo04:01:50-debug-completed reTmk Assertion Failure: 04:01:54-debug-compiling expiration list
04:01:58-debug-e-mail required
04:01:58-debug-about to send e-mail
Dumping mempool to /tmp/BlockFailure.798
7aee0 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c849c0 1c85ec8 1c4d248 1c28cac 1800134
In the TVERR file I have
Sep 27 04:01:54 (none) TmkAssertionFailure[797]: (BlockFailure, line 1771 ())
Sep 27 04:01:54 (none) tivosh[797]: Tmk Fatal Error: Thread tivosh <797> died due to signal -2
Sep 27 04:01:54 (none) tivosh[797]: Tmk Thread Backtrace: 1a344ec 1a32a44 1a2ed70 1b95e0c 1c4d5e8 1c85910 1c85158 1c7aee0 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c849c0 1c85ec8 1c4d248 1c28cac 1800134 ipe
Sep 27 04:01:54 (none) tivosh[797]: Tmk Fatal Error: Thread died due to signal -2
Sep 27 04:01:54 (none) tivosh[797]: Invoking rule 834: rebooting system
The call to the tcl in the cron tab is as follows, and did work up until the weekend.
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# for TiVo: This file doesn't use a user field like system-wide crontabs
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/var/hack/bin
MFS_DEVICE=/dev/hda10
TIVO_ROOT=""
# m h dom mon dow command
0 4 * * * /tvbin/tivosh /var/hack/dailymail_jazz/dailymail_jazz.tcl > /var/log/dailymail_jazz.log 2>&1
0 3 * * * /tvbin/tivosh /var/hack/dedupe.tcl > /var/log/dedupe.log 2>&1
0 2 * * * /tvbin/tivosh /var/hack/delmanual.tcl -d -l > /var/log/delmanual.log 2>&1
Any ideas??? Please??
It will run ok in tivoweb...
sanderton
09-27-2004, 05:16 AM
Do you have a particularly big NP or To Do list? I've seen/made TiVo crash when you go much beyone 200 NP items. It's a memory issue. Try increasing the memory allocated to DailyMail - do a search on POOLSIZE to find out how.
6022tivo
09-27-2004, 05:23 AM
Now Playing has 20 recordings and about 15 suggestions currently.
About 50 items in the TODO list. DailyMail setup for 48 Hrs..
Works ok from tivoweb. Will have a look at the POOLSIZE thingy, cheers.
Also what does the "2>&1" do at the end of every line in the crontab file??
A
2>&1 is used by the shell (bash/sh/tivosh?) to redirect the standard error channel to whereever the standard output channel is going.
-- gyre --
6022tivo
09-28-2004, 05:16 PM
Well the end of my crontab is as follows.
0 4 * * * /tvbin/tivosh /var/hack/dailymail_jazz/dailymail_jazz.tcl > /var/log/dailymail_jazz.log 2>&1
0 3 * * * /tvbin/tivosh /var/hack/dedupe.tcl > /var/log/dedupe.log 2>&1
0 2 * * * /tvbin/tivosh /var/hack/delmanual.tcl -d -l > /var/log/delmanual.log 2>&1
The job that runs at 2AM (delmaual.tcl) works fine.
The jobn that runs at 3AM (dedupe.tcl) errors with
on get CallSign"
("uplevel" body line 5)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set rec [db $db openid $fsid]
set show [dbobj $rec get Showing]
set station [dbobj $show get Station]
set callsign ..."
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFile fsid name type "/Recording/Active" "4" {
RetryTransaction {
set rec [db $db openid $fsid]
set show [dbobj $rec get Showing]
..."
(file "/var/hack/dedupe.tcl" line 103)
And the dailymail job starting at 4am fails with
04:01:27-debug-item status : >>NoReno such object: {CONFLICT err=errTmActiveLockConflict}
while executing
"dbobj $station fsid"
("uplevel" body line 10)
invoked from within
"uplevel $bodyno such object: {CONFLICT err=errTmActiveLockConflict}
while executing
"dbobj $station fsid"
("uplevel" body line 10)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type $path $prefix 10 {
set rec [db $db openid $fsid]
set showing [dbobj $rec get Showing]
set starttime [expr [db..."
(procedure "gettodo" line 198)
invoked from within
"gettodo $dmailHoursahead"
(procedure "outputSection" line 26)
invoked from within
"outputSection 3"
(file "/var/hack/dailymail_jazz/dailymail_jazz.tcl" line 3878)
Have I got too many "2>&1"
?????
The two failing TCL's work ok from a command prompt??
orvi-wan
10-01-2004, 03:58 AM
Can I make a suggestion for dailymail?
At the moment the link target is set to "_blank", so each link you click from the email opens in a new browser window. If you specified a target of "dailymail", then subsequent links would reuse the same window.
The only downside I can see is that the browser window may remain behind your email client. This could be sorted with <body onload="window.focus();">
Just a thought.
Does anyone know what could be causing the following error message?
The only real changes I have made to the cfg file apart from adding the SMTP details etc are disabing reddot, graphics, suggestioneq=false (as I do not want any changes to endpad being made as it works for me as it is).
TIA
------welcome to the jazzed dailymail program - v0.30
------the debug level is set at >>2<<
debug-global variable definition complete
debug-commence fooling tivoweb modules
debug-completed fooling tivoweb modules
debug-completed other preperation
debug-argument 1 passed in ::: >><<
debug-argument 2 passed in ::: >><<
debug-argument 3 passed in ::: >><<
debug-argument 4 passed in ::: >><<
debug-0 argument(s) found
debug-argument handling complete
debug-start optional message handling
debug-no message file found
debug-end optional message handling
debug-about to start version setting
debug-version3 : >>0<<
debug-uktivo : >>1<<
debug-dtivo : >>0<<
debug-version (for tivowebplus) : >>2.5<<
debug-completed version setting
debug-about to include util.itcl
debug-util.itcl included - about to include index.itcl
debug-index.itcl included
debug-about to assemble email
debug-creating heading
debug-heading created
debug-calculating uptime & reboot status
debug-checking for emergency temperature reading
debug-about to run temperature check
debug-temperature check run successfully
debug-checking phone & daily call status
debug-checking S.M.A.R.T. status
debug-calculating disk usage
debug-actual space free = 98 gig
debug-actual space on disks = 101 gig
debug-actual % free = 97.2%
debug-hecking endpad process currency
debug-pid number : >>126<<
debug-performing ps with pid
debug-ps unsuccessful
debug-compiling to do list
debug-need to look for overlapping programs with endpa
debug-27 items to investigate for endpad programme ove
debug-starting main to-do loop
invalid command name "RECORDING"
while executing
"RECORDING UNLIKELY"
("uplevel" body line 84)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type $path $prefix 10 {
set rec [db $db openid $fsid]
set showing [dbobj $rec get Showing]
set starttime [expr [db..."
(procedure "gettodo" line 186)
invoked from within
"gettodo $dmailHoursahead"
(procedure "outputSection" line 18)
invoked from within
"outputSection 1"
(file "/var/hack/dailymail_jazz.tcl" line 2710)
I have updated to the latest release and get the following error. Can anyone help me out? TIA
bash-2.02# dailymail_jazz.tcl
------welcome to the jazzed dailymail program - v0.35 (6th April 2004) - startin
g
------the debug level is set at >>3<<
------started at 12:55:00 (debugging times specified in gmt)
12:55:00-debug-global variable definition complete
12:55:00-debug-commence fooling tivoweb modules
12:55:00-debug-completed fooling tivoweb modules
12:55:00-debug-completed other preperation
12:55:00-debug-argument 1 passed in ::: >><<
12:55:00-debug-argument 2 passed in ::: >><<
12:55:00-debug-argument 3 passed in ::: >><<
12:55:00-debug-argument 4 passed in ::: >><<
12:55:00-debug-0 argument(s) found
12:55:00-debug-argument handling complete
12:55:00-debug-start optional message handling
12:55:00-debug-no message file found
12:55:00-debug-end optional message handling
12:55:02-debug-about to start version setting
12:55:06-debug-version3 : >>0<<
12:55:06-debug-uktivo : >>1<<
12:55:06-debug-dtivo : >>0<<
12:55:06-debug-version (for tivowebplus) : >>2.5<<
12:55:06-debug-completed version setting
12:55:06-debug-about to include util.itcl
12:55:10-debug-util.itcl included - about to include index.itcl
12:55:14-debug-index.itcl included
wrong # args: extra words after "else" clause in "if" command
while compiling
"if {$::version3} { ..."
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if {$::version3} {
set lconfig [db $db open /State/LocationConfig]
set setup [db $db open /State/ServiceConfig]
set tz ..."
(file "/var/hack/dailymail_jazz.tcl" line 2865)
bash-2.02#
Fozzie
10-10-2004, 09:17 AM
That isn't the latest version; v0.35.6 (14th April 2004) is. See previous page.
Still getting the same error. Anyone know what might be wrong?
TIA
------welcome to the jazzed dailymail program - v0.35.6 (14th April 2004) - star
ting
------the debug level is set at >>2<<
------started at 18:06:35 (debugging times specified in gmt)
18:06:35-debug-global variable definition complete
18:06:35-debug-commence fooling tivoweb modules
18:06:35-debug-completed fooling tivoweb modules
18:06:35-debug-completed other preperation
18:06:35-debug-argument 1 passed in ::: >><<
18:06:35-debug-argument 2 passed in ::: >><<
18:06:35-debug-argument 3 passed in ::: >><<
18:06:35-debug-argument 4 passed in ::: >><<
18:06:35-debug-0 argument(s) found
18:06:35-debug-argument handling complete
18:06:35-debug-start optional message handling
18:06:35-debug-no message file found
18:06:35-debug-end optional message handling
18:06:36-debug-about to start version setting
18:06:36-debug-version3 : >>0<<
18:06:36-debug-uktivo : >>1<<
18:06:36-debug-dtivo : >>0<<
18:06:36-debug-version (for tivowebplus) : >>2.5<<
18:06:36-debug-completed version setting
18:06:36-debug-about to include util.itcl
18:06:36-debug-util.itcl included - about to include index.itcl
18:06:36-debug-index.itcl included
18:06:36-debug-about to identify default recording quality information for space
calculations
18:06:36-debug-non version 3 specific code
18:06:36-debug-transaction attempt
18:06:36-debug-db open successfully
18:06:36-debug-about to set source directory.
18:06:36-debug-about to call get sizes module.
18:06:37-debug-about to set the now showing directory
18:06:37-debug-non version 3 specific code
18:06:37-debug-about to establish timezone offset
18:06:37-debug-transaction attempt
18:06:37-debug-non version 3 specific code
18:06:37-debug-db open successfully
18:06:37-debug-tzoffset : >>3600<<
18:06:37-debug-identified time zone offset : >>3600<<
18:06:37-debug-about to assemble e-mail
18:06:37-debug-creating heading
18:06:37-debug-heading created
18:06:37-debug-calculating uptime & reboot status
18:06:37-debug-checking for emergency temperature reading
18:06:37-debug-about to run temperature check
18:06:38-debug-temperature check run successfully
18:06:38-debug-checking phone & daily call status
18:06:38-debug-checking S.M.A.R.T. status
18:06:38-debug-drive A SMART check :
18:06:38-debug-disk failed SMART check - details shown here :
18:06:38-debug-************************************************************ *****
***************
smartctl version 5.1-9 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: SAMSUNG SV1204H
Serial Number: 0527J1FTC06102
Firmware Version: RK100-15
ATA Version is: 6
ATA Standard is: ATA/ATAPI-6 T13 1410D revision 1
Local Time is: Sun Oct 10 18:06:38 2004 localtime
SMART support is: Available - device has SMART capability.
SMART support is: Disabled
SMART Disabled. Use option -s with argument 'on' to enable it.
18:06:38-debug-************************************************************ *****
***************
18:06:38-debug-SMART command did not successfully run on disk B - check path & s
etup - or you do not have a second hard drive.
18:06:38-debug-calculating disk usage
18:06:47-debug-actual space free = 101 gig
18:06:47-debug-actual space on disks = 101 gig
18:06:47-debug-actual % used = 99.9%
18:06:47-debug-Checking endpad process currency.
18:06:47-debug-About to acquire pid number from endpad pid file.
18:06:47-debug-Endpad pid number gathered successfully.
18:06:47-debug-pid number : >>126<<
18:06:47-debug-performing ps command with pid
18:06:47-debug-the command being executed is >>exec /var/hack/bin/ps 126<<.
18:06:47-debug-ps command successful.
18:06:47-debug-endpadexecfilename: >>/var/hack/endpad.tcl<<.
18:06:47-debug-shellmsg (output from previous command): >> PID TTY STAT TIME CO
MMAND
126 ? S 0:28 tivosh /var/hack/endpad.tcl -s 2 -e 15 -sugeq -auto -run <<.
18:06:47-debug-about to validate that endpad filename is present in ps command o
utput.
18:06:47-debug-successfully found valid endpad filename in ps output
18:06:47-debug-About to check endpad log to ensure it has been modified within t
he last 5 minutes.
18:06:47-debug-collected stats about endpad log file successfully.
18:06:47-debug-modification time of endpad log file : >>1097431561<<.
18:06:47-debug-endpad daemon running ok.
18:06:47-debug-checking for new messages in tivo central
18:06:49-debug-compiling to do list
18:06:49-debug-need to look for overlapping programs with endpad
18:06:57-debug-33 items to investigate for endpad programme overlapping
18:06:57-debug-starting main to-do loop
invalid command name "RECORDING"
while executing
"RECORDING UNLIKELY"
("uplevel" body line 116)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type $path $prefix 10 {
set rec [db $db openid $fsid]
set showing [dbobj $rec get Showing]
set starttime [expr [db..."
(procedure "gettodo" line 198)
invoked from within
"gettodo $dmailHoursahead"
(procedure "outputSection" line 26)
invoked from within
"outputSection 1"
(file "/var/hack/dailymail_jazz.tcl" line 3876)
bash-2.02#
Fozzie
10-10-2004, 05:23 PM
Not sure, but you should enable SMART monitoring on your drive so you can check the status of it.
To enable SMART support, you have to run /var/hack/bin/smartctl -s /dev/hda for your first drive. If you have two drives, you need to also do /var/hack/bin/smartctl -s /dev/hdb.
Thanks for the tip on SmartCtl (needed to use "-s on" on my system). I still get the same error however - near the end of the log file it says invalid command name "RECORDING" and outputs some code debug lines.
Is anyone able to help with this problem?
TIA
07:52:20-debug-compiling to do list
07:52:20-debug-need to look for overlapping programs with endpad
07:52:28-debug-39 items to investigate for endpad programme overlapping
07:52:28-debug-starting main to-do loop
invalid command name "RECORDING"
while executing
"RECORDING UNLIKELY"
("uplevel" body line 116)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type $path $prefix 10 {
set rec [db $db openid $fsid]
set showing [dbobj $rec get Showing]
set starttime [expr [db..."
(procedure "gettodo" line 198)
invoked from within
"gettodo $dmailHoursahead"
(procedure "outputSection" line 26)
invoked from within
"outputSection 1"
(file "/var/hack/dailymail_jazz.tcl" line 3876)
bash-2.02#
Gotchaa
10-11-2004, 07:07 AM
Downloaded .35.6
having issues with get_space executing, anyone know what the differnce between ppc and mips is?
_____
------welcome to the jazzed dailymail program - v0.35.6 (14th April 2004) - star
ting
------the debug level is set at >>3<<
------started at 10:38:37 (debugging times specified in gmt)
10:38:37-debug-global variable definition complete
10:38:37-debug-commence fooling tivoweb modules
10:38:37-debug-completed fooling tivoweb modules
10:38:37-debug-completed other preperation
10:38:37-debug-argument 1 passed in ::: >><<
10:38:37-debug-argument 2 passed in ::: >><<
10:38:37-debug-argument 3 passed in ::: >><<
10:38:37-debug-argument 4 passed in ::: >><<
10:38:37-debug-0 argument(s) found
10:38:37-debug-argument handling complete
10:38:37-debug-start optional message handling
10:38:37-debug-no message file found
10:38:37-debug-end optional message handling
10:38:37-debug-about to start version setting
10:38:37-debug-version3 : >>1<<
10:38:37-debug-uktivo : >>0<<
10:38:37-debug-dtivo : >>0<<
10:38:37-debug-version (for tivowebplus) : >>3<<
10:38:37-debug-completed version setting
10:38:37-debug-about to include util.itcl
10:38:37-debug-util.itcl included - about to include index.itcl
10:38:37-debug-index.itcl included
10:38:37-debug-about to identify default recording quality information for space
calculations
10:38:37-debug-version 3 specific code
10:38:37-debug-transaction attempt
10:38:37-debug-db open successfully
10:38:37-debug-about to set source directory.
10:38:37-debug-about to call get sizes module.
/var/local/tivoweb-tcl/get_space: /var/local/tivoweb-tcl/get_space: cannot execu
te binary file
while executing
"error $error"
(procedure "get_totalsizes" line 9)
invoked from within
"get_totalsizes "
(file "./dailymail_jazz.tcl" line 3116)
------
Gotchaa
10-11-2004, 07:22 AM
Getting closer, found a mips copy of get_space and it worked....now I'm really stumped:
---------------
11:17:42-debug-compiling conflicts list
11:17:46-debug-started record history procedure
11:17:46-debug-mintime >>1097320666<<
11:17:46-debug-maxtime >>1097493466<<
can't open object (0x30007)
while executing
"db $db openidconstruction $id $subid"
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set channelobj [db $db openidconstruction $id $subid]
set record [defaultval 1 [dbobj $channelobj get Record]]
..."
(procedure "init_channelindex" line 52)
invoked from within
"init_channelindex"
(procedure "get_programshowings" line 45)
invoked from within
"get_programshowings $tofind_fsid 1"
(procedure "alt_showing_hist" line 7)
invoked from within
"alt_showing_hist $id $id2"
("uplevel" body line 96)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFile fsid name type "/Recording/History" "" {
if {$debuglvl>2} { puts "[clock format [clock seconds] -format {
%H:%M:%S} -gmt true]-debug-c..."
(procedure "recordhistory" line 47)
invoked from within
"recordhistory"
(procedure "outputSection" line 79)
invoked from within
"outputSection 4"
(file "./dailymail_jazz.tcl" line 3879)
>near the end of the log file it says invalid command name
>"RECORDING" and outputs some code debug lines.
I fixed my problem by setting SuggEq to true in dailymail.cfg
HTH
I have tried to find a quick answer but if someone can save me from looking through 1000 replies it would be greatly appreciated.
How do you download/setup cron?
I have looked a some early and some late replies and from what I can pick up there has been confusion on the correct version of cron to use etc.
Is there a FAQ or similar on where the files can be downloaded from and how they should be installed or is Stuarts HOWTO at the start of the thread adequate?
MANY TIA
Originally posted by pmk
>near the end of the log file it says invalid command name
>"RECORDING" and outputs some code debug lines.
I fixed my problem by setting SuggEq to true in dailymail.cfg
HTH
Arrrggghh. Just tried running it today and the same error is being displayed. Please if anyone can point me in the correct direction on why this is happening please post. It was working last night.
TIA
Gotchaa
10-12-2004, 12:25 PM
So now I am having a problem with sending e-mail's out, port connection is failing. I think my Tivo's networking is messed up, I can access from the web, but there is no dns amd the default gateway is set to 0.0.0.0.
What does the script call to make a socket connection? sendmail? if so where is it suppose to be stored and how can I test basic outbound connectivity ?
SolidTechie
10-13-2004, 04:18 AM
Originally posted by Gotchaa
So now I am having a problem with sending e-mail's out,
You've been <ahem> "optimizing" something, haven't you? ;)
the default gateway is set to 0.0.0.0.
Shouldn't be, and that's why you are having the problem.
To set it, telnet into your TiVo and run nic_config_tivo, then pick option 3 to set your ip address, and gateway. It usually needs to be set to the same ip address as the PC uses, type "ipconfig /all" in a dos window to check.
nic_config_tivo should be in /sbin - so should be on your TiVo's path. If it's not there, and you don't already have a copy on the install CD, you can download a copy from the SiliconDust (http://www.silicondust.com) web site - go for the drivers only, you don't need the whole CD.
Testing - try pinging your Router or PC from the TiVo.
HTH..
Gotchaa
10-13-2004, 05:19 AM
Well,
I've been adding my gateway manually, so I don't see why it would still fail
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.10.224 0.0.0.0 UG 0 0 0 et
I tried adding the nic_config_tivo binary, but it looks like I cannot execute that binary, not a permissions issue, but perhaps it's not a MIPS binary...
any suggestions?
SolidTechie
10-13-2004, 08:28 AM
Well, why? I don't know - we don't "do" series 2 TiVi in the UK.
But I do know it has failed. You can add it manually, or put the command to add it in your startup.
Or you can add it to cron, to call before running dailymail.
Without it, you aren't going anywhere outbound from the TiVo.
Gotchaa
10-13-2004, 01:02 PM
Thanks,
I've got outbound connectivity now, can even telnet to said smtp server from HDTivo but the script is still failing?
------
17:01:41-debug-subject: >>TiVo status e-mail for Wednesday October 13, 2004<<
17:01:41-debug-attempting to open socket 25 to mailserver specified >>169.232.46
.135<<
couldn't open socket: can't assign requested address
while executing
"socket -myaddr $tivoip $mailserver 25"
(procedure "sendmail" line 27)
invoked from within
"sendmail $mailserver $domain $recipient "TiVo status e-mail for [clock format [
clock seconds] -format {%A %B %d, %Y} -gmt true]" $message"
(file "./dailymail_jazz.tcl" line 3920)
smiffy
10-13-2004, 04:49 PM
I've had to rebuild m,y tivo and have just installed the latest version of Daily Mail
Ihave configured the .cfg file with my local SMTP server and the destination email address, but the email does not seem to be generated.
The level 2 log file is below, but perhaps I'm having a blonde moment, but I can't see why its failing.
------welcome to the jazzed dailymail program - v0.35 (6th April 2004) - starting
------the debug level is set at >>3<<
------started at 20:46:39 (debugging times specified in gmt)
20:46:39-debug-global variable definition complete
20:46:39-debug-commence fooling tivoweb modules
20:46:39-debug-completed fooling tivoweb modules
20:46:39-debug-completed other preperation
20:46:39-debug-argument 1 passed in ::: >><<
20:46:39-debug-argument 2 passed in ::: >><<
20:46:39-debug-argument 3 passed in ::: >><<
20:46:39-debug-argument 4 passed in ::: >><<
20:46:39-debug-0 argument(s) found
20:46:39-debug-argument handling complete
20:46:39-debug-start optional message handling
20:46:39-debug-no message file found
20:46:39-debug-end optional message handling
20:46:40-debug-about to start version setting
20:46:40-debug-version3 : >>0<<
20:46:40-debug-uktivo : >>1<<
20:46:40-debug-dtivo : >>0<<
20:46:40-debug-version (for tivowebplus) : >>2.5<<
20:46:40-debug-completed version setting
20:46:40-debug-about to include util.itcl
20:46:40-debug-util.itcl included - about to include index.itcl
20:46:40-debug-index.itcl included
and I get this error when I try and view the dailymail via tivo web
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 15)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--
Fozzie
10-13-2004, 04:53 PM
Originally posted by Fozzie
That isn't the latest version; v0.35.6 (14th April 2004) is.
;)
smiffy
10-13-2004, 04:56 PM
Originally posted by Fozzie
;)
Oh great and that came direct for TiVo Onions web site... looks like i'll have to read 50+ pages !!! :D
Fozzie
10-13-2004, 05:01 PM
Might not fix your problem though! Download it and try (Go here: http://www.deepinthejungle.com/Tivo/). Fingers crossed for you ;)
Ardham
10-14-2004, 10:21 AM
Is it posible to get a MIPS version of the binaries used?
All series 2 Tivo's use MIPS processors. Even the S2 DTiVo's are MIPS based.
I've been able to get just about all the hacks on my Tivo, including elseed, tivowebplus, etc... but all of these required the hard work of others as I don't have a linux box (aside from the tivo itself) to compile the binaries.
Tempting as it is to format my laptop and put linux on it, I need the MS Windows world for now, and I don't have a machine spare in my home to throw debian/redhat/etc onto something just to have a compiler.
smiffy
10-14-2004, 01:48 PM
Originally posted by Fozzie
Might not fix your problem though! Download it and try (Go here: http://www.deepinthejungle.com/Tivo/). Fingers crossed for you ;)
Thanks..... my PS wasn't executable.
Fozzie
10-14-2004, 01:56 PM
Originally posted by Ardham
Is it posible to get a MIPS version of the binaries used?I'm sure they're out there already. We're talking about 'ls', 'ps', 'smartctl' and 'get_space', yeah? The first two must exist, the third I have seen but don't know about the fourth. If I get time, I might be able to fish out 'smartctl'.
lcsneil
10-14-2004, 03:24 PM
Originally posted by Fozzie
I'm sure they're out there already. We're talking about 'ls', 'ps', 'smartctl' and 'get_space', yeah? The first two must exist, te able to fish out 'smartctl'.
Binaries info http://www.tivocommunity.com/tivo-vb/showthread.php?s=&threadid=170529
Neil
Gotchaa
10-14-2004, 04:23 PM
Is sendmail suppose to be installed? It seems the script calls it...
Fozzie
10-14-2004, 05:07 PM
Nope.
Is it possible to run dailymail so the debug messages are output to a text file?
TIA
Fozzie
10-15-2004, 01:43 PM
It is a text file. Just open it up with any text editor. ;)
Okay feeling stupid now but where is the log file created? Can find nothing in /var/hack where dailymail_jazz.tcl is located.
I need it to output to a text file as even though running dailmail at the telnet prompt appears to work, and the cron log file indicates the script is run every morning I never receive an email so something must be going wrong so I need it to write the debug messages to a text file when it is being run so I can see what is failing.
TIA
lcsneil
10-15-2004, 04:21 PM
/var/log ??
Neil
Originally posted by lcsneil
/var/log ??
Neil
Thanks but the one in this folder does not get updated if you run via Telnet it only seems to be created if you run via a link in the sent email e.g. 240 hours etc.
Worked it out you just do a redirect (seems to work I think):
dailymail_jazz.tcl > log.txt
HTH
Does anyone know the criteria for an item to be put in the "Conflicts" section of the email?
I current have one item listed but in the Rejected Recordings section several are listed as being Conflicts?
On closer inspection DailyMail Conflicts seems to match items marked as Bolded Conflict from TiVoWeb Recording History but none bolded conflicts are not included in DailyMail conflicts?
A small suggestion is it possible to say what programme is being conflicted with in the Rejected Recordings section? This would be brilliant if it could. It would allow you to quickly decide if there is a problem and you want the programme to be recorded.
TIA
Fozzie
10-16-2004, 05:26 AM
Originally posted by pmk
I need it to output to a text file as even though running dailmail at the telnet prompt appears to work, and the cron log file indicates the script is run every morning I never receive an email so something must be going wrong so I need it to write the debug messages to a text file when it is being run so I can see what is failing.
You could of course just click on the log file using the logs module of Tivoweb. ;)
ponto
10-17-2004, 09:41 AM
server seems to be down, could some kind soul please post a current version or a working link please, ta
cojonesdetoro
10-20-2004, 06:41 PM
Originally posted by ponto
server seems to be down, could some kind soul please post a current version or a working link please, ta
Still down. This is why it's not good for people to host their own stuff. Could someone upload the last .zip file?
Fozzie
10-20-2004, 06:49 PM
It's too big to post as an attachment. I've stuck it here (http://homepage.ntlworld.com/davemidd/DailyMail/dailymail%20v0.35.6%20beta.zip) for the time-being.
ponto
10-22-2004, 04:17 PM
Thanks very much
cojonesdetoro
10-22-2004, 04:38 PM
Originally posted by Fozzie
It's too big to post as an attachment. I've stuck it here (http://homepage.ntlworld.com/davemidd/DailyMail/dailymail%20v0.35.6%20beta.zip) for the time-being.
Thanks for the post.
EDIT: I wrote a bunch of stuff that had nothing to do with this... I'm tired, it's Friday...
cojonesdetoro
10-22-2004, 04:58 PM
I tried taking out the 'ls' , 'ps' and 'smartctl' binaries
These can be found elsewhere or previously installed versions
alextegg
10-28-2004, 04:30 AM
Eek! :eek:
My dailymail has been working fine for ages, and for the last 3 or 4 days I've received no email.
I've tried rebooting TiVo, I've telnetted to TiVo and run the script directly, it says mail sent, but nothing arrives :(
Any ideas on what might be causing it or other diagnosis I can do?
Alex
alextegg
10-28-2004, 04:34 AM
Have also checked the log, the tail of it looks like this, which looks ok to me:
Calculating disk usage...
Building usage diagram...
Checking endpad process currency...
pid number : 133
Performing ps with pid.....
ps successful.
Checking log file currency....
twominbeforestring: >>Oct 28 06:58<<
oneminbeforestring: >>Oct 28 06:59<<
nowstring: >>Oct 28 07:00<<
oneminafterstring: >>Oct 28 07:01<<
list message::
>> 8 -rw-r--r-- 1 0 0 7712 Oct 28 07:00 /var/log/endpad.log<<
log file found
endpad logfile status : ok
Checking for new messages in tivo central...
Compiling conflicts list...
Compiling to do list...
Compiling expiration list...
Got reply: 220 smtp-out4.blueyonder.co.uk SMTP Service Thu, 28 Oct 2004 08:00:42 +0100
Connected
Got reply: 250 smtp-out4.blueyonder.co.uk Hello [IPADDRESSREMOVED]
HELO acknowledged
Got reply: 250 2.1.0 EMAILREMOVED....Sender OK
From acknowledged
Got reply: 250 2.1.5 EMAILREMOVED
To acknowledged
Got reply: 354 Start mail input; end with <CRLF>.<CRLF>
Sending message...
Building Header...
Building Content....
html starts..
body starts..
body ends..
Got reply: 250 2.6.0 EMAILREMOVED Queued mail for delivery
Message sent
Got reply: 221 2.0.0 smtp-out4.blueyonder.co.uk Service closing transmission channel
Disconnected
If that helps!
iankb
10-28-2004, 06:17 AM
Is it being caught by a SPAM detector at your ISP? I sometimes wonder whether sending SMTP in it's raw form can trigger your ISP to think that you are sending SPAM, and they might even start blocking your mail altogether. Of course, it's maybe just a coincidence, and me becoming a bit paranoid. ;)
alextegg
10-28-2004, 06:47 AM
How can I tell?
I'd imagine that they wouldn't block email if it comes from one of their IP address range, but maybe?
And it's only suddenly started happening?
Anyone any ideas what I can do about it?
6022tivo
10-28-2004, 06:54 AM
I think there are some instructions in this thread to telnet to your isp's mail server and start an email and see when the mail server throws you out and what the error message is.
You could use an alternative mail server. Are there some public ones we could use, or even someone elses.
alextegg
10-28-2004, 07:57 AM
But the log shows the email server responds correctly, so if I telnet to it it will behave the same way?
It's not throwing me out before hand, it must be just deciding not to send the email if that is what is happening :(
Anyone know any public SMTP servers I could try? I would imagine these don't exist, or spammers would use them?
Alex
lcsneil
10-28-2004, 01:19 PM
Daft thought but I thought I had that problem for a while but it actually turned out to be my incoming email ISP which had picked up on some words in that particular email (words to do with the programmes) and had marked it as spam in the subject line.
Now my email client is set to filter email with my ISP Spam tags in the subject line straight to my trash folder.
So in fact they were being sent and delivered - I eventually found them in my own trash folder!!!
Neil
alextegg
10-28-2004, 01:54 PM
Mine goes to a yahoo account, so I don't think it's that. Any spam filtering they do is into a bulk mail folder and it's not appearing there :(
ponto
10-31-2004, 02:25 PM
There were a couple of posts earlier about sending (with cron) to more than one address, has anyone got this working? how did you do it please?
alextegg
11-01-2004, 09:48 AM
OK, now my problem is wierder than I thought. Friday, Saturday and Sunday's emails suddenly came through as expected on each of those days, though the ones prior to that were lost and never arrived. But now I haven't received one again for Monday.
Any ideas anyone?
lcsneil
11-01-2004, 01:30 PM
Your Tivo didn't by any chance reboot during the email process?
What do the logs say?
Neil
mrtickle
11-01-2004, 08:34 PM
Originally posted by ponto
There were a couple of posts earlier about sending (with cron) to more than one address, has anyone got this working? how did you do it please?
This is mine - all on one line in the crontab file (this is for sending at 10:02 Mon-Thurs)
02 10 * * 1-4 /tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl email@address1.co.uk email@address2.co.uk > /var/log/dailymail_jazz.log 2>&1
Replace the email addresses as required. NB It won't use the configured email address when you run it like this, so if you want to send to the configured one as well you need to include it in the command above. HTH
alextegg
11-02-2004, 04:52 AM
lcsneil,
No, no reboot. Log entry posted earlier in the trail. The email appears to go fine according to that, but never arrives.
Alex
alextegg
11-03-2004, 04:57 AM
Doh!
This is very frustrating. Since the couple of emails I got at the weekend I've received no more since.
I'm going to try sending to an alternate email address to see if the destination account is the problem. Though, I can't understand how it would produce an intermittent problem, rather than a permanent failure :eek:
Alex
iankb
11-03-2004, 05:17 AM
I blame it all on Echelon. It's probably picking up trigger words within documentary details in your emails, such as El Qaeda, etc. :o
lcsneil
11-03-2004, 01:21 PM
Originally posted by alextegg
lcsneil,
No, no reboot. Log entry posted earlier in the trail. The email appears to go fine according to that, but never arrives.
Alex
Well according to the logs your ISP's mail server accepted it OK, so I would sumise that it is the recipient email address (it isn't an orange.net account is it by any chance?)
Suggest you try an alternative address as a test.
Neil
smokie
11-03-2004, 02:17 PM
I had the same problem - intermittently (and randomly) TiVo generated mails were not forwarded by my webhost. In the end I now send them direct to my "local" email address. Never did find out what was wrong.
alextegg
11-04-2004, 10:09 AM
It's a yahoo mail account. It only occassionally works. Now I send it to my work account, it's working. I don't want it to go to work though, I want it to Yahoo!!!
Alex
smokie
11-04-2004, 11:33 AM
Set up a rule at work to forward it and see what happens.
alextegg
11-04-2004, 11:44 AM
Thought of that, but work stop rules working as we are not allowed to send client confidential stuff out over the internet :(
lcsneil
11-04-2004, 12:29 PM
Whic I guess proves it's your mail account rather than Tivo!
:)
Well I don't have a yahoo account. What sort of Spam filtering does it have?
You sure it isn't getting trapped by that somehow?
Neil
alextegg
11-04-2004, 01:33 PM
Yes, reached that conclusion myself now :(
It has a bulk mail folder and all spam should be put into that so you can view it if you need to. It's not supposed to remove any spam completely!
Might have to switch over to that gmail account after all.... :mad:
Alex
ponto
11-04-2004, 06:00 PM
Originally posted by mrtickle
This is mine - all on one line in the crontab file (this is for sending at 10:02 Mon-Thurs)
02 10 * * 1-4 /tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl email@address1.co.uk email@address2.co.uk > /var/log/dailymail_jazz.log 2>&1
Replace the email addresses as required. NB It won't use the configured email address when you run it like this, so if you want to send to the configured one as well you need to include it in the command above. HTH
thats great - thanks a lot
SolidTechie
11-05-2004, 04:02 AM
Don't know if this is going to help:
I send to Yahoo daily without a problem. I notice though, you are using your isp (Blueyonder) to send through - why not change it to Yahoo?
alextegg
11-05-2004, 04:17 AM
Hmm, will try that. Do you know what the smtp server for yahoo is and is it open to people who don't subscribe to their pop forwarding service?
SolidTechie
11-05-2004, 06:14 AM
You can try the one I use, which is:
216.136.173.18
set your domain for yahoo.com, user name as username@yahoo.co.uk(or com whichever you are) and you e-mail address as usual. Don't forget, you'll need to re-encrypt in base 64 your username and password, if they are different for this server.
ponto
11-06-2004, 04:22 AM
Originally posted by mrtickle
This is mine - all on one line in the crontab file (this is for sending at 10:02 Mon-Thurs)
02 10 * * 1-4 /tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl email@address1.co.uk email@address2.co.uk > /var/log/dailymail_jazz.log 2>&1
Replace the email addresses as required. NB It won't use the configured email address when you run it like this, so if you want to send to the configured one as well you need to include it in the command above. HTH
This causes a reboot - from end of log:-
mempool to /tmp/BlockFailure.250
Tmk Assertion Failure:
BlockFailure, line 1771 ()
Tmk Fatal Error: Thread tivosh <250> died due to signal -2
1a344ec 1a32a44 1a2ed70 1b95e0c 1c4d5e8 1c91a7c 1c68098 1c61118 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c8e4e0 1c77e7c 1c61a10 1c849c0 1c85ec8 1c4d248 1c28cac 1800134
any ideas?
lcsneil
11-06-2004, 04:30 AM
I presume you have set export TIVOSH_POOLSIZE=3244032 ?
Guess as you are sending to two email addys it is using more memory.
This error looking similar to those earlier in this thread caused by memory probs.
Neil
6022tivo
11-06-2004, 09:02 AM
Mine used to reboot using the same.
I created a script .sh file with the command in, then called the script from cron.
I think if the dailymail runs over a minute, something to do with cron gets upset (maybe version) and the tivo reboots. Mine used to a minute after the dailmail was kicked off. Now it runs as a script it is fine.
Fozzie
11-06-2004, 01:55 PM
I call this script from cron:
#!/bin/sh
export TIVOSH_POOLSIZE=3244032
/var/hack/dailymail_jazz.tcl > /var/log/dailymail_poolsize 2>&1
cmylxgo
11-08-2004, 06:45 PM
I just upgraded my DirecTivo to 4.0.1b and I have not be able to get dailymail to work. I have tried all version listed in this thread with the same results. Below is my debug...
------welcome to the jazzed dailymail program - v0.35.6 (14th April 2004) - starting
------the debug level is set at >>3<<
------generated content presented in American English for your reading pleasure!
------started at 23:35:01 (debugging times specified in gmt)
23:35:01-debug-global variable definition complete
23:35:01-debug-commence fooling tivoweb modules
23:35:01-debug-completed fooling tivoweb modules
23:35:01-debug-completed other preperation
23:35:01-debug-argument 1 passed in ::: >><<
23:35:01-debug-argument 2 passed in ::: >><<
23:35:01-debug-argument 3 passed in ::: >><<
23:35:01-debug-argument 4 passed in ::: >><<
23:35:01-debug-0 argument(s) found
23:35:01-debug-argument handling complete
23:35:01-debug-start optional message handling
23:35:01-debug-no message file found
23:35:01-debug-end optional message handling
23:35:01-debug-about to start version setting
23:35:02-debug-version3 : >>1<<
23:35:02-debug-uktivo : >>0<<
23:35:02-debug-dtivo : >>0<<
23:35:02-debug-version (for tivowebplus) : >>3<<
23:35:02-debug-completed version setting
23:35:02-debug-about to include util.itcl
23:35:02-debug-util.itcl included - about to include index.itcl
23:35:02-debug-index.itcl included
23:35:02-debug-about to identify default recording quality information for space calculations
23:35:02-debug-version 3 specific code
23:35:02-debug-transaction attempt
23:35:02-debug-db open successfully
23:35:02-debug-about to set source directory.
23:35:02-debug-about to call get sizes module.
23:35:02-debug-about to set the now showing directory
23:35:02-debug-version 3 specific code
23:35:02-debug-about to establish timezone offset
23:35:02-debug-transaction attempt
23:35:02-debug-version 3 specific code
23:35:02-debug-db open successfully
23:35:02-debug-db open successfully
invalid attribute: TimeZoneOld
while executing
"dbobj $lconfig get TimeZoneOld"
("uplevel" body line 9)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if {$debuglvl>1} { puts "[clock format [clock seconds] -format {%H:%M:%S} -gmt true]-debug-transaction attempt"}
if {$version3 ..."
(file "./dailymail_jazz.tcl" line 3133)
Basement:/hack$
-------------------------------------------------------------------------------------
I had dailymail working for several months on 3.1.1c. Looking at the debug I see that it shows that I am running version 3. I have tried setting the value version3 to false in the config file and it does not make a difference. I also noticed that dtivo is set to 0...shouldn't it be set to 1?
I love my daily emails and have spent the last week trying to debug this without any luck. I was able to get this to work once editing out some code for the tzoffset but the data that was generated was just about useless.
Thanks.
TimTrace
11-30-2004, 04:43 PM
Log stops at "about to call get sizes module".
US TiVo SAS1 @ 3.0-01-1-000 .
dailymail_jazz v0.35.6 .
get_space is in /var/hack/bin and chmod 755. Same goes for PS and LS . All three can be called in a telnet session.
Help?
TimTrace
12-05-2004, 10:32 AM
Stumped ya?
6022tivo
12-05-2004, 02:37 PM
Use the more recent version of DailyMail, look further up the thread
TimTrace
12-05-2004, 03:08 PM
Originally posted by 6022tivo
Use the more recent version of DailyMail, look further up the thread From my first post, I'm using v0.35.6, taken directly from the author's web server.
It's unlikely that a more recent version exists elsewhere.
6022tivo
12-05-2004, 03:52 PM
Sorry Tim, you are right..
goodisonboy
12-16-2004, 04:50 AM
I've noticed that in the Expiry Section of my Dailymail The Channel Listed for every Program is always the Same.. e.g
Thu, 16 Dec
Thomas the Tank Engine Recorded Tue, 14 Dec 14:29 NICKJR - Expires Thu 14:30
Raven Recorded Tue, 14 Dec 07:57 NICKJR - Expires Thu 08:00
Time Gentlemen Please Recorded Wed, 15 Dec 22:07 NICKJR - Expires Thu 22:00
I Spy Recorded Wed, 15 Dec 17:57 NICKJR - Expires Thu 21:00
Time Gentleman Please is certainly not on NickJr !
Does anyone else's mail show this? Is this a bug or is my Tivo behaving oddly?
I'm using: jazzed dailymail program - v0.35.6 (14th April 2004)
Prof. Yaffle
12-16-2004, 04:57 AM
Hmmm......... Mine does the same but with ITV2 instead of NickJr. Never spotted that before!
goodisonboy
12-16-2004, 05:08 AM
It Seems that it uses The Last Channel mentioned in the 'To Do' Section for all of this section..
I looked at the code for an obvious problem but TCL is a foreign language to me..
I can see why my job is "Software Testing" not "Software Fixing" :)
finster869
12-18-2004, 10:18 PM
Log stops at "about to call get sizes module".
US TiVo SAS1 @ 3.0-01-1-000 .
dailymail_jazz v0.35.6 .
get_space is in /var/hack/bin and chmod 755. Same goes for PS and LS . All three can be called in a telnet session.
Help?".
I have the same problem as Tim. I am also using a US TIVO SAS1 3.0. Any suggestions???
ash_bluewomble
12-22-2004, 06:13 AM
Just installed dailymail and cron -- it's _fantastic_!
I also run Sanderton's excellent Tracker module for TivoWeb to keep track of programs I have watched before (but fall outside of the 28 day limit)
I was thinking... wouldn't it be fantastic if dailymail could also update the tracking list when it runs (doing exactly the same as clicking "Create/Update Tracking List" in TW.)
Also, it would be great to have another section in the dailymail, which lists all the duplicate recordings found by tracker -- very similar to the "Process To-Do List" option of Tracker in TW -- except only the items which are checked would be displayed in the mail (again, with checkboxes and a "Delete Checked Shows" link at the bottom...)
sanderton
12-22-2004, 06:20 AM
I haven't tried this, but you should be able to use cron to run http_get with the URL to update Tracker to do that.
peterjfrancis
12-26-2004, 03:32 PM
Hi All
I've just installed Dailymail and I'm having problems getting it running.
I've attached a copy of the debug
Any help would be appreciated
------welcome to the jazzed dailymail program - v0.30 (24/02/2004) - starting
------the debug level is set at >>2<<
debug-global variable definition complete
debug-commence fooling tivoweb modules
debug-completed fooling tivoweb modules
debug-completed other preperation
debug-argument 1 passed in ::: >>peter.francis@ic24.net<<
debug-argument 2 passed in ::: >><<
debug-argument 3 passed in ::: >><<
debug-argument 4 passed in ::: >><<
debug-1 argument(s) found
debug-a new recipient email found in argument 1
debug-recipient email value is now : >>peter.francis@ic24.net<<
debug-argument handling complete
debug-start optional message handling
debug-no message file found
debug-end optional message handling
debug-about to start version setting
debug-version3 : >>0<<
debug-uktivo : >>1<<
debug-dtivo : >>0<<
debug-version (for tivowebplus) : >>2.5<<
debug-completed version setting
debug-about to include util.itcl
debug-util.itcl included - about to include index.itcl
debug-index.itcl included
debug-about to assemble email
debug-creating heading
debug-heading created
debug-calculating uptime & reboot status
debug-checking for emergency temperature reading
debug-about to run temperature check
debug-temperature check run successfully
debug-checking phone & daily call status
debug-checking S.M.A.R.T. status
debug-calculating disk usage
debug-actual space free = 64 gig
debug-actual space on disks = 101 gig
debug-actual % free = 63.3%
debug-building usage diagram
debug-hecking endpad process currency
debug-pid number : >><<
debug-no pid file
debug-checking for new messages in tivo central
debug-compiling to do list
debug-need to look for overlapping programs with endpad
debug-2 items to investigate for endpad programme overlapping
debug-starting main to-do loop
debug-compiling expiration list
debug-compiling conflicts list
debug-reading the temperature, calculating uptime, checking what's running
debug-about to run thermal check
debug-thermal check run
debug-about to run uptime check
debug-uptime check run
debug-about to run ps
BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 46: elf_get_dynamic_info: Assertion
`! "bad dynamic tag"' failed!
while executing
"exec $shellcmd x"
(procedure "gettempuptime" line 41)
invoked from within
"gettempuptime"
(procedure "outputSection" line 33)
invoked from within
"outputSection 4"
(file "/var/hack/dailymail_jazz.tcl" line 2713)
TiVo: {/var/hack/bin} %
Fozzie
12-26-2004, 07:30 PM
Start by running the latest version. See posts earlier in this thread...
finster869
12-29-2004, 08:15 PM
I'm running a Series1 standalone with 3.0. I can't seem to get this to work. Here is my log file:
------welcome to the jazzed dailymail program - v0.35.6 (14th April 2004) - starting
------the debug level is set at >>3<<
------generated content presented in American English for your reading pleasure!
------started at 01:12:08 (debugging times specified in gmt)
01:12:08-debug-global variable definition complete
01:12:08-debug-commence fooling tivoweb modules
01:12:08-debug-completed fooling tivoweb modules
01:12:08-debug-completed other preperation
01:12:08-debug-argument 1 passed in ::: >><<
01:12:08-debug-argument 2 passed in ::: >><<
01:12:08-debug-argument 3 passed in ::: >><<
01:12:08-debug-argument 4 passed in ::: >><<
01:12:08-debug-0 argument(s) found
01:12:08-debug-argument handling complete
01:12:08-debug-start optional message handling
01:12:08-debug-no message file found
01:12:08-debug-end optional message handling
01:12:08-debug-about to start version setting
01:12:08-debug-version3 : >>1<<
01:12:08-debug-uktivo : >>0<<
01:12:08-debug-dtivo : >>0<<
01:12:08-debug-version (for tivowebplus) : >>3<<
01:12:08-debug-completed version setting
01:12:08-debug-about to include util.itcl
01:12:08-debug-util.itcl included - about to include index.itcl
01:12:09-debug-index.itcl included
01:12:09-debug-about to identify default recording quality information for space calculations
01:12:09-debug-version 3 specific code
01:12:09-debug-transaction attempt
01:12:09-debug-db open successfully
01:12:09-debug-about to set source directory.
01:12:09-debug-about to call get sizes module.
As the user above posted earlier in this thread, it always gets stuck in this spot. Any suggestions?
finster869
12-29-2004, 08:15 PM
I'm running a Series1 standalone with 3.0. I can't seem to get this to work. Here is my log file:
------welcome to the jazzed dailymail program - v0.35.6 (14th April 2004) - starting
------the debug level is set at >>3<<
------generated content presented in American English for your reading pleasure!
------started at 01:12:08 (debugging times specified in gmt)
01:12:08-debug-global variable definition complete
01:12:08-debug-commence fooling tivoweb modules
01:12:08-debug-completed fooling tivoweb modules
01:12:08-debug-completed other preperation
01:12:08-debug-argument 1 passed in ::: >><<
01:12:08-debug-argument 2 passed in ::: >><<
01:12:08-debug-argument 3 passed in ::: >><<
01:12:08-debug-argument 4 passed in ::: >><<
01:12:08-debug-0 argument(s) found
01:12:08-debug-argument handling complete
01:12:08-debug-start optional message handling
01:12:08-debug-no message file found
01:12:08-debug-end optional message handling
01:12:08-debug-about to start version setting
01:12:08-debug-version3 : >>1<<
01:12:08-debug-uktivo : >>0<<
01:12:08-debug-dtivo : >>0<<
01:12:08-debug-version (for tivowebplus) : >>3<<
01:12:08-debug-completed version setting
01:12:08-debug-about to include util.itcl
01:12:08-debug-util.itcl included - about to include index.itcl
01:12:09-debug-index.itcl included
01:12:09-debug-about to identify default recording quality information for space calculations
01:12:09-debug-version 3 specific code
01:12:09-debug-transaction attempt
01:12:09-debug-db open successfully
01:12:09-debug-about to set source directory.
01:12:09-debug-about to call get sizes module.
As the user above posted earlier in this thread, it always gets stuck in this spot. Any suggestions?
webdeck
01-01-2005, 06:57 PM
Here are some improvements I'd like to contribute to v0.35.6 beta. There are a couple of changes.
First, the addition of the tivowebbindir config - this is because tivowebplus puts get_space in bin_mips or bin_ppc, depending on s1 or s2 TiVo.
Second, I added detection of the Autospace hack.
Third, I added a wrapper bash script, dailymail_jazz, based off the tivowebplus startup wrapper, that sets TIVOSH_POOLSIZE to a larger value to prevent random crashes.
The changes are available at:
http://www.webdeck.com/dailymail/
Make sure you "chmod +x dailymail_jazz"
Enjoy!
-Mike
Cowboy2005
01-01-2005, 08:36 PM
I have a DirectTivo series 1 with the latest dailymail_jazz version and tivoweb-plus. I can use TivoWeb to send a dailymail email. I can also send it via a telnet session, but when ran through cron it doesn't send run. In fact it appears as though it never successfully executes. I've read all this thread on cron entry stuff, but it still doesn't work. Here's a snipit of the relavant crontab....
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/var/hack/bin
TZ=CST6CDT
MFS_DEVICE=/dev/hda10
TIVO_ROOT=""
TIVOSH_POOLSIZE=2916352
0 6 * * * /var/hack/dailymail/dailymail_jazz.tcl
Any ideas?
Fozzie
01-02-2005, 04:08 AM
Thanks webdeck - looks like some useful additions.
Quick question as I'm showing my ignorance (and being a bit lazy), how does one use the diff files to apply the patches?
Many thanks.
webdeck
01-02-2005, 09:26 PM
Quick question as I'm showing my ignorance (and being a bit lazy), how does one use the diff files to apply the patches?
Go to the directory containing the files and do:
patch < patchfile
I don't know if the TiVo supports patch - you may need to do it on a *nix box instead.
The changes are very minor - you could just make them by hand if you can't get patch to work. The patch file is just the output of "diff -c oldfile newfile".
-Mike
finster869
01-02-2005, 10:08 PM
Log stops at "about to call get sizes module".
Tim Trace:
the get_size file must be placed in /var/hack/tivoweb-tcl (the directions say to put it in bin which might be what is causing the confusion).
Make sure to chmod 755 it.
peterjfrancis
01-03-2005, 02:53 PM
When I try to generate a standard e-mail I get the following error
INTERNAL SERVER ERROR
--cut here--
action_extramail '' ''
child process exited abnormally
while executing
"exec $preshell $command > $postcommand 2>&1"
(procedure "::action_extramail" line 19)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--
looking at the log it ends
19:47:16-debug-about to run uptime check
19:47:16-debug-uptime check run
19:47:18-debug-about to run ps
I'm running the latest version v0.35.6.
When I telnet in and run ps I get the following.
TiVo: {/var/hack/bin} % ps
BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 46: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed!
Any ideas on what is happening (or not happening ! )
tefster
01-03-2005, 03:01 PM
I've seen this before on either Linux systems and its normally been due to
either; mismatches between the libc version present and the version required,
a corrupted libc, or a corrupted binary. Silly question but did you ftp the ps
binary over in binary or ascii mode ?
finster869
01-03-2005, 08:01 PM
I'm trying to get this to run on a standalone series 2 running 4.01b. I am having the same problem that another reported earlier in this thread, namely the code sets off an error message at the timezone setting. Here is the code:
I have tried all version listed in this thread with the same results. Below is my debug...
------welcome to the jazzed dailymail program - v0.35.6 (14th April 2004) - starting
------the debug level is set at >>3<<
------generated content presented in American English for your reading pleasure!
------started at 23:35:01 (debugging times specified in gmt)
23:35:01-debug-global variable definition complete
23:35:01-debug-commence fooling tivoweb modules
23:35:01-debug-completed fooling tivoweb modules
23:35:01-debug-completed other preperation
23:35:01-debug-argument 1 passed in ::: >><<
23:35:01-debug-argument 2 passed in ::: >><<
23:35:01-debug-argument 3 passed in ::: >><<
23:35:01-debug-argument 4 passed in ::: >><<
23:35:01-debug-0 argument(s) found
23:35:01-debug-argument handling complete
23:35:01-debug-start optional message handling
23:35:01-debug-no message file found
23:35:01-debug-end optional message handling
23:35:01-debug-about to start version setting
23:35:02-debug-version3 : >>1<<
23:35:02-debug-uktivo : >>0<<
23:35:02-debug-dtivo : >>0<<
23:35:02-debug-version (for tivowebplus) : >>3<<
23:35:02-debug-completed version setting
23:35:02-debug-about to include util.itcl
23:35:02-debug-util.itcl included - about to include index.itcl
23:35:02-debug-index.itcl included
23:35:02-debug-about to identify default recording quality information for space calculations
23:35:02-debug-version 3 specific code
23:35:02-debug-transaction attempt
23:35:02-debug-db open successfully
23:35:02-debug-about to set source directory.
23:35:02-debug-about to call get sizes module.
23:35:02-debug-about to set the now showing directory
23:35:02-debug-version 3 specific code
23:35:02-debug-about to establish timezone offset
23:35:02-debug-transaction attempt
23:35:02-debug-version 3 specific code
23:35:02-debug-db open successfully
23:35:02-debug-db open successfully
invalid attribute: TimeZoneOld
while executing
"dbobj $lconfig get TimeZoneOld"
("uplevel" body line 9)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if {$debuglvl>1} { puts "[clock format [clock seconds] -format {%H:%M:%S} -gmt true]-debug-transaction attempt"}
if {$version3 ..."
(file "./dailymail_jazz.tcl" line 3133)
Any suggestions for getting this to work on a series 2?
finster869
01-03-2005, 08:31 PM
Got it past the line 3133 error on version 4.0 by modifying the line to:
set tz ""
instead of "dbobj $lconfig get TimeZoneOld"
It now produces the email and seems to run fine. The only problem is that the times in the email are all 5 hours ahead of my actual time. Can anybody help me with some code to fix the problem? I am assuming I need to set tz to something.
finster869
01-03-2005, 09:14 PM
I set tz to -5 and it works. I am assuming I will have to manually adjust it to account for daylight savings time at some point, but no big deal.
aleckon
01-04-2005, 11:57 PM
Hi,
Has anyone got a fix for the get sizes problem?
Here is my debug output....
------welcome to the jazzed dailymail program - v0.35.6 (14th April 2004) - starting
------the debug level is set at >>3<<
------started at 11:02:33 (debugging times specified in gmt)
11:02:33-debug-global variable definition complete
11:02:33-debug-commence fooling tivoweb modules
11:02:33-debug-completed fooling tivoweb modules
11:02:33-debug-completed other preperation
11:02:33-debug-argument 1 passed in ::: >><<
11:02:33-debug-argument 2 passed in ::: >><<
11:02:33-debug-argument 3 passed in ::: >><<
11:02:33-debug-argument 4 passed in ::: >><<
11:02:33-debug-0 argument(s) found
11:02:33-debug-argument handling complete
11:02:33-debug-start optional message handling
11:02:33-debug-no message file found
11:02:33-debug-end optional message handling
11:02:33-debug-about to start version setting
11:02:33-debug-version3 : >>1<<
11:02:33-debug-uktivo : >>0<<
11:02:33-debug-dtivo : >>0<<
11:02:33-debug-version (for tivowebplus) : >>3<<
11:02:33-debug-completed version setting
11:02:33-debug-about to include util.itcl
11:02:33-debug-util.itcl included - about to include index.itcl
11:02:33-debug-index.itcl included
11:02:33-debug-about to identify default recording quality information for space calculations
11:02:33-debug-version 3 specific code
11:02:33-debug-transaction attempt
11:02:34-debug-db open successfully
11:02:34-debug-about to set source directory.
11:02:34-debug-about to call get sizes module.
Should I have a get_sizes file in tivowepplus?? I cannot find one - everything else seems to work ok.
cheers
alec
finster869
01-05-2005, 08:36 AM
If you look about 6 or 7 posts up I printed the fix to the get_size problem:
the get_size file must be placed in /var/hack/tivoweb-tcl (the directions say to put it in bin which might be what is causing the confusion).
Make sure to chmod 755 it.
If you installed tivowebplus to the default location during installation, then place it in : /var/local/tivoweb-tcl
aleckon
01-05-2005, 08:27 PM
thanks finster
I saw your earlier post, but I have been looking for a get_size file - but realise now you mean get_space file.
All working here now
regards
alec
jdockstader
01-08-2005, 07:22 AM
Dailymail was running fine for me on my series 1 SA and then stopped running after a reboot. The log seems to indicate the problem is in send mail
------welcome to the jazzed dailymail program - v0.35.6 (14th April 2004) - starting
------the debug level is set at >>2<<
------generated content presented in American English for your reading pleasure!
------started at 11:47:26 (debugging times specified in gmt)
11:47:26-debug-global variable definition complete
11:47:26-debug-commence fooling tivoweb modules
11:47:26-debug-completed fooling tivoweb modules
<<snip>>
11:48:12-debug-e-mail required
11:48:12-debug-about to send e-mail
11:48:12-debug-entered sendmail procedure
11:48:12-debug-variable check:
11:48:12-debug-mailserver : >>63.240.76.151<<
11:48:12-debug-domain : >>comcast.net<<
11:48:12-debug-recipient : >>EMAIL REMOVED<<
11:48:12-debug-subject: >>TiVo status e-mail for Saturday January 08, 2005<<
11:48:12-debug-attempting to open socket 25 to mailserver specified >>63.240.76.151<<
couldn't open socket: connection refused
while executing
"socket -myaddr $tivoip $mailserver 25"
(procedure "sendmail" line 27)
invoked from within
"sendmail $mailserver $domain $recipient "TiVo status e-mail for [clock format [clock seconds] -format {%A %B %d, %Y} -gmt true]" $message"
(file "/var/hack/dailymail/dailymail_jazz.tcl" line 3920)
Any ideas on what I need to do to fix this?
sanderton
01-08-2005, 03:27 PM
Looks like a problem with either your network connection or the mail server.
bdeweese
01-10-2005, 04:16 PM
I have read and re-read posts regarding setting up a script to launch dailymail_jazz from cron. But obviously I'm still doing something wrong. I can call dailymail_jazz directly from crontabs without problem. I can also use the dmj.sh script and run it directly from bash. I am mainly trying to insert the larger poolsize variable, EXPORT TIVOSH_POOLSIZE=3244032 to hedge against memory issues. Is it necessary to run a script to accomplish this, or can that entry simply be added to the top section of my crontabs file (as I have done below), as I have seen in some other examples? When I try to launch it via script, my messages log shows the call to the dmj.sh script (the one that launches dailymail), but the scritp doesn't seem to ever run.
Here is what I have setup so far:
crontabs file (named "root")
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/var/hack/bin
MFS_DEVICE=/dev/hda10
TIVO_ROOT=""
EXPORT TIVOSH_POOLSIZE=3244032
# Monday=1, Tuesday=2, Wednesday=3, Thursday=4, Friday=5, Saturday=6, Sunday=7
# 1-5 = weekdays
# m h dom mon dow command
* */2 * * * date >> /var/hack/cron.test.out
# Times are all expressed in (PST) -- Vancouver, WA
# ten after three a.m.(PST) and (DST), Vancouver time, every night, run wipelogs.sh
10 03 * * * /var/spool/cron/crontabs/wipelogs.sh 2>&1
# twenty-five after three a.m.(PST) and (DST), Vancouver time, every night, update moviesearch
25 03 * * * /var/hack/tivowebplus/moviesort.tcl > /var/hack/log/moviesort 2>&1
# fifteen after six a.m.(PST) and (DST), Vancouver time, every day, push dailymail_jazz
15 06 * * * /tvbin/tivosh /var/hack/dailymail_jazz/dailymail_jazz.tcl > /var/log/dailymail_poolsize 2>&1
# fifteen after six a.m.(PST) and (DST), Vancouver time, every day, push dailymail_jazz
01 15 * * * /tvbin/tivosh /var/hack/dailymail_jazz/dailymail_jazz.tcl > /var/log/dailymail_poolsize 2>&1
# Fifteen after six a.m.(PST) and (DST), Vancouver time, every day, push dailymail_jazz
# 15 06 * * * /var/spool/cron/crontabs/dmj.sh 2>&1
Here is my dmj.sh script file:
#!/bin/sh
export TIVOSH_POOLSIZE=3244032
exec /tvbin/tivosh /var/hack/dailymail_jazz/dailymail_jazz.tcl > /var/log/dailymail_poolsize 2>&1
Currently I have remmed out the last line that launches the script and simply calling it directly from cron - which seems to work fine. But I'm not sure if the poolsize variable gets called this way. If it does then perhaps there's not need to worry about the script. Otherwise, can someone tell me why that last line in my crontabs file calling the dmj.sh script (if it were uncommented) shouldn't work with the dmj.sh scritp?
Thanks for the help!!
Bob
andyjenkins
01-19-2005, 07:46 AM
Anyone hosting the latest version of DailyMail ? DeepintheJungle appears to be down at the moment.
Also, a link to some decent instructions would be nice :)
Anyone ?
aleckon
01-19-2005, 03:43 PM
Hi bdeweese
try putting an extra blank line after you last cron entry - I think I remember reading that somewhere.
I call a RunDailyMail script
#!/bin/sh
export TIVOSH_POOLSIZE=3244032
/var/hack/dailymail/dailymail_jazz.tcl > /var/log/dailymail_poolsize 2>&1
(with the same code as yours) from my crontab entry :
19 9 * * 1-4 /var/hack/dailymail/RunDailyMail &
and it works well
hope it helps
alec
Fozzie
01-20-2005, 06:07 PM
Originally posted by andyjenkins
Anyone hosting the latest version of DailyMail ? DeepintheJungle appears to be down at the moment.
Also, a link to some decent instructions would be nice :)
Anyone ?
Page 59 ;)
iankb
01-20-2005, 06:56 PM
Originally posted by Fozzie
Page 59Fozzie, page numbers aren't very helpful since forum options allow you to change the number of posts per page. Use links to the post instead. :)
Fozzie
01-21-2005, 02:30 AM
Ta. Here:
http://www.tivocommunity.com/tivo-vb/showthread.php?s=&postid=2306602
vertigo235
01-22-2005, 10:59 PM
OK I so finally got this working, now how do I install and set up a CRON Job? Anywhere I can get help for this?
vertigo235
01-22-2005, 11:22 PM
arrrghhhh!!
Why is cron so impossible to find? Can someone tell me where to find cron for my S1 DTiVo (T-60)
?
vertigo235
01-23-2005, 01:37 AM
OK So I found cron and got it working, but now I get this error whenever it runs from cron or from the command line.
06:30:48-debug-compiling conflicts list
Dumping mempool to /tmp/BlockFailure.342
To view the blocks, run:
$TIVO_ROOT/devbin/poolview.tcl <app-with-symbols> /tmp/BlockFailure.342
In the UI that comes up, find your leaked block by address (see above)
This will help you identify the type and ownership of the blocks.
Common causes for leaks:
- Circular refs. Redefine ownership without circular dependency
- Explicit Malloc or GetChunk without Free or ReturnChunk
- Use of non-TmkCore objects, without using delete operator (TmkLock for example)
Tmk Assertion Failure:
BlockFailure, line 2150 ()
Tmk Fatal Error: Thread tivosh <342> died due to signal -2
1ad0770 1acf08c 1ac9390 1cf0f8c 1cfcd64 1d4860c 1d6546c 1d6509c 1d02284 1d0086c 1cfd2a0 1d59f70 1d479e0 1d6c214 1d59f70 1d479e0 1cfdce4 1cfd2a0 1d59f70 1d479e0 1d6c78c 1d59f70 1d479e0 1d6c78c 1d59f70 1d479e0 1d6c78c 1d59f70 1d479e0 1d6c78c 1d59f70 1d479e0 1d6c214 1d59f70 1d479e0 1d6c78c 1d59f70 1d479e0 1d6c78c 1d59f70 1d479e0 1d6c78c 1d59f70 1d479e0 1d64a78 1d65b84 1cfcd04 1cfca4c 1800134
vertigo235
01-23-2005, 02:25 AM
OK I got it all working, thanks for the help guys! :D
kautrey
01-28-2005, 02:53 PM
Hi -
I've made some changes to dailymail_jazz - which I'm denoting as 0.36 - attached below.
Changes:
If SMART errors are detected on a drive, those errors are displayed - prominently! - in the e-mail/HTML file
Various and sundry (and minor) formatting changes in the e-mail/HTML file
A Better Way (tm) to timezone offsets from GMT and Daylight Savings Time
Added ability to determine if EndPadPlus hack is running
If conflicts are detected and the confres (Conflict Resolver) module in TivoWebPlus is installed, then the e-mail/HTML page will have a shortcut form to use to get the conflict "resolved" to an alternate TiVo.
I'm new to TCL programming, so there may be errors - but it works quite well on my two S2 DirecTiVos. Given that, use at your own risk!
Regards,
Kevin
alanjrobertson
01-31-2005, 04:53 PM
Please help! - I had DailyMail running fine on my S1 TiVo for the past month or so. I managed to setup cron and it was happily e-mailiing me in the early hours of each morning. However about 2 weeks ago the e-mails stopped arriving.
I finally had a chance today to look and try and find out what the problem was. Initially I thought it was the IP address of the SMTP server - this seems to have changed so I updated this in the config. However it still doesn't send a message. I changed the debug level to three and it all seems to run fine (including connecting to the SMTP server - it acknowledges the HELO command, etc.) however it just seems to stop part-way through the HTML message (when it's telling me the list of recordings that's due to expire).
I'd be happy to send a copy of the log to anyone if they think it might help.
Thanks in advance for any ideas!
Alan
kautrey
01-31-2005, 05:03 PM
Post the level three log - and the .html file it generated.
Looking for expired programs does take a while. Are you sure you're giving it enough time to complete? I'd imagine that the larger the disk, the more time it'd take.
alanjrobertson
02-01-2005, 12:23 PM
Hi Kautrey
I've attached the level 3 log (removed my e-mail/web address from it).
I let it go for as long as it wanted, it just seemed to stop with an error all by itself :( It didn't generate an html file - if I use TivoWeb to look at the last message generated then it's from back on the 17th of Jan.
Cheers
Alan
kautrey
02-02-2005, 09:38 AM
Hi Alan -
Check your PMs...
chippyt
02-05-2005, 04:46 PM
I have everything working except timezone offset.
I added the following line to my rc.sysinit.author as per the newest .36 dailymail_jazz readme file and rebooted:
export TZ_GMT_OFFSET=-7
I am in the Mountain Standard timezone (MST).
The e-mail file generated by dailymail_jazz still uses GMT. How do I get it to use the -7 hour offset
I am using a HDVR2 with 4.0 (sleepered)
PS The file sent to my gmail account is plain text not html, how do I get a HTML file instead of plain text. I can view the HTML file created using tivowebplus, so the HTML exisits, but only plain text gets transmitted to gmail.
EDIT: I forwared to my yahoo account and the HTML works fine, is there a way to get gmail to recognize the HTML?
kautrey
02-05-2005, 06:29 PM
I tested it with my gmail account - and no HTML there - so it's not you. I'm not sure what gmail's problem with HTML is.
chippyt
02-05-2005, 09:17 PM
I got the TZ_GMT_OFFSET variable to set by doing it manually via BASH, but it won't set when rebooting, even though it is defined in the rc.sysinit.author file.
Any ideas?
EDIT: Moved the export command further up in my rc.sysinit.author file and it worked.
randap
02-07-2005, 04:11 PM
I get the following output from the log. Any thoughts? I'm connecting to mail.btinternet.com as my mail client if that's any help :) .
11:37:41-debug-subject: >>TiVo status e-mail for Sunday February 06, 2005<<
11:37:41-debug-attempting to open socket 25 to mailserver specified >>217.12.12.124<<
11:37:41-debug-got reply : >>220 smtp805.mail.ukl.yahoo.com ESMTP<<
11:37:41-debug-connected
11:37:41-debug-got reply : >>250 smtp805.mail.ukl.yahoo.com<<
11:37:41-debug-helo acknowledged
11:37:41-debug-got reply : >>334 ###base64userid###<<
11:37:41-debug-username accepted
11:37:41-debug-got reply : >>235 ok, go ahead (#2.0.0)<<
11:37:41-debug-password accepted
11:37:41-debug-got reply : >>250 ok<<
11:37:41-debug-from acknowledged
11:37:41-debug-got reply : >>250 ok<<
11:37:41-debug-to acknowledged
11:37:41-debug-got reply : >>354 go ahead<<
11:37:41-debug-sending message
11:37:41-debug-building header
11:37:41-debug-about to set recipient
11:37:41-debug-recipient set
11:37:41-debug-building content
11:37:41-debug-html starts
11:37:41-debug-body starts
11:37:41-debug-body ended
11:42:41-debug-got reply : >>451 timeout (#4.4.2)<<
11:42:41-debug-sending failed
alanjrobertson
02-07-2005, 06:05 PM
Hi randap - I'm having similar issues just now. kautrey is helping me with some debug versions - will let you know once we're making some headway!
cheers
Alan
jbstix
02-07-2005, 07:39 PM
I know this isn't a "crond" thread, but I've been using post in here to try to get dailymail to run daily from crond.
Here's my root file located in /var/spool/cron/crontabs:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/var/hack/bin
MFS_DEVICE=/dev/hda10
TIVO_ROOT=""
EXPORT TIVOSH_POOLSIZE=3244032
#run dailymail_jazz
30 17 * * * /tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl > /var/log/dailymail_jazz.log 2>&1
Here's the last log file tying to run crond root from the command line:
crond 2.3.2 dillon, started, log level 8
failed user root parsing SHELL=/bin/sh
failed user root parsing PATH=/sbin:/bin:/usr/sbin:/usr/bin:/var/hack/bin
failed user root parsing MFS_DEVICE=/dev/hda10
failed user root parsing TIVO_ROOT=""
failed user root parsing EXPORT TIVOSH_POOLSIZE=3244032
failed user root parsing
I've been reading for ours here and over at the "other forum", and my head is spinning ;).
Thanks for any help,
jb
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.