PDA

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

thepicman
02-08-2005, 09:20 PM
This is killing me. I know I am missing something super simple. S1 V3 Yank Tivo w/TWP. I am bald already, please spare me.... :confused:


------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 02:17:42 (debugging times specified in gmt)

02:17:42-debug-global variable definition complete
02:17:42-debug-commence fooling tivoweb modules
02:17:42-debug-completed fooling tivoweb modules
02:17:42-debug-completed other preperation
02:17:42-debug-argument 1 passed in ::: >><<
02:17:42-debug-argument 2 passed in ::: >><<
02:17:42-debug-argument 3 passed in ::: >><<
02:17:42-debug-argument 4 passed in ::: >><<
02:17:42-debug-0 argument(s) found
02:17:42-debug-argument handling complete
02:17:42-debug-start optional message handling
02:17:42-debug-no message file found
02:17:42-debug-end optional message handling
02:17:42-debug-about to start version setting
02:17:42-debug-version3 : >>1<<
02:17:42-debug-uktivo : >>0<<
02:17:42-debug-dtivo : >>0<<
02:17:42-debug-version (for tivowebplus) : >>3<<
02:17:42-debug-completed version setting
02:17:42-debug-about to include util.itcl

And that is it.

kautrey
02-08-2005, 09:26 PM
What is the variable tivowebdir set to in your dailymail.cfg file? And if you look in that directory, can you find the file util.itcl?

Kevin

thepicman
02-08-2005, 09:39 PM
What is the variable tivowebdir set to in your dailymail.cfg file? And if you look in that directory, can you find the file util.itcl?

Kevin

AFAICT, there is no variable called tivowebdir in that .cfg file?

Ahh, read the Read_me it says: "The following two files must be placed in your '/var/hack/tivoweb-tcl/modules/' directory. Please remove all other
dailymail oriented .itcl files:"

OK, so I edit dailymail_jazz.tcl to look for /var/local/tivoweb-tcl rather than /var/hack/tivoweb-tcl and I go a bit further..


------welcome to the jazzed dailymail program - v0.35 (6th April 2004) - starting


Okay, So I am stupid :rolleyes: . Just notcied the version number. I must have followed an old link. The newest version has tiviweb+ info in the cfg file. I will report back later.

TPM

thepicman
02-09-2005, 03:29 PM
Okay, So I am stupid :rolleyes: . Just notcied the version number. I must have followed an old link. The newest version has tiviweb+ info in the cfg file. I will report back later.

That cersion worked much better :up: Maybe I missed it, but I think the Read_me ought to mention that the get_space file needs to be in the /var/local/tivoweb-tcl/ directrory. Putting it there instead of the bin direcory made it work.

Thanks for the module tho! It is quite cool. :D

Fozzie
02-09-2005, 04:26 PM
That's where get_space should be anyway. It's a file that comes with Tivoweb and not with Dailymail. I've just checked in the original Tivoweb distribution zip file and get_space is in /tivoweb-tcl ;)

thepicman
02-09-2005, 04:32 PM
That's where get_space should be anyway. It's a file that comes with Tivoweb and not with Dailymail. I've just checked in the original Tivoweb distribution zip file and get_space is in /tivoweb-tcl ;)

Yep, but I don't have tivoweb, I have TivoWebPlus. It does not use it. :D Thanks for the reply! Cheers!

Fozzie
02-09-2005, 04:38 PM
Ahh, I see. You were just trying to confuse me by changing Tivowebplus's installation path from its' default (/tivowebplus) to Tivoweb's default path (/tivoweb-tcl) :eek:

vertigo235
02-09-2005, 04:42 PM
actually the default path for both is /tivoweb-tcl/

vertigo235
02-09-2005, 04:45 PM
to be exact, I believe

tivoweb = /var/hack/tivoweb-tcl/
tivowebplus = /var/local/tivoweb-tcl/

It also took me forever to realize that get_space had to be added to my tivowebplus dir!

thepicman
02-09-2005, 04:58 PM
Ahh, I see. You were just trying to confuse me by changing Tivowebplus's installation path from its' default (/tivowebplus) to Tivoweb's default path (/tivoweb-tcl)

Fozzie: No. The TWP installer uses /var/local/tivoweb-tcl.


to be exact, I believe

tivoweb = /var/hack/tivoweb-tcl/
tivowebplus = /var/local/tivoweb-tcl/

It also took me forever to realize that get_space had to be added to my tivowebplus dir!


Exactly! That is what I was saying should be in the Read Me.

jbstix
02-09-2005, 05:24 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

Sorry to post here about this again guys, but I am at the end of my rope with crond!
bdeweese got some guidance here with this a while back...
Searching for cron, crond, crontabs just brings about ALOT of outdated or useless info-from my experience.
Can someone PM their .author, and their /var/spool/cron/crontab/root file, please??? Or email at: jbstix24@aol.com
I don't think I've been this frustrated before in the 3+ yrs of successful Tivo hacking. I know it's gotta be something simple I'm missing.
Just a little guidance will be greatly appreciated!!!
thanks in advance
jb

bdeweese
02-09-2005, 11:41 PM
Hey man - sorry to hear you're still having issues with cron. It was a pain in a butt for me too, but once I got it working its been great. I already sent you my working root file and rc.sysinit.author - so I am wondering if you have the right version of crond. The first one I tried wouldn't work. The crond that I am using is hardcoded to var/spool/cron/crontabs for placement of the crontabs. Is that the same one you have? My crond is in my var/hack/bin file.

Let me know.

Bob

jbstix
02-09-2005, 11:49 PM
Hey man - sorry to hear you're still having issues with cron. It was a pain in a butt for me too, but once I got it working its been great. I already sent you my working root file and rc.sysinit.author - so I am wondering if you have the right version of crond. The first one I tried wouldn't work. The crond that I am using is hardcoded to var/spool/cron/crontabs for placement of the crontabs. Is that the same one you have? My crond is in my var/hack/bin file.

Let me know.

Bob

Hey Bob- thanks for the reply.
I'm pretty sure thats the version of crond I'm using, I've tried so many things lately, I'm a little confused.
I think I may have made a little headway tonite... I'm not getting the "root parse" error I was getting.
Do you use any instant messaging program at all? If so, I can copy and paste some stuff for you, and probably get this figured out pretty quick. That would be alot faster than using PM. Let me know...
jb

bdeweese
02-10-2005, 12:41 AM
Hi jb - Btw, even though my crond works just fine now, I got those same parse errors originally. Here is a link: http://www.************.com/forum/showthread.php?t=37602 to the page in that other "DD" forum that contains post #7 by AlphaWolf that got me over the hump. Basically, despite the fact that the sample cron "root" file says that no passwd file is necessary, I couldnt get it to work without creating one using AlphaWolf's directions in that post. I followed his step by step to the letter and it worked. If you haven't already tried it, do that next. Let us know.

Bob

jbstix
02-10-2005, 12:51 AM
Hi jb - Btw, even though my crond works just fine now, I got those same parse errors originally. Here is a link: http://www.************.com/forum/showthread.php?t=37602 to the page in that other "DD" forum that contains post #7 by AlphaWolf that got me over the hump. Basically, despite the fact that the sample cron "root" file says that no passwd file is necessary, I couldnt get it to work without creating one using AlphaWolf's directions in that post. I followed his step by step to the letter and it worked. If you haven't already tried it, do that next. Let us know.

Bob

Thanks Bob,
Yeah, I followed those same instructions the other nite.
AlphaWolf is a great contributor to the Tivo community for sure!
Right now I'm reading and figuring out how to convert UTC to EST.
btw- you've got PM.
thanks again man...

richierich
02-10-2005, 01:40 PM
jbstix, plasmamaniac here from Peachtree City. How are you doing and when can we get together? I know you have been busy. Give me a call if you have the time.

chippyt
02-10-2005, 07:12 PM
I have dailymail running fine (v.36), but I don't receive any information regarding the space used on my tivo (no graph). I have a HDVR2 with 4.0. Do I need smartctl to get this information or will it work without it?

TIA!

PS I don't get any temp info either.

thepicman
02-11-2005, 09:04 PM
Did we lose Tivo Onion? His site is 404ing today.

bdeweese
02-12-2005, 12:33 AM
I tried the .36 version of dailymail just for kicks - got it configured and working, but was missing the tivo temp and uptime info I always had with .35. Is that gone from .36 for some reason, or did I do something wrong? I really like those 2 tidbits of info, so went back to .35 for now.

Thanks! Bob

P.S. jbstix - any luck with cron yet?

jbstix
02-12-2005, 12:45 AM
I tried the .36 version of dailymail just for kicks - got it configured and working, but was missing the tivo temp and uptime info I always had with .35. Is that gone from .36 for some reason, or did I do something wrong? I really like those 2 tidbits of info, so went back to .35 for now.

Thanks! Bob

P.S. jbstix - any luck with cron yet?

Sorry I haven't posted an update yet...
Yes, crond is working now! After some other reading, and a quick crash course in VI- I discovered some of the problem was the dreaded ^M.
And also recreated some files using TextPad. I'm all good now I think.
Set up several different choices: running an app from a command line type entry, and then writing a .sh file to run the app. Just deciding now which one works most effectively and consistantly.
All I really want to run with crond is Dailymail_jazz and fakecall.
Next I will do some research into rsync- as I've heard cool things about it.

thanks for the help, hope everyone is enjoying their hacking...

Fozzie
02-12-2005, 06:40 AM
I tried the .36 version of dailymail just for kicks - got it configured and working, but was missing the tivo temp and uptime info I always had with .35. Is that gone from .36 for some reason, or did I do something wrong?
I guess you have done something wrong because that info is showing here ok, with v0.36.

bdeweese
02-12-2005, 11:25 AM
Thanks Fozzie - I'll go retrace my steps.

Bob

bdeweese
02-12-2005, 01:03 PM
Well once again I'm stumped. I reinstalled .36 and double checked my config file. Everything looks to be in order. When I view the dailmail log it shows that it is getting the uptime and system temp just fine, but this info apparently isn't getting written to th mail. Everything else is fine, including daily call status, cron file, etc. Anyone have any suggestions or had any similar problems?

Thanks! Bob

chippyt
02-12-2005, 01:36 PM
That is the exact problem I am having. No temp or space used graph, but I get conflicts, todo list, expiration, hack running, time since last reboot, etc.

I am running .36 and I have a HDVR2 with 4.0.

I also turned on the endpadplus info and nothing is in the e-mail.

PS I have attached my cfg file with my e-mail setup info stripped out.

bdeweese
02-12-2005, 02:14 PM
That is the exact problem I am having. No temp or space used graph, but I get conflicts, todo list, expiration, hack running, time since last reboot, etc.

I am running .36 and I have a HDVR2 with 4.0.

I also turned on the endpadplus info and nothing is in the e-mail.

PS I have attached my cfg file with my e-mail setup info stripped out.


hmmm, mine is slightly different though - I have space graph just fine, endpad plus padding shows, etc. - just no uptime nor temp.

Bob

gwgw45
02-12-2005, 04:34 PM
Did we lose Tivo Onion? His site is 404ing today.


Same here:-(

cashew1970
02-14-2005, 03:53 AM
OK,
So who can help me out.....
Tivo Onions site seems to not work......
I really want to install Dailymail....
Does anyone have a link to the software and install info?
I have tried going through all of the pages of the tread.... but it has been driving me crazy!

Cheers people!

MonTheFish
02-14-2005, 12:18 PM
pm for ya

gwgw45
02-14-2005, 02:14 PM
pm for ya


Me too plrese?

Fozzie
02-14-2005, 06:09 PM
Me too plrese?
If you read further back in the thread you'll see that I've posted it ;)

scottdw
02-14-2005, 06:10 PM
Ok I have gotten pretty far by myself but need help. I have a S2 DTIVO hacked to 4.0.1b with TWP 1.1. I am running version 35.6 and put the get_space file in the right place.

Here is where I get stuck:

------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:03:04 (debugging times specified in gmt)

23:03:04-debug-global variable definition complete
23:03:04-debug-commence fooling tivoweb modules
23:03:04-debug-completed fooling tivoweb modules
23:03:04-debug-completed other preperation
23:03:04-debug-argument 1 passed in ::: >><<
23:03:04-debug-argument 2 passed in ::: >><<
23:03:04-debug-argument 3 passed in ::: >><<
23:03:04-debug-argument 4 passed in ::: >><<
23:03:04-debug-0 argument(s) found
23:03:04-debug-argument handling complete
23:03:04-debug-start optional message handling
23:03:04-debug-no message file found
23:03:04-debug-end optional message handling
23:03:04-debug-about to start version setting
23:03:04-debug-version3 : >>1<<
23:03:04-debug-uktivo : >>0<<
23:03:04-debug-dtivo : >>0<<
23:03:04-debug-version (for tivowebplus) : >>3<<
23:03:04-debug-completed version setting
23:03:04-debug-about to include util.itcl
23:03:04-debug-util.itcl included - about to include index.itcl
23:03:04-debug-index.itcl included
23:03:04-debug-about to identify default recording quality information for space calculations
23:03:04-debug-version 3 specific code
23:03:04-debug-transaction attempt
23:03:04-debug-db open successfully
23:03:04-debug-about to set source directory.
23:03:04-debug-about to call get sizes module.
23:03:04-debug-about to set the now showing directory
23:03:04-debug-version 3 specific code
23:03:04-debug-about to establish timezone offset
23:03:04-debug-transaction attempt
23:03:04-debug-version 3 specific code
23:03:04-debug-db open successfully
23:03:04-debug-db open successfully


I have set version3 false which I would think is correct since I have 4.0.1b and I set it to not send the email: set emailsendrequired false just to see if it would create the file, which it does not. I have not set up the AUTH LOGIN username and password yet but that should not stop it from just creating the file, right??

Where am I getting hung up at??

Thanks,

Wonder_lander
02-15-2005, 09:36 AM
Is there a simple set of destructions for automating the running of dailymail?

Where to get cron / how to install it / how to configure it etc?

jbstix
02-15-2005, 02:37 PM
Is there a simple set of destructions for automating the running of dailymail?

Where to get cron / how to install it / how to configure it etc?


Simple...no. It took me about a week to find bits and pieces of accurate info.
It's gonna take alot of reading and searching to find what you need.
S1 or S2- which will determine if you need cron or crond.
Both setup and run differently.
Good luck.

Wonder_lander
02-15-2005, 02:58 PM
Simple...no. It took me about a week to find bits and pieces of accurate info.
It's gonna take alot of reading and searching to find what you need.
S1 or S2- which will determine if you need cron or crond.
Both setup and run differently.
Good luck.

I'm from the UK so alas only got S1 :(

jbstix
02-15-2005, 05:08 PM
I'm from the UK so alas only got S1 :(

Gotcha...so from what I understand you'll need to use cron and not crond.
PortlandPaw (author of Hackman) says that there is some good info on setting up "cron" on a S1, it seems to be running good for him and others.
Also search over at (the other forum) if you haven't yet.

good luck

pmk
02-16-2005, 08:26 AM
Is there a simple set of destructions for automating the running of dailymail?
Where to get cron / how to install it / how to configure it etc?

These are the instructions I used to install on my UK TiVo. Credit goes to whoever posted this information in the first place. I can't remember if I have changed anything - if I did it would only be very minor.

The filename I have is called "cron-3.0pl1_TiVo-2.tar.gz" just search without the quotes on Google. The 2nd site [oztivo] has it to download I think - do not know if the link works.

Be careful with this suggestion but I tested by telling it to run dailymail_jazz every 3 minutes just to make sure it was working. I then set it to go off each morning. If the process creates a xxx directory I think this can be deleted after you have copied/moved everything to the correct folder if I remember correctly.

HTH

---------------------------------------

1) copy the xxx.tar.gz file to /var/hack
2) gzip -d xxx.tar.gz to get to the xxx.tar
3) cpio -idu -H tar < xxx.tar which will create a directory of xxx
4) cd xxx to that directory
5) Make everything there executable with chmod 755 *
6) There is a .sh script in the directory, run it with ./xxx.sh which will create a load of subdirectories of /var/hack
7) Copy the crontab file (the text file which sets what cron does) to /var/hack/etc with mv crontab /var/hack/etc/crontab
8) Copy the cron program itself to /var/hack/bin with mv cron /var/hack/bin/cron
9) If you've followed one of the usual hacking guides /var/hack/bin will be in your path so you can now run cron with cron &, if not use /var/hack/bin/cron &
10) Open the /var/etc/crontab file with joe or your preferred editor. The last line is an example cron job wich just modifies a file to see if its working. Delete that line, and to run dailymail.tcl every weekday at 8am add this one:

0 8 * * 1-5 /var/hack/dailymail.tcl &

11) So it survives reboots, add the line
/var/hack/bin/cron &
to rc.sysinit.author

scottdw
02-16-2005, 09:35 AM
OK I got it working, well kind of.

It is working fine on one of my Tivo's with crond and everything.

On the second Tivo which is setup the same exact way, I cannot get a response back from my ISP when it tries to send the email.

14:22:26-debug---------------------------------------------------------------------------------------------------------------------
14:22:26-debug-body ended
14:22:26-debug-got reply : >>250 Message received: 20050216142226.YPBA11919.out007.verizon.net@verizon.net<<
14:22:26-debug-message sent
14:22:26-debug-got reply : >><<
14:22:26-debug-disconnect failed

On the one that is working I get this:

11:01:34-debug-------------------------------------------------------------------------
11:01:34-debug-body ended
11:01:35-debug-got reply : >>250 Message received: 20050216110134.PFFN9672.out008.verizon.net@verizon.net<<
11:01:35-debug-message sent
11:01:35-debug-got reply : >>221 out008.verizon.net ESMTP server closing connection<<
11:01:35-debug-disconnected
11:01:35-debug-e-mail sent
11:01:35-debug-html file generation required
11:01:35-debug-about to write html file
11:01:35-debug-building html content
11:01:35-debug-html starts
11:01:35-debug-body starts
11:01:35-debug--------------------------------------------------------------------------

Any idea's on what I can try???

thepicman
02-16-2005, 02:30 PM
In the email I get from DailyMail_Jazz v0.35, there is a section called Expiration:

When I click on the link "view details" I get this error:

INTERNAL SERVER ERROR
--cut here--
action_showing '/' ''
expected integer but got ""
while executing
"db $db openid $objectid"
("uplevel" body line 5)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if { [regexp {([0-9]*)/(.*)} $objectid junk fsid subobjid] } {
set showing [db $db openidconstruction $fsid $subobjid]
..."
(procedure "::action_showing" line 25)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

In the same section, when I pick "edit Recording" I get:

INTERNAL SERVER ERROR
--cut here--
action_editprogram '/3010125/11' ''
expected integer but got "3010125/11"
while executing
"db $db openid $objectid"
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set rec [db $db openid $objectid]
set showing [dbobj $rec get Showing]
set program [dbobj $showing get Program]
set..."
(procedure "::action_editprogram" line 10)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--


Any ideas?

TPM

Wonder_lander
02-18-2005, 12:19 PM
These are the instructions I used to install on my UK TiVo. Credit goes to whoever posted this information in the first place. I can't remember if I have changed anything - if I did it would only be very minor.

The filename I have is called "cron-3.0pl1_TiVo-2.tar.gz" just search without the quotes on Google. The 2nd site [oztivo] has it to download I think - do not know if the link works.

Be careful with this suggestion but I tested by telling it to run dailymail_jazz every 3 minutes just to make sure it was working. I then set it to go off each morning. If the process creates a xxx directory I think this can be deleted after you have copied/moved everything to the correct folder if I remember correctly.

HTH

---------------------------------------

1) copy the xxx.tar.gz file to /var/hack
2) gzip -d xxx.tar.gz to get to the xxx.tar
3) cpio -idu -H tar < xxx.tar which will create a directory of xxx
4) cd xxx to that directory
5) Make everything there executable with chmod 755 *
6) There is a .sh script in the directory, run it with ./xxx.sh which will create a load of subdirectories of /var/hack
7) Copy the crontab file (the text file which sets what cron does) to /var/hack/etc with mv crontab /var/hack/etc/crontab
8) Copy the cron program itself to /var/hack/bin with mv cron /var/hack/bin/cron
9) If you've followed one of the usual hacking guides /var/hack/bin will be in your path so you can now run cron with cron &, if not use /var/hack/bin/cron &
10) Open the /var/etc/crontab file with joe or your preferred editor. The last line is an example cron job wich just modifies a file to see if its working. Delete that line, and to run dailymail.tcl every weekday at 8am add this one:

0 8 * * 1-5 /var/hack/dailymail.tcl &

11) So it survives reboots, add the line
/var/hack/bin/cron &
to rc.sysinit.author


That about worked for me but I created a seperate script file for cron to call so that the POOLSIZE thingy could be increased!

bdeweese
02-18-2005, 03:25 PM
In the email I get from DailyMail_Jazz v0.35, there is a section called Expiration:

When I click on the link "view details" I get this error:

INTERNAL SERVER ERROR
--cut here--
action_showing '/' ''
expected integer but got ""
while executing
"db $db openid $objectid"
("uplevel" body line 5)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if { [regexp {([0-9]*)/(.*)} $objectid junk fsid subobjid] } {
set showing [db $db openidconstruction $fsid $subobjid]
..."
(procedure "::action_showing" line 25)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

In the same section, when I pick "edit Recording" I get:

INTERNAL SERVER ERROR
--cut here--
action_editprogram '/3010125/11' ''
expected integer but got "3010125/11"
while executing
"db $db openid $objectid"
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set rec [db $db openid $objectid]
set showing [dbobj $rec get Showing]
set program [dbobj $showing get Program]
set..."
(procedure "::action_editprogram" line 10)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--


Any ideas?

TPM

I get these same errors in the expiration section - all other sections are fine. These are the last couple errors I haven't been able to debug. Anyone else have any ideas for us?

Bob

polly_x
02-19-2005, 08:10 PM
Hi, can anyone tell me what is causing dailymail jazz to fail from my log below? Does not seem to get far enough to fail on anything but does not work?

Running a UK Tivo with TivoWeb Plus. Networked with cachecard and all working finr other than dailymail.

See Log. (ive replaced proper email addresses with X's


------welcome to the jazzed dailymail program - v0.35 (6th April 2004) - starting
------the debug level is set at >>3<<
------started at 00:55:28 (debugging times specified in gmt)

00:55:28-debug-global variable definition complete
00:55:28-debug-commence fooling tivoweb modules
00:55:28-debug-completed fooling tivoweb modules
00:55:28-debug-completed other preperation
00:55:28-debug-argument 1 passed in ::: >>48<<
00:55:28-debug-argument 2 passed in ::: >>xxxxxxxxxxxxxxxx<<
00:55:28-debug-argument 3 passed in ::: >><<
00:55:28-debug-argument 4 passed in ::: >><<
00:55:28-debug-2 argument(s) found
00:55:28-debug-a new hours ahead value found in argument 1
00:55:28-debug-a new recipient e-mail found in argument 2
00:55:28-debug-hours ahead value is now : >>48<<
00:55:28-debug-recipient e-mail value is now : >>xxxxxxxxxxxxxx<<
00:55:28-debug-argument handling complete
00:55:28-debug-start optional message handling
00:55:28-debug-message file found
00:55:28-debug-fsize : >>58<<
00:55:28-debug-line : >>This daily e-mail was generated manually through TiVoWeb.<<
00:55:28-debug-line : >><<
00:55:28-debug-about to delete message file
00:55:28-debug-message file deleted
00:55:28-debug-end optional message handling
00:55:29-debug-about to start version setting
00:55:29-debug-version3 : >>0<<
00:55:29-debug-uktivo : >>1<<
00:55:29-debug-dtivo : >>0<<
00:55:29-debug-version (for tivowebplus) : >>2.5<<
00:55:29-debug-completed version setting
00:55:29-debug-about to include util.itcl


Any help much appreciated.

Thanks

Fozzie
02-21-2005, 11:57 AM
Try the latest version - 0.35.6 ?

thepicman
02-21-2005, 12:15 PM
Try the latest version - 0.35.6 ?

That was fun to find even with search, you need a hobby, you post too much :) ...

Link to post for others (http://www.tivocommunity.com/tivo-vb/showthread.php?p=2306602&&#post2306602)

Well crap, I am running .36, I guess that post was for polly and not me. Rats!

chippyt
02-21-2005, 12:52 PM
.36beta is on page 62 of this thread. That is the newest version I can find.

pmk
02-21-2005, 02:06 PM
>.36beta is on page 62 of this thread. That is the newest version I can find.

Would be great if you could post a link or the post number (look for #1234 on every reply) as I only have 33 pages in total in this thread - Im probably displaying more replies per page.

polly_x
02-21-2005, 02:56 PM
Thanks Picman and Fozzie........Got the latest version and read some of the old posts you pointed me to and got it sorted now.

Now for Cron to automate it!....Wish me luck!

Polly

thepicman
02-21-2005, 02:59 PM
>.36beta is on page 62 of this thread. That is the newest version I can find.

Would be great if you could post a link or the post number (look for #1234 on every reply) as I only have 33 pages in total in this thread - Im probably displaying more replies per page.

I did. 2 posts above this one. :eek:

chippyt
02-21-2005, 02:59 PM
.36beta is in post #1240.

Good Luck!

thepicman
02-23-2005, 09:24 AM
I get these same errors in the expiration section - all other sections are fine. These are the last couple errors I haven't been able to debug. Anyone else have any ideas for us?

Bob

TiVo Onion seems to still be alive and his site is back. Mayhaps he will read our posts and offer some insight?

TPM

tivo-onion
02-23-2005, 10:00 AM
TiVo Onion seems to still be alive and his site is back. Mayhaps he will read our posts and offer some insight?

TPM

Yup, I am around again! I will take a look - although I have to pick up the most recently modified version of the code and see what modifications have been done. I have not been keeping up to speed I am afraid - work has been taking most of my hours recently.

cheers

Chris

Blahblah2000
02-23-2005, 02:08 PM
Edit: nm - fixed it by just hardcoding tz to -8.

thepicman
02-24-2005, 10:31 AM
Yup, I am around again! I will take a look - although I have to pick up the most recently modified version of the code and see what modifications have been done. I have not been keeping up to speed I am afraid - work has been taking most of my hours recently.

cheers

Chris

Good! Thanks! I am running the last version you had on your site. I have also noticed that I can not longer edit and save the .cfg file through the TWP interface. If I hit save, it causes a reboot by fubar'ing tivosh. I can still edit and save it via command line. This problem started after I replaced an ailing drive, maybe I should start from scratch with Dailmailjazz?

TPM

uktivo
02-24-2005, 02:48 PM
ok I have a problem setting this up... as follows:

19:45:13-debug-subject: >>TiVo status e-mail for Thursday February 24, 2005<<
19:45:13-debug-attempting to open socket 25 to mailserver specified >>212.23.3.98<<
19:45:15-debug-got reply : >>220 pythagoras.zen.co.uk ESMTP Exim 4.30 Thu, 24 Feb 2005 19:45:15 +0000<<
19:45:15-debug-connected
19:45:16-debug-got reply : >>250 pythagoras.zen.co.uk Hello zen.co.uk [82.70.131.70]<<
19:45:16-debug-helo acknowledged
19:45:16-debug-got reply : >>503 AUTH command used when not advertised<<
19:45:16-debug-username rejected

I have entered the same detailed that my router has to send it's daily email.

Any Ideas?

scottdw
02-24-2005, 02:59 PM
Did you try it without authenticating???

scottdw
02-24-2005, 03:01 PM
I have also noticed that I can not longer edit and save the .cfg file through the TWP interface. If I hit save, it causes a reboot by fubar'ing tivosh. I can still edit and save it via command line.

I have had this happen to me a few times but not all the time.

tivo-onion
02-24-2005, 05:25 PM
ok I have a problem setting this up... as follows:

19:45:13-debug-subject: >>TiVo status e-mail for Thursday February 24, 2005<<
19:45:13-debug-attempting to open socket 25 to mailserver specified >>212.23.3.98<<
19:45:15-debug-got reply : >>220 pythagoras.zen.co.uk ESMTP Exim 4.30 Thu, 24 Feb 2005 19:45:15 +0000<<
19:45:15-debug-connected
19:45:16-debug-got reply : >>250 pythagoras.zen.co.uk Hello zen.co.uk [82.70.131.70]<<
19:45:16-debug-helo acknowledged
19:45:16-debug-got reply : >>503 AUTH command used when not advertised<<
19:45:16-debug-username rejected

I have entered the same detailed that my router has to send it's daily email.

Any Ideas?

You may want to try communicating with your mailserver manally, to see where it falls over - I always found it to be useful.

1. Open a cmd window
2. type "telnet xxx.xxx.xxx.xxx 25" where xxx.xxx.xxx.xxx is your mail server's id
3. type "HELO xxxxxxx.xxx" where xxxxxxx.xxx is your email domain like "google.com"
4. you should recieve a 250-xxxxxxxxxx response which is positive.
5. type "AUTH LOGIN xxxxxxxxxxxx" where
xxxxxxxxxxxx is your base64 encoded username
6. you should recieve a 334-xxxxxxxxxx response which is positive
7. type "xxxxxxxxxxx" where xxxxxxxxxxx is your base64 encoded password
8. you should recieve a 235-xxxxxxxxxxxxx response which is positive

Based on what you say is should fall over at some point in this process. If so, try an EHLO instead of a HELO and see if that works. It should at least give you some information as to whether the mail server supports authentication. Hopefully this will give some hints as to what is wrong,

cheers

Chris

P.S. Make sure you are base64 encoding your username and password, and not using plain text. You can find encoding engines on the web by searching google - one I found was http://www.motobit.com/util/base64-decoder-encoder.asp

tivo-onion
02-24-2005, 05:40 PM
Good! Thanks! I am running the last version you had on your site. I have also noticed that I can not longer edit and save the .cfg file through the TWP interface. If I hit save, it causes a reboot by fubar'ing tivosh. I can still edit and save it via command line. This problem started after I replaced an ailing drive, maybe I should start from scratch with Dailmailjazz?

TPM

I have to say that I have never had this problem. Could it be something to do with the permissons of the cfg file, or the directory that the file in. The module also makes a backup of the original file. so it could be that permissions need to be set correctly for the directory. I am sure there are greater wizards of linux/unix out there to offer you some more advice on this though,

cheers

Chris

richkeys
02-24-2005, 06:42 PM
can anyone help me get daily mail working? this is what happens...

TiVo: {/var/hack} % dailymail_jazz.tcl


------welcome to the jazzed dailymail program - v0.30 (24/02/2004) - starting
------the debug level is set at >>2<<

debug-global variable definition complete
..... lots of de-bugging...
debug-about to run ps
couldn't execute "/var/hack/bin/ps": permission denied
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} %
TiVo: {/var/hack} %

tivo-onion
02-24-2005, 06:57 PM
can anyone help me get daily mail working? this is what happens...

debug-about to run ps
couldn't execute "/var/hack/bin/ps": permission denied
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)


It looks to me that you do not have the "ps" module in the correct location, or that it does not have the correct permissions on it. Ensure that the "ps" module is in the /var/hack/bin directory and ensure that you have performed a chmod 755 on it. Then try again,

cheers

Chris

richkeys
02-24-2005, 07:05 PM
will try... i'll let you know how i get on?

in the meantime where do i set up all the sail server info? do i have to get daily mail working first?

richkeys
02-24-2005, 07:09 PM
getting there now got

debug-about to run ps
debug-ps run
debug-hack found >>tnlited<<
debug-hack found >>tivoweb<<
debug-hack found >>tivoftp<<
debug-hack found >>tserver<<
debug-email required
debug-about to send mail
debug-entered sendmail procedure
debug-variable check:
debug-mailserver : >>xxx.xxx.xxx.xxx<<
debug-domain : >>myemaildomain.com<<
debug-recipient : >>me@myemaildomain.com<<
debug-subject: >>TiVo status e-mail for Friday February 25, 2005<<
debug-attempting to open socket 25 to mailserver specified >>xxx.xxx.xxx.xxx<<
couldn't open socket: host is unreachable
while executing
"socket $mailserver 25"
(procedure "sendmail" line 22)
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_jazz.tcl" line 2753)
TiVo: {/var/hack} %
TiVo: {/var/hack} %

tivo-onion
02-24-2005, 07:10 PM
will try... i'll let you know how i get on?

in the meantime where do i set up all the sail server info? do i have to get daily mail working first?

sail server???

tivo-onion
02-24-2005, 07:24 PM
Hi,

I have fixed some of the bugs discussed in the forums and made a few minor modifications to the 0.36 beta module updated by kautrey. The new version is available for download on my site (which should be up and running).

The changes for v0.37 beta are as follows:

+ Modified expiry section to:
-----+ provide a "None" line item if nothing found - previously was blank
-----+ provide correct links from "view details" and "edit recording" hyperlinks
-----+ specify correct channel call signs
+ Removed "re-order season passes" hyperlink
+ Added mempool expansion capability

There are changes to the dailymail_jazz.tcl, dailymail.cfg and dailymail_jazz.sh modules. You can find it @ http://deepinthejungle.servehttp.com/TiVo/DailyMail_Module.htm.

Any issues or comments let me know in this thread,

cheers

Chris

richkeys
02-24-2005, 07:27 PM
do i need to download your version to fix my problem or can i get this version that i've already installed working?

tivo-onion
02-24-2005, 07:30 PM
do i need to download your version to fix my problem or can i get this version that i've already installed working?

I don't know that you have a problem - you just have to set-up your mail server details in the cfg file correctly? Unless you have a problem that is solved by the items I describe in the body of my last post, you should be fine with your current version

cheers

Chris

mbriody
02-24-2005, 07:52 PM
I have also noticed that I can not longer edit and save the .cfg file through the TWP interface. If I hit save, it causes a reboot by fubar'ing tivosh. I can still edit and save it via command line.

I had this happen to me during file saves in the Hackman module. I'm pretty sure it is memory-related. It was cured by using a fragment of TCL code to 'adjust the memory commitment'.

See the Hackman support thread on the DD forum for details of the problem and the fix.

richkeys
02-24-2005, 07:59 PM
got this far

debug-recipient : >>richkeys@yahoo.com<<
debug-subject: >>TiVo status e-mail for Friday February 25, 2005<<
debug-attempting to open socket 25 to mailserver specified >>216.200.145.17<<
debug-got reply : >>220 pmta01.mta.everyone.net ESMTP EON-AUTHRELAY<<
debug-connected
debug-got reply : >>250 pmta01.mta.everyone.net<<
debug-helo acknowledged
debug-got reply : >>250 Sender okay<<
debug-from acknowledged
debug-got reply : >>554 Recipient Rejected: Relay access denied<<
debug-connection rejected

do i need to see hackman support thread?

scottdw
02-24-2005, 08:46 PM
Your outgoing mailserver does not allow relaying. Is that your home isp's smtp server, if not try that one.

uktivo
02-25-2005, 03:35 AM
Did you try it without authenticating???

many thanks, this sorted it. Now fully working ACE! :D

tivo-onion
02-25-2005, 04:37 AM
If you do not authenticate with your mailserver, very often you may only send emails within the same domain. To relay to an external address you will probably need to formally authenticate with yiur mail server / providor. You will need to set the authreq (2.6) to true and set the base65 encoded login variables username_base64 (2.6.1) and password_base64 (2.6.2) appropriately in teh cfg filr. See an earlier post of mine for a link where you can get your details base64 encoded. Then try again.

richkeys
02-25-2005, 06:53 AM
got daily mail working - thanks for your help. All I need to do now is set up Cron

scottdw
02-25-2005, 08:01 AM
got daily mail working - thanks for your help. All I need to do now is set up Cron

Glad I could help.....if it was me that helped :D

scottdw
02-25-2005, 09:18 AM
This is what I am getting:

14:15:30-debug-entered sendmail procedure
14:15:30-debug-variable check:
14:15:30-debug-mailserver : >>206.46.232.12<<
14:15:30-debug-domain : >>verizon.net<<
14:15:30-debug-recipient : >>swindmiller@gmail.com<<
14:15:30-debug-subject: >>TiVo status e-mail for Friday February 25, 2005<<
14:15:30-debug-attempting to open socket 25 to mailserver specified >>206.46.232.12<<
14:15:30-debug-got reply : >>220 vms040pub.verizon.net -- Server ESMTP (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004))<<
14:15:30-debug-connected
14:15:30-debug-got reply : >>250 vms040pub.verizon.net OK, [70.22.7.47].<<
14:15:30-debug-helo acknowledged
14:15:30-debug-got reply : >>501 5.5.0 Invalid input (Invalid authentication protocol).<<
14:15:30-debug-username rejected


Not sure what the Invalid authentication protocol is. Maybe verizon changed something in their authentication that is not compatible with DailyMail.

Any ideas??

thepicman
02-25-2005, 09:23 AM
I had this happen to me during file saves in the Hackman module. I'm pretty sure it is memory-related. It was cured by using a fragment of TCL code to 'adjust the memory commitment'.

See the Hackman support thread on the DD forum for details of the problem and the fix.

mbriody:

Thanks, I will check with PP.


I have fixed some of the bugs discussed in the forums and made a few minor modifications to the 0.36 beta module updated by kautrey. The new version is available for download on my site (which should be up and running).

Tivo-onion

Cool! Have /dl and will install later today

TPM

scottdw
02-25-2005, 09:31 AM
thepicman,

Let me know if this solves your problem, please :D

scottdw
02-25-2005, 01:44 PM
OK I am starting to get somewhere slowly.
I dropped verizon as my smtp server and am trying to use DynDNS. I set eveything up and was getting a username rejected. I followed the suggestion earlier by tivo-onion to try ehlo instead of helo and it worked:

18:27:50-debug-entered sendmail procedure
18:27:50-debug-variable check:
18:27:50-debug-mailserver : >>63.208.196.171<<
18:27:50-debug-domain : >>mailhop.org<<
18:27:50-debug-recipient : >>swindmiller@gmail.com<<
18:27:50-debug-subject: >>TiVo status e-mail for Friday February 25, 2005<<
18:27:50-debug-attempting to open socket 25 to mailserver specified >>63.208.196.171<<
18:27:50-debug-got reply (multi-line) : >>220- This is a private server for DynDNS.org MailHop Outbound customers.<<
18:27:50-debug-got reply (multi-line) : >>220- See http://www.mailhop.org/outbound/ for details.<<
18:27:50-debug-got reply (multi-line) : >>220 All Access Is Logged. Authorized Users Only.<<
18:27:50-debug-got reply : >>220 All Access Is Logged. Authorized Users Only.<<
18:27:50-debug-connected
18:27:50-debug-got reply (multi-line) : >>250-SIZE 10485760<<
18:27:50-debug-got reply (multi-line) : >>250-PIPELINING<<
18:27:50-debug-got reply (multi-line) : >>250-AUTH PLAIN LOGIN<<
18:27:50-debug-got reply (multi-line) : >>250-STARTTLS<<
18:27:50-debug-got reply (multi-line) : >>250 HELP<<
18:27:50-debug-got reply : >>250 HELP<<
18:27:50-debug-helo acknowledged
18:27:50-debug-got reply : >>334 UGFzc3dvcmQ6<<
18:27:50-debug-username accepted
18:27:50-debug-got reply : >>235 Authentication succeeded<<
18:27:50-debug-password accepted
18:27:50-debug-got reply : >>250 OK<<
18:27:50-debug-from acknowledged
18:27:50-debug-got reply : >>250 Accepted<<
18:27:50-debug-to acknowledged
18:27:50-debug-got reply : >>354 Enter message, ending with "." on a line by itself<<
18:27:50-debug-sending message
18:27:50-debug-building header
18:27:50-debug-about to set recipient
18:27:50-debug-recipient set
18:27:50-debug-building content
18:27:50-debug-html starts
18:27:50-debug-body starts
18:27:50-debug-----------------------------------------


and everything seems fine but the processing just stops. Here is the end of the log:

border="0"
width="1"
height="12"
vspace="0"
hspace="0"
alt="Drive&nbsp;usage&nbsp;is&nbsp;at&nbsp;3.7%.
Total&nbsp;drive&nbsp;space&nbsp;is&nbsp;64&nbsp;Gb.
Actual&nbsp;space&nbsp;used&nbsp;is&nbsp;2&nbsp;Gb."
></td>
</tr></table>
</td></tr>
</table>
<br><span
class=SectionHeading>Conflicts</span><br>
No
unresolvable
conflicts
occur
in
the
next
48
hours.<br>
<br><span
class=SectionHeading>Rejected
Recordings</span><br>
The
following
programs
were
not
recorded
in
the
last
48
hours
:


At this point I get an email but it is only the first line or two.

See attached image..sorry the pic is a little crappy, let me know if you need a better one.


It does not create the html file on the tivo either.
Seems to me like it is timing out for some reason but I do not know why.

Also it does not always seem to be the same place where it stops processing.

Help :confused:

Fozzie
02-25-2005, 01:57 PM
Could be the mempool issue? Set 4.23 of the .cfg to true and retry.

chippyt
02-25-2005, 02:23 PM
I just tried .37beta and I finally got a space used graph. Unfortunately it says:

No SMART errors detected on drive A (or drive B, if equipped) Usage is at 1.3%.

But, I know I am using more space than 1.3% and the tivowebplus info area says I am using 44%.

Any ideas?

TIA!

scottdw
02-25-2005, 02:52 PM
I am running the latest 35 beta, 35.6 I believe, and mine has the graph and says I am only using 3.4% but I know I am using much more as well. Could it be a UK/US problem or a SA/Dtivo issue. I am in the US with a S2 Dtivo unit if that helps.

By the way in case I did not mention it, AWESOME program :up: :up: :up:

scottdw
02-25-2005, 03:27 PM
Could be the mempool issue? Set 4.23 of the .cfg to true and retry.
Thanks Fozzie I will try that.

Now what just happened was I was editing my cfg file and my tivo rebooted, which hopefully will be fixed with what Fozzie posted or with what mbriody posted earlier. After the reboot both my tivo's sent the email fine with no changes made to the cfg, other than the reboot.

So does that confirm a memory problem that should be fixed with the above?

Editing the cfg does not always reboot the tivo but I was working with it alot to day which I why I am leaning towards a memory issue.


Sorry if I am being a pain but I love this app and am so close to getting it to work right for me!!!!

Thanks for all the help.

tivo-onion
02-25-2005, 03:59 PM
scottdw & chippyt,

I would interested to see what it says in your logfile regarding space. Look for information like:

17:14:22-debug-calculating disk usage
17:14:32-debug-actual space free = 168 gig
17:14:32-debug-actual space on disks = 213 gig
17:14:32-debug-actual % used = 79.0%

cheers

Chris

tivo-onion
02-25-2005, 04:09 PM
and everything seems fine but the processing just stops. Here is the end of the log:
next
48
hours.<br>
<br><span
class=SectionHeading>Rejected
Recordings</span><br>
The
following
programs
were
not
recorded
in
the
last
48
hours
:

At this point I get an email but it is only the first line or two.

Also it does not always seem to be the same place where it stops processing.

Help :confused:

I think you must be using a very old version of the module - the log has not spewed out the ful html for quite some time. I would recommend downloading the most recent version and installing, this uses a different approach to building up the html file and may work much better for you. Visit my site to download it,

cheers

Chris

chippyt
02-25-2005, 04:42 PM
tivo-onion,

Thanks for looking into this issue. Here is the relevant portion of my log file from .37beta:

19:09:01-debug-checking S.M.A.R.T. status
19:09:02-debug-SMART command did not successfully run on disk A - check path & setup.
19:09:02-debug-SMART command did not successfully run on disk B - check path & setup - or you do not have a second hard drive.
19:09:02-debug-calculating disk usage
19:09:06-debug-actual space free = 0 gig
19:09:06-debug-actual space on disks = 29 gig
19:09:06-debug-actual % used = 1.3%
19:09:06-debug-building usage diagram

Edit: One thing to note is smartctl is not running on my machine. Not sure if it is needed for the disk usage graph.

tivo-onion
02-25-2005, 05:12 PM
tivo-onion,

Thanks for looking into this issue. Here is the relevant portion of my log file from .37beta:

19:09:01-debug-checking S.M.A.R.T. status
19:09:02-debug-SMART command did not successfully run on disk A - check path & setup.
19:09:02-debug-SMART command did not successfully run on disk B - check path & setup - or you do not have a second hard drive.
19:09:02-debug-calculating disk usage
19:09:06-debug-actual space free = 0 gig
19:09:06-debug-actual space on disks = 29 gig
19:09:06-debug-actual % used = 1.3%
19:09:06-debug-building usage diagram

Edit: One thing to note is smartctl is not running on my machine. Not sure if it is needed for the disk usage graph.

How much disk space do you actually have in the machine and how much is actually used? I am just trying to get an idea of how much it is off by?

cheers

Chris

tivo-onion
02-25-2005, 06:17 PM
tivo-onion,

Thanks for looking into this issue. Here is the relevant portion of my log file from .37beta:

19:09:01-debug-checking S.M.A.R.T. status
19:09:02-debug-SMART command did not successfully run on disk A - check path & setup.
19:09:02-debug-SMART command did not successfully run on disk B - check path & setup - or you do not have a second hard drive.
19:09:02-debug-calculating disk usage
19:09:06-debug-actual space free = 0 gig
19:09:06-debug-actual space on disks = 29 gig
19:09:06-debug-actual % used = 1.3%
19:09:06-debug-building usage diagram

Edit: One thing to note is smartctl is not running on my machine. Not sure if it is needed for the disk usage graph.

Smartctl is not required.

I have thrown together a variant of 0.37 beta with lots of extra debugging on the space side of things. If you could execute this with level three logging, then package up the log file and attach it on a post in the forum I would appreciate it. Please note, this module is for a quick test only and does not have any longevity - please make sure you replace afterwards with your original copy of 0.37 beta.

cheers

Chris

chippyt
02-25-2005, 06:46 PM
I have attached the log file from the quickie tester program with level 3 logging. Also here is my tivowebplus info regarding disk space used (not formatted):

User Space
Expired Invisible 54 1135 MB 3.1% 27:00:04
Expired Season Pass 7 6668 MB 17.9% 7:20:12
Expired Single 1 512 MB 1.4% 0:25:00
Season Pass 2 1904 MB 5.1% 2:08:04
Invisible 1 21 MB 0.1% 0:30:01
Live Cache 2 512 MB 1.4% 0:12:00
Used User Space 67 10752 MB 28.9% 37:35:21

Reserved Space
Expired Tivo Clips 36 4851 MB 13.0% 5:35:59
Tivo Clips 1 88 MB 0.2% 0:07:02
Used Reserved Space 37 4939 MB 13.3% 5:43:01

Space Summary
Total Space - 37197 MB 100.0% 68:03:29
Total Used 104 15691 MB 42.2% 43:18:22
Total Free - 21506 MB 57.8% 39:20:55
Deleted** 21 19744 MB 53.1% 21:15:11

sanderton
02-25-2005, 06:58 PM
Yup, I am around again!

Welcome back! As you will have seen there have been quite a few questions in your absence!

uktivo
02-26-2005, 02:26 AM
ooops I broke it

I had it working in the previous release. Copied up the new v0.37 version and re-edited the cfg file. I now get the following:

07:23:51-debug-subject: >>TiVo Status: TiVo 1<<
07:23:51-debug-attempting to open socket 25 to mailserver specified >>mailhost.zen.co.uk<<

tivo-onion
02-26-2005, 04:43 AM
I have attached the log file from the quickie tester program with level 3 logging. Also here is my tivowebplus info regarding disk space used (not formatted):

User Space
Expired Invisible 54 1135 MB 3.1% 27:00:04
Expired Season Pass 7 6668 MB 17.9% 7:20:12
Expired Single 1 512 MB 1.4% 0:25:00
Season Pass 2 1904 MB 5.1% 2:08:04
Invisible 1 21 MB 0.1% 0:30:01
Live Cache 2 512 MB 1.4% 0:12:00
Used User Space 67 10752 MB 28.9% 37:35:21

Reserved Space
Expired Tivo Clips 36 4851 MB 13.0% 5:35:59
Tivo Clips 1 88 MB 0.2% 0:07:02
Used Reserved Space 37 4939 MB 13.3% 5:43:01

Space Summary
Total Space - 37197 MB 100.0% 68:03:29
Total Used 104 15691 MB 42.2% 43:18:22
Total Free - 21506 MB 57.8% 39:20:55
Deleted** 21 19744 MB 53.1% 21:15:11


Thanks chippyt - there is obviously something very wrong here - I think that the "space" code needs a major revamp. Could somebody please zip up and post the .itcl module that evaluates all this space information in tivowebplus. I can then inspect and harvest to fix the dailymail module. It seems the old code is not up to the job any more for more recent tivos or tivo software versions.

Thanks for your assistance,

best regards

Chris

tivo-onion
02-26-2005, 04:46 AM
ooops I broke it

I had it working in the previous release. Copied up the new v0.37 version and re-edited the cfg file. I now get the following:

07:23:51-debug-subject: >>TiVo Status: TiVo 1<<
07:23:51-debug-attempting to open socket 25 to mailserver specified >>mailhost.zen.co.uk<<

Looks like a co-incidental mail server provider availability problem. Nothing in the mail area was updated from 0.36. Let me know if it persists,

cheers

Chris

tivo-onion
02-26-2005, 04:47 AM
Welcome back! As you will have seen there have been quite a few questions in your absence!

Cheers .... I am already getting it in the neck from the wife for spending too much time on this - must build up a thicker skin :-)

uktivo
02-26-2005, 05:19 AM
Looks like a co-incidental mail server provider availability problem. Nothing in the mail area was updated from 0.36. Let me know if it persists,

cheers

Chris


There are no mail server problems, I have tried it a few times and I can send mail through the mail server normally.

my cfg as follows:

tivo-onion
02-26-2005, 09:14 AM
There are no mail server problems, I have tried it a few times and I can send mail through the mail server normally.

my cfg as follows:


I have noted you are you are using a domain rather than an ip address for your mail providor. Try using the domain ip address instead which should be 212.23.3.98,

If the problem persists, try connecting manually by opening a cmd window and typing:

telnet 212.23.3.98 25

and see if you get a connection.


Hmmm.....

Just as a matter of interest I have tried:

telnet mailhost.zen.co.uk 25

and the connection fails with:

Connecting To mailhost.zen.co.uk...Could not open connection to the host, on port 25: Connect failed

I have also tried:

telnet 212.23.3.98 25

and that fails also with:

Connecting To 212.23.3.98...Could not open connection to the host, on port 25: Connect failed

Presuming you gave me the correct mailsever domain/address I am not sure what the problem is here. Anyone else help?

cheers

Chris

uktivo
02-26-2005, 09:29 AM
changed the mailhost to the IP and it worked. Zen only accept mail connections from its own IP's.

Thanks for your help

chippyt
02-26-2005, 10:57 AM
tivo-onion,

Here is the info.itcl file from tivowebplus 1.1pre2.

Thanks!

scottdw
02-26-2005, 04:36 PM
I think you must be using a very old version of the module - the log has not spewed out the ful html for quite some time. I would recommend downloading the most recent version and installing, this uses a different approach to building up the html file and may work much better for you. Visit my site to download it,

cheers

Chris

I am running 35.6 and it seems fine after I rebooted but I have a feeling it will be a problem again soon. Does it sound memory related, should I try 37 with the mempool option??

tivo-onion
02-27-2005, 05:17 AM
I am running 35.6 and it seems fine after I rebooted but I have a feeling it will be a problem again soon. Does it sound memory related, should I try 37 with the mempool option??

I would try 37 anyway, without the mempool option initially. You can always switch it on later if necessary,

cheers

Chris

scottdw
02-27-2005, 08:21 PM
Will do.

.38 looks like it's going to be awesome. :D

essjay
02-27-2005, 08:56 PM
I have tried every version of DM I can find (including 37), tried several different email providers (yes they do send with Telnet) and still I can't get an email out of DM! A part of the file log and hyperterminal output reads as seen in the attachment.

Iam convinced it has something to do with the coding but I am not a coder. Maybe there is another command which needs to accompany 'socket'? Maybe I am missing a file? This is a S2 (MIPS) machine. Help!!

tivo-onion
02-28-2005, 02:24 AM
I cannot tell whether you have obscured your mail server ip address in the attached text file, or you have inadvertently not populated it correctly in the config file. Make sure that you have populated variable 2.1 with your correct mail service providor ip address.

Also, ensure that variables 2.2 and 2.4 are set up as in the following example:

## (2.2) The domain associated to the mailserver :
## If this is not correct then it is unlikely that you mailserver will accept the incoming e-mail.
set domain "fantastic.net"

## (2.4) The e-mail address that the daily e-mail will be marked as from :
## This may need to be set to a valid e-mail address if your ISP requires it, most don't.
set sender "jim.jones@$domain"

Sorry if I am teaching you to suck eggs, but I cannot tell from your generated output how much has been obscured by you before publishing,

cheers

Chris

tivo-onion
02-28-2005, 06:08 AM
tivo-onion,

Here is the info.itcl file from tivowebplus 1.1pre2.

Thanks!

thanks

essjay
02-28-2005, 07:42 PM
Definitely a lesson in sucking eggs. I did everything possible not to obscure the post but this #@!^& website wouldn't let me post it with the details intact. Seems I haven't yet met my "5 posts probation" to prevent spam!

I have everything set as you suggest, but no joy. Message is always same...

couldn't open socket: network is unreachable
while executing
"socket -myaddr $tivoip $mailserver 25"
(procedure "sendmail" line 24)
invoked from within
"sendmail $mailserver $domain $recipient "TiVo Status: $tivoName" $htmlfilename"

btw, the above message is EXACTLY as I get back.

Telnet over SMTP works fine with same settings as config file.

How about a delay to wait for reply? Can I re-code with Telnet type code? Any suggestions? Thanks.
-SJ

tivo-onion
03-01-2005, 06:49 AM
Definitely a lesson in sucking eggs. I did everything possible not to obscure the post but this #@!^& website wouldn't let me post it with the details intact. Seems I haven't yet met my "5 posts probation" to prevent spam!

I have everything set as you suggest, but no joy. Message is always same...

couldn't open socket: network is unreachable
while executing
"socket -myaddr $tivoip $mailserver 25"
(procedure "sendmail" line 24)
invoked from within
"sendmail $mailserver $domain $recipient "TiVo Status: $tivoName" $htmlfilename"

btw, the above message is EXACTLY as I get back.

Telnet over SMTP works fine with same settings as config file.

How about a delay to wait for reply? Can I re-code with Telnet type code? Any suggestions? Thanks.
-SJ
can you zip up and send me your full log file please,

cheers

Chrs

thepicman
03-01-2005, 11:01 AM
Hi,


+ Modified expiry section to:
-----+ provide a "None" line item if nothing found - previously was blank
-----+ provide correct links from "view details" and "edit recording" hyperlinks
-----+
Any issues or comments let me know in this thread,

cheers

Chris

Some things seem to be working better, others, not. It now correctly displays EPP and smart for possible B drive as well as space left.

The TO DO and Expiration section hyperlinks do absolutely nothing when clicked.? What is the httpL for?

tivo-onion
03-01-2005, 11:12 AM
Some things seem to be working better, others, not. It now correctly displays EPP and smart for possible B drive as well as space left.

The TO DO and Expiration section hyperlinks do absolutely nothing when clicked.? What is the httpL for?


The TO DO section hyperlinks have not been touched - so I am unsure why you are suddenly having problems with those. It sounds like you may not have set the 8.1 variable correctly in the config file:

## {8.1) The url of the tivo, required if you have enabled hyperlinks (no forward slash at end
## required)
set dmailTivoURL "https://www.mytivo.com:1234"

cheers

Chris

thepicman
03-01-2005, 11:52 AM
The TO DO section hyperlinks have not been touched - so I am unsure why you are suddenly having problems with those. It sounds like you may not have set the 8.1 variable correctly in the config file:

## {8.1) The url of the tivo, required if you have enabled hyperlinks (no forward slash at end
## required)
set dmailTivoURL "https://www.mytivo.com:1234"

cheers

Chris

Actually, I am an idiot. :o My programmer wife found my error by looking at my last post. I had typo'd

############################################################ #####################################
## (8) WEB URLS AND LOCATIONS FOR TIVO AND GRAPHICS
##

## {8.1) The url of the tivo, required if you have enabled hyperlinks (no forward slash at end
## required)
set dmailTivoURL "httpL//192.168.1.106" instead of a colon.

Sorry to have wasted your time

tivo-onion
03-01-2005, 12:26 PM
Actually, I am an idiot. :o My programmer wife found my error by looking at my last post. I had typo'd

############################################################ #####################################
## (8) WEB URLS AND LOCATIONS FOR TIVO AND GRAPHICS
##

## {8.1) The url of the tivo, required if you have enabled hyperlinks (no forward slash at end
## required)
set dmailTivoURL "httpL//192.168.1.106" instead of a colon.

Sorry to have wasted your time

Actually, I think it was my typo in the blank cfg file - you just missed it when updating the file. Sorry!

bdeweese
03-01-2005, 09:01 PM
I have .37 working fine with the following exception - the hours up time and temperature that used to show at the bottom, right before the cron section, doesn't show up. Everything else is intact. If I go back to .35 that info is there - as soon as I go to .36 or .37 that info is missing. It shows fine when I click on the info section. The expiry links now work fine so this is the only prob left for me that I am aware of.

Bob

cbemoore
03-02-2005, 04:32 AM
I've just installed DailyMail_jazz for the first time (I'm using the .37 Beta) but I can't get it to work properly. The log file doesn't show an error message - instead it just seems to hang as follows:

19:48:54-debug-checking for new messages in tivo central
19:48:56-debug-GENERATING OUTPUT SECTION >>1<<
19:48:56-debug-GENERATING TO-DO LIST
19:48:56-debug-compiling to do list
19:48:56-debug-need to look for overlapping programs with endpad
19:49:00-debug-26 items to investigate for endpad programme overlapping
19:49:00-debug--------------------------------------
19:49:00-debug-item: 1
19:49:00-debug-item status : >>Record<<
19:49:00-debug--------------------------------------
..
and lots more similar entries for items 2 to 25
..
19:49:01-debug--------------------------------------
19:49:01-debug-item: 26
19:49:01-debug-check start time overlap for back-to-back suggestions
19:49:01-debug-suggestion equalisation is on - back-to-back suggestions allowed
19:49:01-debug-item status : >>Record<<
19:49:01-debug-starting main to-do loop


Does anyone have any idea why its not entering the "main to-do loop"?

In case its relevant, I'm using TivoWebPlus, I've set graphicson to false in the .cfg file, and I haven't saved any of the graphics files to a web server.

Cheers guys
Chris

cbemoore
03-02-2005, 04:52 AM
I've just installed DailyMail_jazz for the first time (I'm using the .37 Beta) but I can't get it to work properly. The log file doesn't show an error message - instead it just seems to hang as follows:

19:48:54-debug-checking for new messages in tivo central
19:48:56-debug-GENERATING OUTPUT SECTION >>1<<
19:48:56-debug-GENERATING TO-DO LIST
19:48:56-debug-compiling to do list
19:48:56-debug-need to look for overlapping programs with endpad
19:49:00-debug-26 items to investigate for endpad programme overlapping
19:49:00-debug--------------------------------------
19:49:00-debug-item: 1
19:49:00-debug-item status : >>Record<<
19:49:00-debug--------------------------------------
..
and lots more similar entries for items 2 to 25
..
19:49:01-debug--------------------------------------
19:49:01-debug-item: 26
19:49:01-debug-check start time overlap for back-to-back suggestions
19:49:01-debug-suggestion equalisation is on - back-to-back suggestions allowed
19:49:01-debug-item status : >>Record<<
19:49:01-debug-starting main to-do loop


Does anyone have any idea why its not entering the "main to-do loop"?

In case its relevant, I'm using TivoWebPlus, I've set graphicson to false in the .cfg file, and I haven't saved any of the graphics files to a web server.

Cheers guys
Chris

Just managed to fix the above problem by setting dmailShowSuggestions to false in the .cfg file (although I haven't a clue why that fixes it!). Anyone got any ideas?

Chris

tivo-onion
03-02-2005, 05:36 AM
I have .37 working fine with the following exception - the hours up time and temperature that used to show at the bottom, right before the cron section, doesn't show up. Everything else is intact. If I go back to .35 that info is there - as soon as I go to .36 or .37 that info is missing. It shows fine when I click on the info section. The expiry links now work fine so this is the only prob left for me that I am aware of.

Bob

This is a small bug. Will fix it in .38,

cheers

Chris

tivo-onion
03-02-2005, 05:45 AM
Just managed to fix the above problem by setting dmailShowSuggestions to false in the .cfg file (although I haven't a clue why that fixes it!). Anyone got any ideas?

Chris

May be a memory problem, try setting the memoryexpansionreq (4.?) variable to true in the config file - and try again,

cheers

Chris

cbemoore
03-02-2005, 06:02 AM
Just tried that and still doesn't work! I'll leave dmailShowSuggestions set to false for the moment, while I fix my next problem....

Everything now seems to work correctly until right at the end. For some reason the data isn't being sent correctly to my mail server:

10:38:20-debug-got reply : >>354 Enter message, ending with "." on a line by itself<<
10:38:20-debug-sending message
10:38:20-debug-building header
10:38:20-debug-about to set recipient
10:38:20-debug-recipient set
10:38:20-debug-building content
10:38:20-debug-html starts
10:43:20-debug-got reply : >>421 xxxxx.xxx.xxx SMTP incoming data timeout - closing connection.<<
10:43:20-debug-sending failed

(The SMTP server is correct in the log, but I've hidden it since I'm posting on a public forum).

Look like my mail server never receives the file, and times out after 5 minutes.

I *think* the html file isn't being generated correctly - I've set up a symbolic link to /var/tmp as suggested in the readme file, but I can't see an html file in /var/tmp. Do I have to set /var/tmp to be writeable? And how would I do that?

Go easy on me - I'm a complete Linux newbie (I'd never used it before yesterday, but hacking a Tivo sure helps you to learn fast!!)

Cheers for your help so far,
Chris

tivo-onion
03-02-2005, 06:15 AM
I *think* the html file isn't being generated correctly - I've set up a symbolic link to /var/tmp as suggested in the readme file, but I can't see an html file in /var/tmp. Do I have to set /var/tmp to be writeable? And how would I do that?

Chris

In the config file, set the "htmlfilerequired" variable to true. The file will then by kept once the module is complete and you should be able to have a look at it and possibly confirm your suspicions.

cbemoore
03-02-2005, 06:34 AM
Hmm - so near yet so far! The html file is definitely being generated correctly (thanks for the tip), but my mail server isn't receiving it (see the above log). Any idea what I can try next?

Cheers
Chris

ash_bluewomble
03-02-2005, 08:19 AM
Just a silly little thing...

Is there an option in the config file to change the dailymail message subject in 0.37 from:
"TiVo Status: TiVo"

back to the old (0.35 version) :

"TiVo status email for Wednesday March 02, 2005"
(or indeed anything which is unique for each day)

I get my messages sent to my gmail account -- if all the messages have the same subject, gmail puts them all in the same thread... it also starts hiding random bits of them, assuming it is quoted text. So it is better for me if each dailymail has a unique subject.

Of course, I'm happy to modify the code myself, but I thought it would be nice to have some kind of option in the config file if there wasn't one already...

tivo-onion
03-02-2005, 08:45 AM
Just a silly little thing...

Is there an option in the config file to change the dailymail message subject in 0.37 from:
"TiVo Status: TiVo"

back to the old (0.35 version) :

"TiVo status email for Wednesday March 02, 2005"
(or indeed anything which is unique for each day)


I'll add an option for v0.38,

cheers

Chris

tivo-onion
03-02-2005, 08:46 AM
Hmm - so near yet so far! The html file is definitely being generated correctly (thanks for the tip), but my mail server isn't receiving it (see the above log). Any idea what I can try next?

Cheers
Chris

I am not sure about this one. I have not encountered this problem before. Has anyone else had this problem? Can anyone else help?

cheers

Chris

Blahblah2000
03-02-2005, 11:39 AM
Ok, i'm at a loss. My dailymail_jazz was working fine until sunday, now it is failing. I am attaching the log (I've obscured any email address, etc).

I don't see any obvious errors. If you look at the very bottom, it appears that the email is getting generated properly, except for the error at the very top of the email:

"Last
daily
call
failed
with
error
of
."

When I receive the email, it stops after that error message.

Anyone have any idea what could be failing?

Thanks.

Edit: removed attachment now that I've gotten some feedback.

tivo-onion
03-02-2005, 11:56 AM
Ok, i'm at a loss. My dailymail_jazz was working fine until sunday, now it is failing. I am attaching the log (I've obscured any email address, etc).

I don't see any obvious errors. If you look at the very bottom, it appears that the email is getting generated properly, except for the error at the very top of the email:

"Last
daily
call
failed
with
error
of
."

When I receive the email, it stops after that error message.

Anyone have any idea what could be failing?

Thanks.

It seems your mailserver has suddently started to object to the "quit" command. Don't know why - but as a result the dailymail module aborts at that stage - which is not a major problem as the email has already been sent. I will put a small fix in v0.38 to cope with a non-fatal failure of the "quit" command - we do not really need to fail fatally at that point.

I am not sure why there is no phone failure message displayed - I have not seen that before. I would inspect your TiVo setup on your TV and see what the failure message is there. Anyone else seen this?

cheers

Chri

Blahblah2000
03-02-2005, 12:04 PM
Well, that's the thing - I recieve the email, but all I get is that message about the last daily call failed. The email doesn't include all the other stuff that it looks like was generated correctly when producing the email body.

I have the phone line plugged in for elseed, and I'm running fakecall.tcl via cron (since I'm running 4.01b on a DTivo). It appears to be running correctly, but I'll try running it manually to see if that fixes the problem.

Thanks for the help!

scottdw
03-02-2005, 01:38 PM
This is exactly what mine was doing, pretty much at the same spot. I suspected a memory problem. When I restarted my tivo or it restarted by itself it would then send the email out fine. I was told to check about a mempool issue futher up in this thread. I have not looked at it to much because it is working now, but I suspect it will act up again.

Blahblah2000
03-02-2005, 01:42 PM
Ah, very interesting. I'll take a look at that. Thanks!

richkeys
03-02-2005, 01:45 PM
please help me here...

http://www.tivocommunity.com/tivo-vb/showthread.php?p=2659372#post2659372

my cron setup is driving me to despair

Blahblah2000
03-02-2005, 01:47 PM
So is your cron.test.out file getting appended with the date every 60 seconds?

tyke
03-02-2005, 01:58 PM
I have a S2 running 4.01b and the only way I could get dailymail to run from cron was to create a script "dailymail.sh" that has the following 2 lines. (I could run it via TivoWeb but not cron.)

export TIVOSH_POOLSIZE=3244032
/tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl > /var/log/dailymail.log 2>&1

Then in cron call dailymail.sh
0 12 * * * /var/hack/dailymail/dailymail.sh

richkeys
03-02-2005, 02:05 PM
will try your .sh code... the cron.test.out files is working

richkeys
03-02-2005, 02:08 PM
got this

TiVo: {/var/hack} % chmod 755 dailymail_jazz.sh
TiVo: {/var/hack} %
TiVo: {/var/hack} % /var/hack/bin/cron -x ext,sch,proc
debug flags enabled: ext sch proc
[273] cron started
[273] TargetTime=1109790300, sec-to-wait=4
[273] sleeping for 4 seconds
[273] tick(5,19,1,2,3)
user [cron:0:0:...] cmd="date >> /var/hack/cron.test.out"
user [cron:0:0:...] cmd="/var/hack/dailymail_jazz.sh &"
[273] TargetTime=1109790360, sec-to-wait=60
[273] sleeping for 60 seconds
[273] tick(6,19,1,2,3)
user [cron:0:0:...] cmd="date >> /var/hack/cron.test.out"
user [cron:0:0:...] cmd="/var/hack/dailymail_jazz.sh &"
[273] TargetTime=1109790420, sec-to-wait=60
[273] do_command(/var/hack/dailymail_jazz.sh &, (*system*,0,0))
[273] main process returning to work
[273] TargetTime=1109790420, sec-to-wait=60
[273] sleeping for 60 seconds
[274] child_process('/var/hack/dailymail_jazz.sh &')
[274] child continues, closing pipes
[274] child reading output from grandchild
[275] grandchild process Vfork()'ed
log_it: (cron 275) CMD (/var/hack/dailymail_jazz.sh &)
[274] got EOF from grandchild
[274] waiting for grandchild #2 to finish
[274] no more grandchildren--mail written?
[274] child process done, exiting
[273] sigchld...pid #274 died, stat=0
[273] sigchld...no children
[273] sleeping for 57 seconds
[273] tick(7,19,1,2,3)
user [cron:0:0:...] cmd="date >> /var/hack/cron.test.out"
user [cron:0:0:...] cmd="/var/hack/dailymail_jazz.sh &"
[273] TargetTime=1109790480, sec-to-wait=60
[273] sleeping for 60 seconds

richkeys
03-02-2005, 02:35 PM
please help - i've been working on cron for four nights in a row and cant get it working

AAAAAAAAGGGGGGGGGGGGHHHHHHHHHHHHH

Blahblah2000
03-02-2005, 03:53 PM
If you're getting the date appended to the cron.test.out file, cron is working just fine.

What happens when you run dailymail from the command line?

i.e. /var/hack/dailymail_jazz.tcl 72 xxx@xxx.com

richkeys
03-02-2005, 04:11 PM
this happens

TiVo: {/var/tmp} % /var/hack/dailymail_jazz.tcl 72 richkeys@yahoo.com


------welcome to the jazzed dailymail program - v0.36 (2005-01_Jan-28) - startin
g
------the debug level is set at >>0<<
------started at 21:09:47 (debugging times specified in gmt)

smartctl version 5.1-9 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: QUANTUM FIREBALLlct15 30
Serial Number: 614066143002
Firmware Version: A01.0F00
ATA Version is: 5
ATA Standard is: ATA/ATAPI-5 T13 1321D revision 1
Local Time is: Wed Mar 2 21:09:51 2005 localtime
SMART support is: Available - device has SMART capability.
SMART support is: Disabled

SMART Disabled. Use option -s with argument 'on' to enable it.
retrying after errTmActiveLockConflict ...
retrying after errTmActiveLockConflict ...

then my tivo re-booted

if i run the daily mail from tivoweb or without the 72 richkeys@yahoo.com it works ok. what's going on?

Blahblah2000
03-02-2005, 04:19 PM
In your Dailymail.cfg, set the debug level to 3.

Then run:

/var/hack/dailymail_jazz.tcl > /var/hack/dailymail_log.txt

and post the .txt file here for us to look at.

Blahblah2000
03-02-2005, 04:39 PM
Hmmm I don't even see it putting together the email. Can you post your cfg file?

Blahblah2000
03-02-2005, 04:51 PM
That looks to be in order.

So did the email come through properly?

richkeys
03-02-2005, 04:54 PM
yes recieved email fine

Blahblah2000
03-02-2005, 04:57 PM
Ok, so try running the .sh version with the mempool fix:

/var/hack/dailymail/dailymail.sh

richkeys
03-02-2005, 05:01 PM
not much happened in the command prompt

just...

TiVo: {/var/hack} % dailymail_jazz.sh
TiVo: {/var/hack} %
TiVo: {/var/hack} %

Blahblah2000
03-02-2005, 05:03 PM
Maybe we should've moved this to PM :P

Anyway, can I get an ls -l in your /var/hack directory?

richkeys
03-02-2005, 05:06 PM
sorry to sound stupid, but i dont know what an ls -l in my /var/hack directory means?

Blahblah2000
03-02-2005, 05:08 PM
just type "ls -l". It will give a detailed list of the files in that directory.

richkeys
03-02-2005, 05:10 PM
here you go...

TiVo: {/var/hack} % ls -l
total 7750
-rwxr-xr-x 1 0 0 130337 Feb 24 20:47 00ui.itcl
drwxr-xr-x 3 37330 4000 2048 Mar 2 20:11 bin
drwxr-xr-x 3 0 0 1024 Feb 25 19:42 cron
-rwxr-xr-x 1 0 0 47768 Feb 25 19:44 cron-3.0pl1_TiVo-2.tar.gz
-rwxr-xr-x 1 0 0 5635 Mar 2 22:00 cron.test.out
-rwxr-xr-x 1 0 0 22253 Mar 2 21:25 dailymail.cfg
-rwxr-xr-x 1 0 0 48820 Mar 2 21:27 dailymail_jazz.html
-rwxr-xr-x 1 0 0 114 Mar 2 19:04 dailymail_jazz.sh
-rwxr-xr-x 1 0 0 168020 Mar 2 00:38 dailymail_jazz.tcl
-rw-r--r-- 1 0 0 1024246 Mar 2 21:27 dailymail_log.txt
drwxr-xr-x 3 0 0 1024 Mar 2 17:30 etc
-rwxr-xr-x 1 0 0 102 Feb 24 20:47 fred
-rwxr-xr-x 1 500 506 236076 Feb 24 20:56 joe
-rwxr-xr-x 1 0 0 256000 Feb 24 20:47 joe.tar
-rwxr-xr-x 1 500 506 17169 Feb 24 20:56 joerc
drwxr-xr-x 2 0 0 10240 Feb 26 11:47 logos
-rwxr-xr-x 1 0 0 10936 Feb 24 20:47 readme.txt
drwxr-xr-x 2 0 0 1024 Feb 22 21:24 scripts
-rwxr-xr-x 1 0 0 2693120 Feb 24 20:47 tbin.tar
drwxr-xr-x 11 0 0 1024 Oct 26 2000 terminfo
drwxr-xr-x 2 37330 4000 1024 Feb 24 20:56 tivo-bin
-rwxr-xr-x 1 0 0 2693120 Feb 22 19:07 tivobin.tar
drwxr-xr-x 7 1000 1000 1024 Mar 2 22:02 tivoweb-tcl
-rwxr-xr-x 1 0 0 501760 Feb 24 20:47 tivoweb-tcl-1.9.4.tar
drwxr-xr-x 3 0 0 1024 Feb 22 21:58 tmp
-rwxr-xr-x 1 0 0 2031 Feb 24 20:47 tw_setup
drwxr-xr-x 2 0 0 1024 Feb 24 23:54 tytools
-rwxr-xr-x 1 0 0 10015 Feb 24 20:47 ukgenre.js
TiVo: {/var/hack} %

Blahblah2000
03-02-2005, 05:14 PM
Ah, ok now we're getting somewhere.

Please type the following:

cat dailymail_jazz.sh

Thanks.

richkeys
03-02-2005, 05:16 PM
TiVo: {/var/hack} % cat dailymail_jazz.sh
export TIVOSH_POOLSIZE=3244032
/tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl > /var/log/dailymail.log 2>
&1TiVo: {/var/hack} %
TiVo: {/var/hack} %

Blahblah2000
03-02-2005, 05:19 PM
TiVo: {/var/hack} % cat dailymail_jazz.sh
export TIVOSH_POOLSIZE=3244032
/tvbin/tivosh /var/hack/dailymail/dailymail_jazz.tcl > /var/log/dailymail.log 2>
&1TiVo: {/var/hack} %
TiVo: {/var/hack} %

Ahhh.

The execute line for dailymail in your configuration should read:

/tvbin/tivosh /var/hack/dailymail_jazz.tcl > /var/log/dailymail.log 2>&1

You have an extraneous "dailymail" directory in your current file.

richkeys
03-02-2005, 05:23 PM
you just beat to that conclusion!! well done! should it work now?

Blahblah2000
03-02-2005, 05:25 PM
Should! Cross your fingers :)

richkeys
03-02-2005, 05:27 PM
just edited .sh file and did the following

TiVo: {/var/hack} % chmod 755 dailymail_jazz.sh
TiVo: {/var/hack} %
TiVo: {/var/hack} % dailymail_jazz.sh
TiVo: {/var/hack} %
TiVo: {/var/hack} %

still waiting to see if i get email. should it have looked different to the above??

richkeys
03-02-2005, 05:28 PM
It's Worked! Just Recieved Email Will Now Try Cron

Thanks

richkeys
03-02-2005, 05:43 PM
It's working - thank you all (particularly Blahblah2000) for your help. I can npw recieve my dailymail daily!

Blahblah2000
03-02-2005, 05:44 PM
Woo hoo!! Hopefully the mempool change fixes my problem as well. :)

Edit:

Just an update. Running fakecall.tcl manually made the "last daily call failed" error go away and the dailymail email was populated successfully.

Now to figure out why the call to fakecall.tcl from cron is failing...

randap
03-03-2005, 06:24 AM
I still can't get dailymail to run - seems to timeout when starting the html generation. :(

I have just tried v3.7 (beta). Level 2 debug log attached. Any thoughts greatfully received!!

tivo-onion
03-03-2005, 06:48 AM
I still can't get dailymail to run - seems to timeout when starting the html generation. :(

I have just tried v3.7 (beta). Level 2 debug log attached. Any thoughts greatfully received!!

You are suffering from a broken pipe. Apparantly, and I quote:

Broken pipes are when one side of the socket connection disconnects and the other side tries to write to the socket. There is something that is causing the socket to get closed prematurely.

According to my research via google, pipes can be broken due to memory related issues. It may be workwhile using the mempool fix capability in 0.37 and see if that helps. You will need to set the relevant mempool oriented variable in the config file.

cheers

Chris

tivo-onion
03-03-2005, 06:53 AM
All,

i want to add some capability to dailymail_jazz, where I can catch an error if it occurs and then investigate to see if it is a memory related error. I know I can probably use the "catch" command to actually catch the error, but does anyone have any idea how I can go about investigating the cause to see if it was caused by lack of memory?

Would there be something as simple as standard error codes that I can catch and interpret?

Or would I have to run some commands to judge the memory capacity used somehow? Any ideas of how I would do that?

Any help, greatfully recieved,

Cheers

Chris

randap
03-03-2005, 07:03 AM
It may be workwhile using the mempool fix capability in 0.37 and see if that helps. You will need to set the relevant mempool oriented variable in the config file.


Chris,

Unfortunately I think I did.....

Paul.

ash_bluewomble
03-03-2005, 07:13 AM
i want to add some capability to dailymail_jazz, where I can catch an error if it occurs and then investigate to see if it is a memory related error. I know I can probably use the "catch" command to actually catch the error, but does anyone have any idea how I can go about investigating the cause to see if it was caused by lack of memory?

Are there any possible unpleasant side effects of having the MEMPOOL fix enabled? If not, then why not just make it active by default, rather than trying to catch memory related errors?

Sorry, I guess that doesn't really answer your question...

tivo-onion
03-03-2005, 07:26 AM
Are there any possible unpleasant side effects of having the MEMPOOL fix enabled? If not, then why not just make it active by default, rather than trying to catch memory related errors?

Sorry, I guess that doesn't really answer your question...

I have seen some "iffy" results of increasing the mempool - when I use it my TiVo seems to reboot itself every 2-3 weeks. Not terrible I know, but annoying sometimes,

cheers

Chris

scottdw
03-03-2005, 07:55 AM
Blahblah2000,


Edit:

Just an update. Running fakecall.tcl manually made the "last daily call failed" error go away and the dailymail email was populated successfully.

Now to figure out why the call to fakecall.tcl from cron is failing...

Ah Ha this makes perfect sense. I would get the same results as you if my tivo was not restarted in as couple of days, it would work at first but then yield the same results as you after a few days, so I thought it was a memory issue but it must be the tivo nagging about not making a call. I also have fakecall running from crond, an I guess it is not working either. So after the restart fakecall runs properly via the rc.sysinit.author file and all is good.

Makes sense now :D

I found a thread a while back at the "other" forum about fakecall not working thru crond but worked fine at startup. If you search for "Bizarre fakecall issues" on the other forum it will be a post by brywalker who I believe posts here as well.

PM me if you cannot find it.

Blahblah2000
03-03-2005, 12:00 PM
Yeah, I just read that thread this morning too. Very strange.

On a side note, does your dailymail email report the last call/next call dates correctly? After I run fakecall.tcl (for example this morning), the dailymail reports that the last call was Thursday, Jan 1 and the next call is Wednesday Jan 7. I've looked through the tcl code for fakecall and it looks correct, so the only thing that I can think of is that my tivo's "epoch" date is not Jan 1, 1970...

scottdw
03-03-2005, 12:29 PM
Mine does the same , same dates, although I was not that worried about it. As long as it works fine and does not nag me about not calling in I am fine.

chippyt
03-03-2005, 12:44 PM
Post .38beta, Post .38beta!!

I am just a little excited!!

thepicman
03-03-2005, 12:59 PM
Yeah, I just read that thread this morning too. Very strange.

On a side note, does your dailymail email report the last call/next call dates correctly? After I run fakecall.tcl (for example this morning), the dailymail reports that the last call was Thursday, Jan 1 and the next call is Wednesday Jan 7. I've looked through the tcl code for fakecall and it looks correct, so the only thing that I can think of is that my tivo's "epoch" date is not Jan 1, 1970...

So how does one manually run fakecall?

scottdw
03-03-2005, 01:02 PM
Post .38beta, Post .38beta!!

I am just a little excited!!

It does look really cool.

Question about the drive space. Does the space used include suggestions or no? I would assume no since the tivo is probably always full if you are using suggestions.

scottdw
03-03-2005, 01:03 PM
So how does one manually run fakecall?

I have not done it but I would assume you just run the .tcl from the bash prompt, right Blahblah2000??

tivo-onion
03-03-2005, 01:21 PM
It does look really cool.

Question about the drive space. Does the space used include suggestions or no? I would assume no since the tivo is probably always full if you are using suggestions.

It believe it does include suggestions, as does the TivoWeb Plus module when caluclating overal space used. Is this reasonable, or do you want me to investigate adding an option of excluding suggestions if possible?

cheers

Chris

tivo-onion
03-03-2005, 01:23 PM
Post .38beta, Post .38beta!!

I am just a little excited!!

You will have to hang on for a few days more - I am still testing, tidying up code and adding a couple of little extra options around debugging and interaction with the mail-server/provider to hep some people out there. I also need to document.

Sorry :D

cheers

Chris

tivo-onion
03-03-2005, 01:25 PM
Post .38beta, Post .38beta!!

I am just a little excited!!

Also, use the time to install Sanderton's tracker module and the trackerupdate.tcl module I released in his thread yesterday. You will need it to be in place for when dailymail 0.38 comes out, to get full advantages of the capability. :eek:

cheers

Chris

scottdw
03-03-2005, 01:28 PM
It believe it does include suggestions, as does the TivoWeb Plus module when caluclating overal space used. Is this reasonable, or do you want me to investigate adding an option of excluding suggestions if possible?

cheers

Chris

That would be nice. The only way I can tell now that I am getting low in space is by the number of suggestions that are recorded. It would be nice since I get a report every morning that would let me know if I am actually low on "real" space, meaning it is going to start deleting my "real" recordings.

Thanks for all of your hard work and quick replies :D !!!

tivo-onion
03-03-2005, 01:34 PM
That would be nice. The only way I can tell now that I am getting low in space is by the number of suggestions that are recorded. It would be nice since I get a report every morning that would let me know if I am actually low on "real" space, meaning it is going to start deleting my "real" recordings.

Thanks for all of your hard work and quick replies :D !!!

No problem, will look into it tonite!

cheers

Chris

tyke
03-03-2005, 02:02 PM
Yeah, I just read that thread this morning too. Very strange.

On a side note, does your dailymail email report the last call/next call dates correctly? After I run fakecall.tcl (for example this morning), the dailymail reports that the last call was Thursday, Jan 1 and the next call is Wednesday Jan 7. I've looked through the tcl code for fakecall and it looks correct, so the only thing that I can think of is that my tivo's "epoch" date is not Jan 1, 1970...


If you have S2 4.01b make sure you have fakecall40.tcl, the earlier ones didn't work for me.

thepicman
03-03-2005, 03:02 PM
So how does one manually run fakecall?


DMJ is working much better now that I noticed my host changed the address of my mailserver last night... :eek:

scottdw
03-03-2005, 03:17 PM
DMJ is working much better now that I noticed my host changed the address of my mailserver last night... :eek:

Yeah mine did that about a week ago also... :D

thepicman
03-03-2005, 03:40 PM
You will have to hang on for a few days more - I am still testing, tidying up code and adding a couple of little extra options around debugging and interaction with the mail-server/provider to hep some people out there. I also need to document.

Sorry :D

cheers

Chris

OT ,but but how do you get the partial contents from tivo/info to appear on your website? do you have a DMZ on your tivo, or do you push the info from your tivo to the webserver?

Nevermind. Apparently you go to your website and look in the downloads directory, duh.

Blahblah2000
03-03-2005, 03:50 PM
Yes, just telnet into your tivo and at the bash prompt type:

/<put your path to fakecall here>/fakecall.tcl

in order to manually run fakecall.

At the top of my fakecall.tcl it says:

###################################
# fakecall40.tcl #
# This is a modified fakecall31.tcl #
###################################

So I assume that this is the same code that you have, tyke?

tyke
03-03-2005, 05:35 PM
Yes, Same one.

thepicman
03-03-2005, 07:06 PM
OT ,but but how do you get the partial contents from tivo/info to appear on your website? do you have a DMZ on your tivo, or do you push the info from your tivo to the webserver?

Nevermind. Apparently you go to your website and look in the downloads directory, duh.

tivo-onion

You you serve you own web pages? Or do you have a port open to your tivo? Just wondering because we cannot get fetchtivoinfo to work and after looking at the code it looks like you are directing the fetch to an address on your local network?

tivo-onion
03-03-2005, 07:10 PM
tivo-onion

You you serve you own web pages? Or do you have a port open to your tivo? Just wondering because we cannot get fetchtivoinfo to work and after looking at the code it looks like you are directing the fetch to an address on your local network?

Yes, I serve my own web pages. My home server uses a perl CGI, so my web page calls a perl module via CGI which in turn calls a tcl module on my tivo via my local network to fetch the required information. That information is rendered by the perl script into html. Make sense?

cheers

Chris

thepicman
03-03-2005, 07:18 PM
Yes, I serve my own web pages. My home server uses a perl CGI, so my web page calls a perl module via CGI which in turn calls a tcl module on my tivo via my local network to fetch the required information. That information is rendered by the perl script into html. Make sense?

cheers

Chris

Yep, that was what we had decided. Thanks! BTW why are you awake? Waiting to see if Coulthard blows? Is Friday practice showing on your side of the pond? I had read ITV was dropping it?

TPM

tivo-onion
03-03-2005, 07:24 PM
Yep, that was what we had decided. Thanks! BTW why are you awake? Waiting to see if Coulthard blows? Is Friday practice showing on your side of the pond? I had read ITV was dropping it?

TPM
Its only 00.20 - still daylight..... :D

Trying to figure out how to show suggestions as a seperate bar on the space bar - hmmmm tricky - but getting there.

Yeah, ITV does not seem to be showing the F1 until Saturday morning at 1.20am. Should be interesting though.......

randap
03-04-2005, 05:37 AM
You are suffering from a broken pipe. Apparantly, and I quote:

Broken pipes are when one side of the socket connection disconnects and the other side tries to write to the socket. There is something that is causing the socket to get closed prematurely.

According to my research via google, pipes can be broken due to memory related issues. It may be workwhile using the mempool fix capability in 0.37 and see if that helps. You will need to set the relevant mempool oriented variable in the config file.

cheers

Chris

Speaking to an IT guy at work, suggests that the pipe may be between my TiVo and the email server since each word gets sent individually (AFAIK), and my email server may not like having a "pipes" opened. Is there a way to get the script to create the email first, and then send it in one go rather than by word? Could this be a setting in the cfg file so you can choose the one that works?

tivo-onion
03-04-2005, 06:03 AM
Speaking to an IT guy at work, suggests that the pipe may be between my TiVo and the email server since each word gets sent individually (AFAIK), and my email server may not like having a "pipes" opened. Is there a way to get the script to create the email first, and then send it in one go rather than by word? Could this be a setting in the cfg file so you can choose the one that works?

Version 0.37 does this by default. I am actually adding an option to allow a splitting up line-by-line in the 0.38 version,

cheers

Chris

lcsneil
03-04-2005, 06:28 AM
Hey T-O when you release this new update you will also do a quick summary of what other modules are needed, wont you, to progress from 0.35 which I think was the long term stable one most people are using?

pretty please......

:D


Neil

sanderton
03-04-2005, 06:38 AM
The splitting up by word is because many (most?) e-mail servers have a line length limit which is shorter than the typical episode description. Nesting forecahes was the easiest way to do it!

However it won't open a new "pipe" for each word, they just go one at a time down the existing one.

Broken pipes usualy mean one end or the other has closed the connection without properly telling the other end.

randap
03-04-2005, 07:51 AM
The splitting up by word is because many (most?) e-mail servers have a line length limit which is shorter than the typical episode description. Nesting forecahes was the easiest way to do it!

However it won't open a new "pipe" for each word, they just go one at a time down the existing one.

Broken pipes usualy mean one end or the other has closed the connection without properly telling the other end.

Is there something I can do to fix this? Or should I try a different email account (if so, can I use something web-based like hotmail)?

scottdw
03-04-2005, 08:06 AM
Its only 00.20 - still daylight..... :D

Trying to figure out how to show suggestions as a seperate bar on the space bar - hmmmm tricky - but getting there.

Yeah, ITV does not seem to be showing the F1 until Saturday morning at 1.20am. Should be interesting though.......

Thanks for your dedication, but don't lose sleep over it :)

Trinitron
03-05-2005, 08:19 AM
I find that the reported usage on my machine is usually in the 95-99% range (though once or twice it has been more than 100%!). This is because it includes suggestions, which I rarely delete , but most of the time don't want to view either.

Is there/can there be a way of removing suggestions from the percentage figure? I know they are highlighted differently in the colour bar - but I often read the email on a smartphone with graphics off.

Another thing that would be helpful to me here too would be to have available space shown as "best hours", as it's done in the Info module. I can more easily relate to "8 hours space" when wanting to check what I can add than trying to relate to 17.4% space, or whatever.

chippyt
03-05-2005, 10:22 AM
Daily_mail .36beta stopped working on two of my tivos and .37beta on the third tivo via crond, it gets triggered by crond, but fails somewhere during execution. I can trigger a dailymail via the tivowebplus interface and it works fine. In crond, I just have it trigger "dailymail_jazz.tcl" with no other syntax. It worked fine for a while, then stopped working about a week ago. Like I said, it gets triggered by crond, but the logs show that it fails somewhere in the script. Also, am having problems getting it to work via telnet, but using the tivowebplus interface works every time.

Here are two from two different directivos of the errors:

can't open object (0x30007)

while executing
"db $db openid $fsid"
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type $nowshowingdir "" 20 {
set rec [db $db openid $fsid]
set showing [dbobj $rec get Showing]
set program [..."
(procedure "init_ns_cache" line 30)
invoked from within
"init_ns_cache"
(procedure "get_programshowings" line 48)
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]-d..."
(procedure "recordhistory" line 46)
invoked from within
"recordhistory "
(procedure "outputSection" line 150)
invoked from within
"outputSection 4"
(file "/var/hack/dailymail_jazz.tcl" line 3838)

And here is from tivo #2:

13:01:32-debug-about to send e-mail
Tmk Assertion Failure:
DumpArenaAndBlocksAndDie, line 1459 ()
Tmk Fatal Error: Thread tivosh <374> died due to signal -2
102d688

tivo-onion
03-05-2005, 10:52 AM
And here is from tivo #2:

13:01:32-debug-about to send e-mail
Tmk Assertion Failure:
DumpArenaAndBlocksAndDie, line 1459 ()
Tmk Fatal Error: Thread tivosh <374> died due to signal -2
102d688

This is a memory problem, try using the mempool increase capability and see if that solves it.

tivo-onion
03-05-2005, 10:54 AM
Daily_mail .36beta stopped working on two of my tivos and .37beta on the third tivo via crond, it gets triggered by crond, but fails somewhere during execution. I can trigger a dailymail via the tivowebplus interface and it works fine. In crond, I just have it trigger "dailymail_jazz.tcl" with no other syntax. It worked fine for a while, then stopped working about a week ago. Like I said, it gets triggered by crond, but the logs show that it fails somewhere in the script.

I use the following line in the cron:

45 5 * * 0-6 /tvbin/tivosh /var/hack/dailymail_jazz.tcl 240 me@mydomain.com > /var/log/dailymail_jazz_cron.log 2>&1

Have never-ever had a problem with it. You may be having a problem because you are not running in the TiVo Shell.

To run at telnet prompt I always type:

tvbin/tivosh /var/hack/dailymail_jazz.tcl

to echo to the screen, or

/tvbin/tivosh /var/hack/dailymail_jazz.tcl > /var/hack/dailymail_test.log

to echo to a test log. See if these help,

cheers

Chris

tivo-onion
03-05-2005, 11:00 AM
I find that the reported usage on my machine is usually in the 95-99% range (though once or twice it has been more than 100%!). This is because it includes suggestions, which I rarely delete , but most of the time don't want to view either.

Is there/can there be a way of removing suggestions from the percentage figure? I know they are highlighted differently in the colour bar - but I often read the email on a smartphone with graphics off.

Another thing that would be helpful to me here too would be to have available space shown as "best hours", as it's done in the Info module. I can more easily relate to "8 hours space" when wanting to check what I can add than trying to relate to 17.4% space, or whatever.

I have updated the space reporting in the new version (not yet released) to report space exluding suggestions and expired programmes, as this is all "usable" space. I have also added a new "grey" coloured line which shows the space used by suggestions and expired programmes for interest.

I am not sure about the general usefulness of the "hours" thing, because everyone records at different bitrates - depending on their preferences. I will look into it as an option, but I can't promise anything for this time around,

cheers

Chris

tivo-onion
03-05-2005, 11:01 AM
Thanks for your dedication, but don't lose sleep over it :)
Done it already! :D

cheers

Chris

Mr 999
03-05-2005, 11:06 AM
I have updated the space reporting in the new version (not yet released) to report space exluding suggestions and expired programmes, as this is all "usable" space. I have also added a new "grey" coloured line which shows the space used by suggestions and expired programmes for interest.

I am not sure about the general usefulness of the "hours" thing, because everyone records at different bitrates - depending on their preferences. I will look into it as an option, but I can't promise anything for this time around,


An option to show expired programmes as "used" space would be very useful - I don't mind having yellow dots, as long as the disk isn't too full!
I know people record at different bit-rates, but a number of hours at high quality would be handy!

Thanks for a great program.

chippyt
03-05-2005, 11:52 AM
I tried running via telnet using "/tvbin/tivosh /var/hack/dailymail_jazz.tcl > /var/logs/dailymail_jazz.log 2>&1" and I get the error below. If I use "/tvbin/tivosh /var/hack/dailymail_jazz.tcl 240 me@domain.com > /var/logs/dailymail_jazz.log 2>&1" the tivo reboots (see 2nd error below.) If I use the tivowebplus module to send a standard daily e-mail it works fine every time.

Using /tvbin/tivosh /var/hack/dailymail_jazz.tcl > /var/logs/dailymail_jazz.log 2>&1

16:43:49-debug-started alt_showing module
--caching 581 channels for source of type=6 (DirecTV)
no such object: {CONFLICT err=0x30007}
while executing
"dbobj $apgchannel get ChannelDefinition"
("uplevel" body line 20)
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 70)
invoked from within
"init_channelindex"
(procedure "get_programshowings" line 46)
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]-d..."
(procedure "recordhistory" line 46)
invoked from within
"recordhistory "
(procedure "outputSection" line 173)
invoked from within
"outputSection 4"
(file "dailymail_jazz.tcl" line 3882)




using /tvbin/tivosh /var/hack/dailymail_jazz.tcl 240 me@domain.com > /var/logs/dailymail_jazz.log 2>&1

tivo reboots and the log shows the following for the error:

16:32:35-debug-db open successfully
invalid attribute: RecordQuality
while executing
"dbobj $setup get RecordQuality"
("uplevel" body line 5)
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"}
se..."
(file "/var/hack/dailymail_jazz.tcl" line 3117)

Trinitron
03-05-2005, 12:10 PM
Tivo-onion, that's really good!

As for the time reporting, I'm no coding expert but the info.itcl module seems to have a fairly simple method of converting free space to hours based on default quality and average bitrate.

tivo-onion
03-05-2005, 02:07 PM
I tried running via telnet using "/tvbin/tivosh /var/hack/dailymail_jazz.tcl > /var/logs/dailymail_jazz.log 2>&1" and I get the error below. If I use "/tvbin/tivosh /var/hack/dailymail_jazz.tcl 240 me@domain.com > /var/logs/dailymail_jazz.log 2>&1" the tivo reboots (see 2nd error below.) If I use the tivowebplus module to send a standard daily e-mail it works fine every time.


All the tivowebplus module does is effectively build up a command which looks like the following:

/tvbin/tivosh /var/hack/dailymail_jazz.tcl > /var/log/dailymail_jazz.log 2>&1

I am at a loss to explain or understand why it would error from cron or command line, but work from the tivoweb module?

Does anyone else have an idea of what is going on here?

cheers

Chris

chippyt
03-05-2005, 05:49 PM
After doing some research I found this post from Tyke:

http://www.tivocommunity.com/tivo-vb/showthread.php?p=2659426&&#post2659426

and it solved the problem on all 3 Directivos so far.

Thanks!

thepicman
03-06-2005, 10:48 AM
Is there a way to add another email address within the .cfg file so that DMJ send the email to 2 different addresses?

TIA

TPM

vertigo235
03-06-2005, 01:21 PM
you can send multiple email addresses like this

/var/hack/dailymail/dailymail_jazz.tcl email1@emaildomain.com email2@emaildomain.com

thepicman
03-06-2005, 06:50 PM
you can send multiple email addresses like this

/var/hack/dailymail/dailymail_jazz.tcl email1@emaildomain.com email2@emaildomain.com

Cool, thanks. I was hoping to just add it to the .cfg file.

scottdw
03-07-2005, 07:58 AM
I have updated the space reporting in the new version (not yet released) to report space exluding suggestions and expired programmes, as this is all "usable" space. I have also added a new "grey" coloured line which shows the space used by suggestions and expired programmes for interest.

An option to show expired programmes as "used" space would be very useful - I don't mind having yellow dots, as long as the disk isn't too full!
I know people record at different bit-rates, but a number of hours at high quality would be handy!

Thanks for a great program.

I agree if I am understanding you correctly Mr 999. I think expired programs should be part of the "used" space and not the "free" space. Almost all of my programs go expired before I watch them, it may be weeks. I just try to watch the number of suggestions so if they run low I know I am low on space and it will start to delete my expired programs which I do not want. I don't care if suggestions get deleted but I do not want programs I picked to ever be deleted unless I delete them myself. I do like the idea of the "grey" line :D

This is just my opinion. I am not trying to steer you one way or another as I will like the changes whatever they may be :D

Thanks,
Scott

tivo-onion
03-07-2005, 08:45 AM
I agree if I am understanding you correctly Mr 999. I think expired programs should be part of the "used" space and not the "free" space. Almost all of my programs go expired before I watch them, it may be weeks. I just try to watch the number of suggestions so if they run low I know I am low on space and it will start to delete my expired programs which I do not want. I don't care if suggestions get deleted but I do not want programs I picked to ever be deleted unless I delete them myself. I do like the idea of the "grey" line :D

This is just my opinion. I am not trying to steer you one way or another as I will like the changes whatever they may be :D

Thanks,
Scott

This is indeed how it will be working. See here (http://www.deepinthejungle.com/Tivo/Other%20Pages/dailymail.htm) for visuals of how this will work,


cheers

Chris

spid3r
03-07-2005, 09:14 AM
I've had a look at the tivo-onion site, and the readme for 0.37 beta, but I haven't found a FAQ or simple guide to setting it up to run with cron and that sort of thing. Has anyone got this information on a website that's easy to follow? A 73 page thread is information overload. Thanks.

vertigo235
03-07-2005, 09:16 AM
This is indeed how it will be working. See here (http://www.deepinthejungle.com/Tivo/Other%20Pages/dailymail.htm) for visuals of how this will work,


cheers

Chris

"You have 27 hours of 44 mins best recording time remaining."

I assume this is supose to say "27 hours and 44 mins"

scottdw
03-07-2005, 09:18 AM
This is indeed how it will be working. See here (http://www.deepinthejungle.com/Tivo/Other%20Pages/dailymail.htm) for visuals of how this will work,


cheers

Chris

Sorry, but maybe I am misunderstanding you. I think the "Green line" should include new recordings and expired recordings and the "Gray line" should just include suggestions. Is this how it will work?

Thanks,
Scott

tivo-onion
03-07-2005, 09:27 AM
Sorry, but maybe I am misunderstanding you. I think the "Green line" should include new recordings and expired recordings and the "Gray line" should just include suggestions. Is this how it will work?

Thanks,
Scott

Sorry, no - I am in the West US this week and it is early in the morning :o .

Exired items and suggestions are NOT part of the used space. I have taken this decision because expired items will indeed be deleted by the tivo if space is required, therefore expired program space is in fact useable space for prospective programs. You can see on the "hover" text what the space used by suggestions and expired programs is if required.

Hope this is clearer,

cheers

Chris

tivo-onion
03-07-2005, 09:29 AM
"You have 27 hours of 44 mins best recording time remaining."

I assume this is supose to say "27 hours and 44 mins"

Thanks for the typo update - it is on my bug list - but this is a work in progress..... :rolleyes:

Chris

scottdw
03-07-2005, 09:43 AM
Sorry, no - I am in the West US this week and it is early in the morning :o .

Exired items and suggestions are NOT part of the used space. I have taken this decision because expired items will indeed be deleted by the tivo if space is required, therefore expired program space is in fact useable space for prospective programs. You can see on the "hover" text what the space used by suggestions and expired programs is if required.

Hope this is clearer,

cheers

Chris

Thanks for clearing that up!!!

scottdw
03-07-2005, 11:21 AM
Woo hoo!! Hopefully the mempool change fixes my problem as well. :)

Edit:

Just an update. Running fakecall.tcl manually made the "last daily call failed" error go away and the dailymail email was populated successfully.

Now to figure out why the call to fakecall.tcl from cron is failing...

I can verify as well that running fakecall.tcl manually did fix this problem. I received a report on Sunday without problems but on Monday I received the partial report discussed earlier. I checked and my tivo had been up for 9 days. I manually tried to send the email via the TWP page and got the same results. I then Telnet'd in and ran fakecall manually and sent the report again and all was fine.:D

Thanks for figuring this out Blahblah2000, saved me some headaches and maybe some more people (hence the reason I am posting it here)

Thanks,
Scott

Blahblah2000
03-07-2005, 01:35 PM
Hehe yeah, but it's still a pain :P

I was going to try having the dailymail_jazz.tcl code just execute the fakecall at the start of it's process, but I'm having some problems with Directv, so won't be able to get this working until later this week.

I'll post here if it works. :)

tivo-onion
03-07-2005, 01:45 PM
Hehe yeah, but it's still a pain :P

I was going to try having the dailymail_jazz.tcl code just execute the fakecall at the start of it's process, but I'm having some problems with Directv, so won't be able to get this working until later this week.

I'll post here if it works. :)

Let me know how the fakecall.tcl module needs to be invoked and I can incorporate code into the 0.38 version. I will have to get you guys to test it though as I do not need is for my series 1,

cheers

Chris

Blahblah2000
03-07-2005, 04:45 PM
Let me know how the fakecall.tcl module needs to be invoked and I can incorporate code into the 0.38 version. I will have to get you guys to test it though as I do not need is for my series 1,

cheers

Chris

There aren't any parameters to the call. It's simply "FakeCall.tcl". It takes a couple of seconds to run. You can probably just run it asynchronously with the "&" command without problem. It should be pretty straightforward. Let me know if you need more info!

tivo-onion
03-07-2005, 05:27 PM
There aren't any parameters to the call. It's simply "FakeCall.tcl". It takes a couple of seconds to run. You can probably just run it asynchronously with the "&" command without problem. It should be pretty straightforward. Let me know if you need more info!

So, if I was to add a line to the dailymail_jazz.tcl module that said:

set execoutput [exec "/var/hack/fakecall.tcl" ]

this should effectively run this module "in-line" with the dailymail_jazz.tcl (i.e. synchronously) which I believe is what we would want.

or should I include a line:

set execoutput [exec "/tvbin/tivosh /var/hack/fakecall.tcl" ]

instead - or is that not necessary?

A questions - why should this be any more or less successful than calling fakecall.tcl from the cron?

cheers

Chris

thepicman
03-08-2005, 09:28 AM
you can send multiple email addresses like this

/var/hack/dailymail/dailymail_jazz.tcl email1@emaildomain.com email2@emaildomain.com

so to run from crontab /var/hack/dailmail_jazz/dailymail_jazz.tcl & email1@emaildomain.com email2@emaildomain.com?

tivo-onion
03-08-2005, 09:36 AM
so to run from crontab /var/hack/dailmail_jazz/dailymail_jazz.tcl & email1@emaildomain.com email2@emaildomain.com?

I use:

45 5 * * 0-6 /tvbin/tivosh /var/hack/dailymail_jazz.tcl 240 email1@emaildomain.com email2@emaildomain.com /var/log/dailymail_jazz_cron.log 2>&1


cheers

Chris

ash_bluewomble
03-08-2005, 09:43 AM
The new 0.38beta is looking better by the day! The new icons are excellent! :up:

When's it going to be released?

Ash

tivo-onion
03-08-2005, 09:47 AM
The new 0.38beta is looking better by the day! The new icons are excellent! :up:

When's it going to be released?

Ash

I am hoping it will go to initial beta release this time next week. I am tidying up at the moment and writing documentation. The config file also needs to re-structure now that there are so many more options. Can you hold on until then :D ?

cheers

Chris

Trinitron
03-08-2005, 10:07 AM
Expired items and suggestions are NOT part of the used space. I have taken this decision because expired items will indeed be deleted by the tivo if space is required, therefore expired program space is in fact useable space for prospective programs. You can see on the "hover" text what the space used by suggestions and expired programs is if required.
I think I'm in the same school as scottdw and lots of others, who record most programmes with an expiry date on the basis that they will be watched by the time tivo would get around to deleting them. (And if they are deleted they probably weren't worth watching anyway!).

So I would agree that expired recordings should be in used space, but suggestions should not. And definitely not included when calculating how much free time tivo has available.

Any chance of this being a configurable option?

Blahblah2000
03-08-2005, 11:35 AM
So, if I was to add a line to the dailymail_jazz.tcl module that said:

set execoutput [exec "/var/hack/fakecall.tcl" ]

this should effectively run this module "in-line" with the dailymail_jazz.tcl (i.e. synchronously) which I believe is what we would want.

or should I include a line:

set execoutput [exec "/tvbin/tivosh /var/hack/fakecall.tcl" ]

instead - or is that not necessary?

A questions - why should this be any more or less successful than calling fakecall.tcl from the cron?

cheers

Chris

Naw, no need to catch the output on fakecall.tcl, it doesn't really return anything useful.

As to whether or not it will be more or less successful, I don't know, as I haven't tested it yet. I am assuming that fakecall must set things correctly, albeit temporarily, thus why running fakecall manually prior to running dailymail allows proper operation. I suppose another way of doing this, if you didn't want to add this to your code, is to just set cron to run fakecall just before it kicks off the dailymail script. Whichever way you decide to go is fine by me. :)

Thanks for all your hard work on this!

scottdw
03-08-2005, 12:23 PM
I suppose another way of doing this, if you didn't want to add this to your code, is to just set cron to run fakecall just before it kicks off the dailymail script. Whichever way you decide to go is fine by me. :)

Thanks for all your hard work on this!

But fakecall does not seem to work properly under cron, right?

Blahblah2000
03-08-2005, 12:55 PM
But fakecall does not seem to work properly under cron, right?

Well, I suspect that fakecall must work temporarily when called via cron, but I have not tested this theory yet. :)

pmk
03-08-2005, 05:15 PM
I have just looked at the sample HTML file generated by this new version and the first section is much larger than a 1024 screen width so you need to scroll to see the information.

It should really wrap to the width of the screen?

http://www.deepinthejungle.com/Tivo/Other%20Pages/dailymail.htm

tivo-onion
03-08-2005, 05:18 PM
I have just looked at the sample HTML file generated by this new version and the first section is much larger than a 1024 screen width so you need to scroll to see the information.

It should really wrap to the width of the screen?

http://www.deepinthejungle.com/Tivo/Other%20Pages/dailymail.htm

It is configurable in this version. This width fits fine on my desktop, however if you only have a 1024 screen then you can reduce the max size as appropriate.

cheers

Chris

pmk
03-08-2005, 05:34 PM
It is configurable in this version. This width fits fine on my desktop, however if you only have a 1024 screen then you can reduce the max size as appropriate.

cheers

Chris

Thanks looking good. I will probably wait for an official release as Linux is not my best strength and it take me ages to configure. I may even try to configure in HTML e-mail mode as at the moment its in text mode and it looks a bit basic (v0.35 I think).

tivo-onion
03-08-2005, 07:09 PM
Thanks looking good. I will probably wait for an official release as Linux is not my best strength and it take me ages to configure. I may even try to configure in HTML e-mail mode as at the moment its in text mode and it looks a bit basic (v0.35 I think).

Sorry, I meant that for the v0.38 version I will include a variable in the config file that controls the width,

cheers

Chris

thepicman
03-08-2005, 07:34 PM
I use:

45 5 * * 0-6 /tvbin/tivosh /var/hack/dailymail_jazz.tcl 240 email1@emaildomain.com email2@emaildomain.com /var/log/dailymail_jazz_cron.log 2>&1


cheers

Chris

Assuming I have little clue, why /tvbin/tivosh ? What is the 240 for?

ta

TPM

Sproglet
03-08-2005, 07:44 PM
I can't believe it.

Just installed the latest version of dailymail_jazz.
Run from tivowebplus.... no problems.
Run from commandline:

00:41:06-debug-compiling conflicts list
Dumping mempool to /tmp/BlockFailure.197

And tivo reboots.

I've turned on the memory allocation section and still getting it every time.

Any ideas?????

tivo-onion
03-08-2005, 07:44 PM
Assuming I have little clue, why /tvbin/tivosh ? What is the 240 for?

I believe that the "/tvbin/tivosh" text means that this module is run in the tivo shell as opposed to any other shell. If I don't add this on my TiVo it does not work.

The "240" is a parameter that overrides the default hours ahead, with 240 hours,

cheers

Chris

pmk
03-09-2005, 04:55 AM
Sorry, I meant that for the v0.38 version I will include a variable in the config file that controls the width,

cheers

Chris

You were correct I was just saying I was using 0.35 and the new version looks great. The width was with respect to the latest HTML on your site. I am not experiencing any problems with 0.35 with the width with my current configuration.

MonTheFish
03-09-2005, 07:24 AM
is it just me or is the lastest version not showing all the conflicts that it should?

Rejected recordings is showing some items as conflict (eg Nanny 911 Wed 20:00 ITV2 (Conflict)) . This currently is correctly showing 4 recordings as conflict

but there is no mention of this or the other 2 recordings in the conflicts section of the mail which is only showing 1 conflict item.

thepicman
03-09-2005, 09:33 AM
I am trying to get cron to run DMJ. Cron is working correctly as I can make it write the date and local time to a file every 10 minutes. It also appreared to be running the DMJ command as the CMD appeared in the cron.log, but the DMJ logfile itself never changed. I did finally notice the the DMJ HTML file was being partially written to, so I tried running DMJ from a bash prompt with /var/hack/dailymail_jazz/dailmail_jazz.tcl & (I also tried it with /tvbin/tivosh at the beginning). Bear in mind that I can run DMJ through TWP1.0 perfectly. When run at the bash, I get the following:


------welcome to the jazzed dailymail program - v0.37 beta (25 Feb 2005) - start
ing
------the debug level is set at >>1<<
------generated content presented in American English for your reading pleasure!
------started at 14:21:05 (debugging times specified in gmt)

14:21:05-debug-global variable definition complete
14:21:05-debug-commence fooling tivoweb modules
14:21:05-debug-completed fooling tivoweb modules
14:21:05-debug-completed other preperation
14:21:05-debug-0 argument(s) found
14:21:05-debug-argument handling complete
14:21:05-debug-start optional message handling
14:21:05-debug-end optional message handling
14:21:05-debug-about to start version setting
14:21:05-debug-completed version setting
14:21:05-debug-about to assemble e-mail
14:21:05-debug-creating heading
14:21:05-debug-heading created
14:21:05-debug-calculating uptime & reboot status
14:21:05-debug-checking for emergency temperature reading
14:21:06-debug-checking phone & daily call status
14:21:06-debug-checking S.M.A.R.T. status
14:21:06-debug-drive A SMART check :
smartctl version 5.1-9 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: Maxtor 6B200P0
Serial Number: B40Y5QQH
Firmware Version: BAH41B70
ATA Version is: 7
ATA Standard is: 9,minutes
Local Time is: Wed Mar 9 14:21:06 2005 localtime
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Off-line data collection status: (0x85) Offline data collection activity was
aborted by an interrupting command from
host.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete off-line
data collection: (1622) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Automatic timer ON/OFF support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 82) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE WHEN_FAILED RAW
_VALUE
3 Spin_Up_Time 0x0027 252 252 063 Old_age - 260
2
4 Start_Stop_Count 0x0032 253 253 000 Old_age - 13
5 Reallocated_Sector_Ct 0x0033 253 253 063 Old_age - 1
6 Read_Channel_Margin 0x0001 253 253 100 Old_age - 0
7 Seek_Error_Rate 0x000a 253 251 000 Old_age - 0
8 Seek_Time_Performance 0x0027 250 248 187 Old_age - 371
77
9 Power_On_Hours 0x0032 252 252 000 Old_age - 387
91
10 Spin_Retry_Count 0x002b 252 252 157 Old_age - 0
11 Calibration_Retry_Count 0x002b 253 252 223 Old_age - 0
12 Power_Cycle_Count 0x0032 253 253 000 Old_age - 10
192 Power-Off_Retract_Count 0x0032 253 253 000 Old_age - 0
193 Load_Cycle_Count 0x0032 253 253 000 Old_age - 0
194 Temperature_Celsius 0x0032 046 253 000 Old_age - 48
195 Hardware_ECC_Recovered 0x000a 253 252 000 Old_age - 162
15
196 Reallocated_Event_Count 0x0008 253 253 000 Old_age - 0
197 Current_Pending_Sector 0x0008 253 253 000 Old_age - 0
198 Offline_Uncorrectable 0x0008 253 253 000 Old_age - 0
199 UDMA_CRC_Error_Count 0x0008 199 199 000 Old_age - 0
200 Multi_Zone_Error_Rate 0x000a 253 252 000 Old_age - 0
201 Unknown_Attribute 0x000a 253 252 000 Old_age - 0
202 Unknown_Attribute 0x000a 253 252 000 Old_age - 0
203 Unknown_Attribute 0x000b 253 252 180 Old_age - 0
204 Unknown_Attribute 0x000a 253 252 000 Old_age - 0
205 Unknown_Attribute 0x000a 253 252 000 Old_age - 0
207 Unknown_Attribute 0x002a 252 252 000 Old_age - 0
208 Unknown_Attribute 0x002a 252 252 000 Old_age - 0
209 Unknown_Attribute 0x0024 239 239 000 Old_age - 176
210 Unknown_Attribute 0x0032 253 252 000 Old_age - 0
211 Unknown_Attribute 0x0032 253 252 000 Old_age - 0
212 Unknown_Attribute 0x0032 253 253 000 Old_age - 0

14:21:06-debug-disk passed SMART check.
14:21:07-debug-drive B SMART check :
14:21:07-debug-disk passed SMART check.
14:21:07-debug-calculating disk usage
14:21:14-debug-building usage diagram
14:21:14-debug-Checking endpad process currency.
14:21:14-debug-About to acquire pid number from endpad pid file.
14:21:14-debug-Endpad pid number gathered successfully.
14:21:14-debug-checking for new messages in tivo central
14:21:16-debug-compiling to do list
14:21:21-debug-compiling expiration list
14:21:28-debug-started record history procedure
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]-d..."
(procedure "recordhistory" line 46)
invoked from within
"recordhistory "
(procedure "outputSection" line 173)
invoked from within
"outputSection 4"
(file "/var/hack/dailymail_jazz/dailymail_jazz.tcl" line 3882)

[2]+ Exit 1 /var/hack/dailymail_jazz/dailymail_jazz.tcl
bash-2.02#
bash-2.02#

It also appends the DMJ HTML doc as up to the choke point. Am I missing a operator in the command line?

tivo-onion
03-09-2005, 09:42 AM
The Pic Man.

you are specifying the target log when calling DMJ in the cron aren't you?

cheers

Chris

thepicman
03-09-2005, 10:06 AM
The Pic Man.

you are specifying the target log when calling DMJ in the cron aren't you?

cheers

Chris

Currently I am just trying to run it from bash, but, If you mean:

I tried running it with /var/hack/dailymail_jazz/dailymail_jazz.tcl 48 email1@emaildomain.com /var/log/dailymail_jazz_cron.log 2>&1

and it choked the same:


20:14:16-debug-disk passed SMART check.
20:14:17-debug-drive B SMART check :
20:14:17-debug-disk passed SMART check.
20:14:17-debug-calculating disk usage
20:14:25-debug-building usage diagram
20:14:25-debug-Checking endpad process currency.
20:14:25-debug-About to acquire pid number from endpad pid file.
20:14:25-debug-Endpad pid number gathered successfully.
20:14:25-debug-checking for new messages in tivo central
20:14:27-debug-compiling to do list
20:14:33-debug-compiling expiration list
20:14:40-debug-started record history procedure
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]-d..."
(procedure "recordhistory" line 46)
invoked from within
"recordhistory "
(procedure "outputSection" line 173)
invoked from within
"outputSection 4"
(file "/var/hack/dailymail_jazz/dailymail_jazz.tcl" line 3882)
bash-2.02#
bash-2.02#

Thanks!

TPM

ash_bluewomble
03-09-2005, 10:29 AM
is it just me or is the lastest version not showing all the conflicts that it should?

Rejected recordings is showing some items as conflict (eg Nanny 911 Wed 20:00 ITV2 (Conflict)) . This currently is correctly showing 4 recordings as conflict

but there is no mention of this or the other 2 recordings in the conflicts section of the mail which is only showing 1 conflict item.

That's an interesting point! Looking at my mail from this morning (0.37beta), I have in my rejected recordings list:


Thu, 10 Mar
Star Trek: The Next Generation Thu 17:00 SKYONE (MaxRecordingsExceeded)
Cause and Effect
The Simpsons Thu 19:00 SKYONE (Conflict)
The Simpsons Thu 19:30 SKYONE (Conflict)


... and yet, in the conflicts section, it says:


Conflicts

The following unresolvable conflicts occur in the next 48 hour(s). TiVo has determined that these programmes that you have selected to be recorded via season-pass or wishlist will not be recorded:

None


I suspect the rejected recordings were not rejected because of conflicts, but rather that my season pass for the Simpsons is set up to only record first runs, not repeats... My guess is that
a) the rejected recordings are repeats.
b) the conflicts section of the DailyMail is correct
c) the reason list in the rejected recordings is wrong.

Any thoughts?

Ash.

tivo-onion
03-09-2005, 05:14 PM
That's an interesting point! Looking at my mail from this morning (0.37beta), I have in my rejected recordings list:



... and yet, in the conflicts section, it says:



I suspect the rejected recordings were not rejected because of conflicts, but rather that my season pass for the Simpsons is set up to only record first runs, not repeats... My guess is that
a) the rejected recordings are repeats.
b) the conflicts section of the DailyMail is correct
c) the reason list in the rejected recordings is wrong.

Any thoughts?

Ash.

I would be very interested to see your logfile at de-bugging level 3 for this email, if you could attach it to a post. I have had a brief look at the code and I cannot immediately see any issues, but the reject recording stuff is a bit complicated.

Also, could you compare it to what it says on your tivo (via the telly) on the subject, you should be able to see if simpsons will not really record because of a conflict!

cheers

Chris

tivo-onion
03-09-2005, 05:17 PM
Currently I am just trying to run it from bash, but, If you mean:

I tried running it with /var/hack/dailymail_jazz/dailymail_jazz.tcl 48 email1@emaildomain.com /var/log/dailymail_jazz_cron.log 2>&1

and it choked the same:

TPM

Try adding the /tvbin/tivosh part in front of the /var/hack........

By the way, has this section ever worked for you?

cheers

Chris

thepicman
03-09-2005, 05:39 PM
Try adding the /tvbin/tivosh part in front of the /var/hack........

By the way, has this section ever worked for you?

cheers

Chris

With the /tvbin/tivosh bit:

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]-d..."
(procedure "recordhistory" line 46)
invoked from within
"recordhistory "
(procedure "outputSection" line 173)
invoked from within
"outputSection 4"
(file "/var/hack/dailymail_jazz/dailymail_jazz.tcl" line 3882)
bash-2.02#
bash-2.02#

DMJ runs perfectly through TWP1.0, just chokes via bash :confused:

Sproglet
03-09-2005, 06:23 PM
I can't believe it.

Just installed the latest version of dailymail_jazz.
Run from tivowebplus.... no problems.
Run from commandline:

00:41:06-debug-compiling conflicts list
Dumping mempool to /tmp/BlockFailure.197

And tivo reboots.

I've turned on the memory allocation section and still getting it every time.

Any ideas?????


No-one seems to have noticed my note :(

Playing with the numbers I managed to get exactly the same error as thepicman by using the same commandline as him

Using tivo-onion's commandline posted the other day gave me:

23:18:55-debug-creating seperator line
23:18:55-debug-item text added.
23:18:55-debug-Items Found >>1<<
23:18:55-debug-GENERATING OUTPUT SECTION >>3<<
23:18:55-debug-GENERATING CONFLICTS LIST
23:18:55-debug-compiling conflicts list
Dumping mempool to /tmp/BlockFailure.229
Tmk Assertion Failure:
BlockFailure, line 1771 ()

And TiVo rebooted :(.....
HELP :(

thepicman
03-09-2005, 06:56 PM
No-one seems to have noticed my note :(


And TiVo rebooted :(.....
HELP :(

At least I am not getting a reboot...

tivo-onion
03-09-2005, 08:49 PM
No-one seems to have noticed my note :(

Playing with the numbers I managed to get exactly the same error as thepicman by using the same commandline as him


Did you try this:

http://www.tivocommunity.com/tivo-vb/showthread.php?p=2659426&&#post2659426

cheers

Chris

thepicman
03-10-2005, 12:56 AM
Did you try this:

http://www.tivocommunity.com/tivo-vb/showthread.php?p=2659426&&#post2659426

cheers

Chris

No, but I'm on a S1 with 3.01, but what the ding? I'm up for a try.

MonTheFish
03-10-2005, 03:18 AM
a) the rejected recordings are repeats.
b) the conflicts section of the DailyMail is correct
c) the reason list in the rejected recordings is wrong.

Ash.


Now that I'm checking the rejected recordings I'm seeing loads of these: The Friday Night Project Fri 22:30 C4 (No Longer In Program Guide) .

When I do a search for the show on tivo web its showing with the tick to record, and clicking on that episode gives the options to cancel recording or edit sesson pass.

To-do list shows it not being recorded, and recording a different show on at that time which is the one showing up in daily mail as to be recorded. Initial guess is guide data problem...anyone else finding this?

ash_bluewomble
03-10-2005, 04:50 AM
I would be very interested to see your logfile at de-bugging level 3 for this email, if you could attach it to a post. I have had a brief look at the code and I cannot immediately see any issues, but the reject recording stuff is a bit complicated.

Also, could you compare it to what it says on your tivo (via the telly) on the subject, you should be able to see if simpsons will not really record because of a conflict!

cheers

Chris

Chris,
Here is my log, as requested. I haven't had a chance to look on the TiVo iteslf yet.

Here is my rejected recordings secion for Thursday 10th March:

Thu, 10 Mar
Star Trek: The Next Generation Thu 17:00 SKYONE (MaxRecordingsExceeded)
Cause and Effect
The Simpsons Thu 19:00 SKYONE (Conflict)
The Simpsons Thu 19:30 SKYONE (Conflict)
Star Trek: The Next Generation Fri 00:00 SKYONE (MaxRecordingsExceeded)
Cause and Effect
Time Team Fri 05:00 DISCOV (Duplicate)
The episode 'Death in a Crescent' is scheduled to record at a future time (Thu, 10 Mar 19:00).

The conflicts section shows neither of these 2 items.

I'll look at what TiVo says for these items (or similar) this evening and get back to you.

Thanks,
Ash.

ash_bluewomble
03-10-2005, 08:48 AM
That's an interesting point! Looking at my mail from this morning (0.37beta), I have in my rejected recordings list:



... and yet, in the conflicts section, it says:



I suspect the rejected recordings were not rejected because of conflicts, but rather that my season pass for the Simpsons is set up to only record first runs, not repeats... My guess is that
a) the rejected recordings are repeats.
b) the conflicts section of the DailyMail is correct
c) the reason list in the rejected recordings is wrong.

Any thoughts?

Ash.

Ah... I think I might have gotten to the bottom of this... I havn't managed to look on the TiVo itself yet, but a bit more digging in TiVoWeb (User Interface -> Recording History) shows that the episodes of the simpsons in question are shown up as "Conflict (alternative scheduled)", whereas real conflicts just say "Conflict" in bold.

Is there a bug in the rejected recordings code? Should it say "Conflict (alternative scheduled at xxxxxx)" for these cases?

Ash

thepicman
03-10-2005, 08:57 AM
Did you try this:

http://www.tivocommunity.com/tivo-vb/showthread.php?p=2659426&&#post2659426

cheers

Chris

Success :p creating the .sh file and running it from bash and through the Hackman shell command. Now to try it from cron.......

S1 TiVo running 3.01

TPM

tivo-onion
03-10-2005, 01:50 PM
Ah... I think I might have gotten to the bottom of this... I havn't managed to look on the TiVo itself yet, but a bit more digging in TiVoWeb (User Interface -> Recording History) shows that the episodes of the simpsons in question are shown up as "Conflict (alternative scheduled)", whereas real conflicts just say "Conflict" in bold.

Is there a bug in the rejected recordings code? Should it say "Conflict (alternative scheduled at xxxxxx)" for these cases?

Ash

I am unsure of where to get the "alternative scheduled at xxxxxx" information from in the TiVo datastructure. The cancel reason code is gathered as such:

set cancelreason [dbobj $rec get CancelReason]

and as I understanding it, a cancel reason code of "20" indicates a "Conflict" of some kind. How do I gather or ascertain the secondary level information such as : "alternative scheduled at xxxxxx" information - does anyone have any ideas?

thanks for yoru help,

Chris

Sproglet
03-10-2005, 04:51 PM
Did you try this:

http://www.tivocommunity.com/tivo-vb/showthread.php?p=2659426&&#post2659426



Hadn't because I thought using a UK TiVo it wouldn't be that.

AND IT WORKED :)

Woo!

sanderton
03-10-2005, 06:07 PM
I am unsure of where to get the "alternative scheduled at xxxxxx" information from in the TiVo datastructure. The cancel reason code is gathered as such:

set cancelreason [dbobj $rec get CancelReason]

and as I understanding it, a cancel reason code of "20" indicates a "Conflict" of some kind. How do I gather or ascertain the secondary level information such as : "alternative scheduled at xxxxxx" information - does anyone have any ideas?

thanks for yoru help,

Chris

There's a proc in TivoWeb, alt_showing, which figures it out. It basically just scans /Recordings/Active for an entry with the same TMSId as the show with the conflict:


##########################################
# Copyright (c) 2002 Aaron Schrab <aaron@schrab.com>
proc alt_showing {tofind_tmsid tofind_fsid} {
global db

set showings [get_programshowings $tofind_fsid 1]

foreach showing $showings {
set seconds [lindex $showing 0]
set stationfsid [lindex $showing 1]
set date [expr $seconds / 86400]
set time [expr $seconds % 86400]
set timestr [format "%05d" $time]
ForeachMfsFile recfsid name type "/Recording/Active" "4:$date:$timestr:" {
RetryTransaction {
set rec [db $db openid $recfsid]
set show [dbobj $rec get Showing]
set prog [dbobj $show get Program]
set id [dbobj $prog get TmsId]
if {$id == $tofind_tmsid} {
return "todo [dbobj $show fsid]/[dbobj $show subobjid]"
}
}
}
}

# Also check if it's in Now Showing
ForeachMfsFile recfsid name type "/Recording/TmsId" "$tofind_tmsid:" {
RetryTransaction {
set rec [db $db openid $recfsid]
set show [dbobj $rec get Showing]
return "nowshowing [dbobj $show fsid]/[dbobj $show subobjid]"
}
}

return ""
}

thepicman
03-10-2005, 09:40 PM
Success :p creating the .sh file and running it from bash and through the Hackman shell command. Now to try it from cron.......

S1 TiVo running 3.01

TPM

Cron does not even see this as a CMD. It just skips over it:

30 02 1-6 * * /var/hack/dailymail_jazz/dailymail.sh

What did I typo?

bdeweese
03-11-2005, 12:28 AM
I went nuts trying to figure out why my once working dailymail cron entry quit working - even though everything looked correct. Finally, I figured out that in all the messing with the dailymail.sh script file it had somehow reverted to pc format. Re-saving it in unix and then chmodding it solved the problem. You may want to double check your script file if you haven't already. Also, if I'm not mistaken, in your example above you have specified day 1 - 6 of the month - and I think you wanted days 1 - 6 of the week. If so, you want "30 02 * * 1-6 /var/hack/dailymail_jazz/dailymail.sh" as opposed to what you listed above.

Hope I got that right! Bob

thepicman
03-11-2005, 09:05 AM
I went nuts trying to figure out why my once working dailymail cron entry quit working - even though everything looked correct. Finally, I figured out that in all the messing with the dailymail.sh script file it had somehow reverted to pc format. Re-saving it in unix and then chmodding it solved the problem. You may want to double check your script file if you haven't already. Also, if I'm not mistaken, in your example above you have specified day 1 - 6 of the month - and I think you wanted days 1 - 6 of the week. If so, you want "30 02 * * 1-6 /var/hack/dailymail_jazz/dailymail.sh" as opposed to what you listed above.

Hope I got that right! Bob

Thanks for the date/time catch. If I un-rem the cron.test.out line, cron will correctly write to the file every 10 minutes, so I figure the file is still in the correct format and is chmoddedcorrectly ?

-TPM

DerekR
03-14-2005, 06:36 PM
Hello brainy folks :)

It's the end of a long day. Been playing with Dailymail on and off most of the day and have just about got things working!

All appears well, I had some teething troubles, most of which I've managed to iron out myself (with the help of the 'search' facility), but basically Dailymail appears to be generating and sending it's email OK, but for some reason I'm not receiving anything in my inbox :(

Here's (what I think is) the relevant part of my logfile, does everything look OK to you guys?

23:21:52-debug-e-mail required
23:21:52-debug-about to send e-mail
23:21:52-debug-entered sendmail procedure
23:21:52-debug-variable check:
23:21:52-debug-mailserver : >>207.44.238.99<<
23:21:52-debug-domain : >>fireflyuk.net<<
23:21:52-debug-recipient : >>derekr@fireflyuk.net<<
23:21:52-debug-subject: >>TiVo status e-mail for Monday March 14, 2005<<
23:21:52-debug-attempting to open socket 25 to mailserver specified >>207.44.238.99<<
23:21:52-debug-got reply : >>220 smtp.fireflyinternet.com ESMTP FireFly SMTP Server v8.0.3; Mon, 14 Mar 2005 23:21:55 -0000<<
23:21:52-debug-connected
23:21:52-debug-got reply : >>250 smtp.fireflyinternet.com Hello fireflyuk.net [62.69.34.193], pleased to meet you.<<
23:21:52-debug-helo acknowledged
23:21:52-debug-got reply : >>250 2.1.0 <TiVo@fireflyuk.net>... Sender ok<<
23:21:52-debug-from acknowledged
23:21:52-debug-got reply : >>250 2.1.5 <derekr@fireflyuk.net>... Recipient ok; will forward<<
23:21:52-debug-to acknowledged
23:21:53-debug-got reply : >>354 Enter mail, end with "." on a line by itself<<
23:21:53-debug-sending message
23:21:53-debug-building header
23:21:53-debug-about to set recipient
23:21:53-debug-recipient set
23:21:53-debug-building content
23:21:53-debug-html starts
23:21:53-debug-body starts
23:21:53-debug-body ended
23:21:54-debug-got reply : >>250 2.6.0 9312 bytes received in 00:00:01; Message accepted for delivery<<
23:21:54-debug-message sent
23:21:54-debug-got reply : >>221 2.0.0 smtp.fireflyinternet.com closing connection<<
23:21:54-debug-disconnected
23:21:54-debug-e-mail sent
23:21:54-debug-html file generation required
23:21:54-debug-about to write html file
23:21:54-debug-building html content
23:21:54-debug-html starts
23:21:54-debug-body starts
23:21:54-debug-body ended
23:21:54-debug-html file written

------completed the jazzed dailymail program - v0.35.6 (14th April 2004) - thanks for your custom
------completed at 23:21:54


The only strange bit I can see is the "354 Enter mail, end with "." on a line by itself", is this something specific to my mail server? Is this anything to do with why my mail is not coming through? The "Message accepted for delivery" would suggest that everything is OK ??

I have tested my email by sending some messages to myself and these come through OK, so I know it's not a problem with my incoming mail.

Please help, I'm at my wits end!

(using dailymail v0.35.6 beta, cron installed and running but not set to do anything yet, I figured I should get dailymail working manually first).