TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > TiVo Underground
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 08-22-2007, 11:07 AM   #1
SteveT
Just a member
 
Join Date: Oct 2002
Location: Easley, SC
Posts: 102
New module for TivoWebPlus - Manage NoReRecord List

I have created a new module to maintain the TiVo's NoReRecord list. This list is used to prevent automatic recording of shows within 30 days of their deletion or cancellation from the TiVo. (Others have referred to it as the "28-day rule", so maybe the timing is different on different systems.)

This module allows you to see the shows on the NoReRecord list. Using the new TWP client-side-sort feature, you can arrange the list by series, date, etc. You can also filter the list by Program, Date or Cancel Reason.

You can then modify the dates using the two check boxes:
Keep - Resets the Cancel date to prevent the show from dropping off the NoReRecord list. This extends the time until the show will be rerecorded, by the number of days selected in "Keep Duration".
Remove - Deletes the show from the NoReRecord list. This allows the TiVo to automatically record this show the next time it is available.

The first column (NoReRecord Date) indicates when the Tivo will consider a show eligible for auto-recording again. This is the value that is changed by the Keep option.

I've attached the module to this post. Copy the norerecord.itcl file to your modules folder and the .js file to your scripts folder and restart TWP. Note that this requires the latest TWP 2.0 (at least 070901).

Please give it a try and advise any problems or suggestions in this thread.
Attached Files
File Type: zip norerecord_v1.4.zip (4.3 KB, 34 views)
__________________
2x6.2a, 1x6.3d, superpatch(1.12), TivoWebPlus(2.1), Hackman, tivocid, Tracker, tivoserver, TySuiteJ, MovieLoader, MCE(HD), Xbox360,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by SteveT : 09-04-2007 at 11:50 AM. Reason: removed sorttable.js from .zip, since it's now included in TWP2.0
SteveT is offline   Reply With Quote
Old 08-22-2007, 12:54 PM   #2
tc2000
Registered User
 
Join Date: Mar 2007
Posts: 45
Hi, sounds good. I tried to install but get following error:

Quote:
INTERNAL SERVER ERROR
--cut here--
action_norerecord '' ''
invalid command name "bodytext"
while executing
"bodytext "Manage No-Re-Record List" "
(procedure "MOD::action_norerecord" line 67)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--

tc2000 is offline   Reply With Quote
Old 08-22-2007, 12:57 PM   #3
SteveT
Just a member
 
Join Date: Oct 2002
Location: Easley, SC
Posts: 102
Quote:
Originally Posted by tc2000
Hi, sounds good. I tried to install but get following error:
Sounds like you're not running the latest TWP 2.0. Use the Update module, or get it from here. After upgrading, you'll need to replace the sorttable.js file, as the one with NoReRecord is currently newer than the one installed with TWP.
__________________
2x6.2a, 1x6.3d, superpatch(1.12), TivoWebPlus(2.1), Hackman, tivocid, Tracker, tivoserver, TySuiteJ, MovieLoader, MCE(HD), Xbox360,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by SteveT : 08-22-2007 at 01:05 PM.
SteveT is offline   Reply With Quote
Old 08-22-2007, 01:13 PM   #4
tc2000
Registered User
 
Join Date: Mar 2007
Posts: 45
doh! Correct, updated TWP to latest vers and now working well!
tc2000 is offline   Reply With Quote
Old 08-22-2007, 01:52 PM   #5
TCM2007
Registered User
 
TCM2007's Avatar
 
Join Date: Dec 2006
Posts: 3,947
Interesting.

I thought of taking this approach with Tracker, but was concerened about how the TiVo would handle what could over time become a very large No Re-Record list especially as keeping the Recording object alive there will prevent housekeeping from deleteing all its associated objects as they will be referred to by a live object.

I look forward to seeing if my fears were unfounded or not!
TCM2007 is offline   Reply With Quote
Old 08-22-2007, 02:39 PM   #6
SteveT
Just a member
 
Join Date: Oct 2002
Location: Easley, SC
Posts: 102
Quote:
Originally Posted by TCM2007
Interesting.
I thought of taking this approach with Tracker, but was concerened about how the TiVo would handle what could over time become a very large No Re-Record list especially as keeping the Recording object alive there will prevent housekeeping from deleteing all its associated objects as they will be referred to by a live object.
I look forward to seeing if my fears were unfounded or not!
Agreed. That's the main reason I didn't automate it, and spent a lot of time adding filters and sorts so that (hopefully) the users will manage the list rather than just blindly extending everything forever.
I've been running it for a couple of months now on a very heavily-used TiVo and haven't seen any ill effects.
__________________
2x6.2a, 1x6.3d, superpatch(1.12), TivoWebPlus(2.1), Hackman, tivocid, Tracker, tivoserver, TySuiteJ, MovieLoader, MCE(HD), Xbox360,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
SteveT is offline   Reply With Quote
Old 08-22-2007, 03:38 PM   #7
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
Interesting new module but my only issue is that as a UK Tivo S1 PVR10UK unit user I just can't get TivoWebPlus 2 in to a state where it is stable and reliable and supports the same number of modules and functionality as TivoWeb 1.9.4 does.

How much extra work would it involve to also produce a TivoWeb 1.9.4 compliant version of your new module? I believe the differences in the code between a TivoWeb 1.9.4 compliant module and a TivoWebPlus 2.0 compliant module are only actually fairly modest.
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 08-22-2007, 03:53 PM   #8
SteveT
Just a member
 
Join Date: Oct 2002
Location: Easley, SC
Posts: 102
Quote:
Originally Posted by Pete77
Interesting new module but my only issue is that as a UK Tivo S1 PVR10UK unit user I just can't get TivoWebPlus 2 in to a state where it is stable and reliable and supports the same number of modules and functionality as TivoWeb 1.9.4 does.

How much extra work would it involve to also produce a TivoWeb 1.9.4 compliant version of your new module? I believe the differences in the code between a TivoWeb 1.9.4 compliant module and a TivoWebPlus 2.0 compliant module are only actually fairly modest.
You are likely correct, but I'd prefer to help get you to running TWP 2.0. What 1.9.4 functionality are you using that is not in 2.0?

As for stability, I can attest that 2.0 is MUCH more stable and reliable than any of its predecessors.
__________________
2x6.2a, 1x6.3d, superpatch(1.12), TivoWebPlus(2.1), Hackman, tivocid, Tracker, tivoserver, TySuiteJ, MovieLoader, MCE(HD), Xbox360,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
SteveT is offline   Reply With Quote
Old 08-25-2007, 08:12 AM   #9
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
Quote:
Originally Posted by SteveT
You are likely correct, but I'd prefer to help get you to running TWP 2.0. What 1.9.4 functionality are you using that is not in 2.0?
I updated to the latest version of TWP2.0 and installed your new module and the scripts and did a Quit and Reload but then got the following error message:-

Quote:
INTERNAL SERVER ERROR
--cut here--
action_norerecord '' ''
can't read "t": no such variable
while executing
"if {$toy < $t+86400*((73-($ddoy+$y+$leaps))%7)} break"
(procedure "get_tzoffset" line 18)
invoked from within
"get_tzoffset $time"
(procedure "ftime" line 2)
invoked from within
"ftime $seconds "%a""
(procedure "norerecord_showinfo" line 62)
invoked from within
"norerecord_showinfo $show inf"
("uplevel" body line 10)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set rec [db $db openid $fsid ]
set show [dbobj $rec get Showing]
set station [dbobj $show get Station]
set callsign [dbobj $station..."
("uplevel" body line 6)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFile fsid name type "/Recording/NoReRecord" "" {

set recdate [split $name ":"]

if {[lindex $recdate 2] != 99999} {
RetryTransaction {
set ..."
(procedure "MOD::action_norerecord" line 90)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
The other problem I have is that because I hate the default multi layered menu approach of TWP2.0 I used TWP Menus to put everything on UI. But this seems to have upset TWP 2.0 and I now get a strange menu with only text and without the usual graphics on the main menu and if I try to go in to TWP Menus to take some options off of UI I get the error message:-

Quote:
INTERNAL SERVER ERROR
--cut here--
action_menus '' ''
can't read "leftoverNames": no such variable
while executing
"regsub -all \{ $leftoverNames {} leftoverNames"
(procedure "MOD::action_menus" line 85)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
I have tried running the software update again to cure this but unfortunately the menu options are not reset by updating the software.

This is why I don't like TWP 2.0. It is still full of bugs like this where you can pick a set of menu options it then doesn't like and sulks over.

Of course may be there is just something special about our UK Thomsons PVR10UK Series 1 Tivos that makes them not like the TWP 2.0 software. At least it works and as we don't have dual tuners the biggest reason for changing to TivoWebPlus is not there.

Any thoughts you can give me on why your module isn't working would be appreciated.
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 08-25-2007, 12:34 PM   #10
SteveT
Just a member
 
Join Date: Oct 2002
Location: Easley, SC
Posts: 102
Quote:
Originally Posted by Pete77
I updated to the latest version of TWP2.0 and installed your new module and the scripts and did a Quit and Reload but then got the following error message:-
Code:
can't read "t": no such variable
while executing
"if {$toy < $t+86400*((73-($ddoy+$y+$leaps))%7)} break"
(procedure "get_tzoffset" line 18)
invoked from within
"get_tzoffset $time"
(procedure "ftime" line 2)
invoked from within
"ftime $seconds "%a""
(procedure "norerecord_showinfo" line 62)
That crash is actually in get_tzoffset, which I haven't seen before. I'll investigate and advise.
Quote:
Originally Posted by Pete77
The other problem I have is that because I hate the default multi layered menu approach of TWP2.0 I used TWP Menus to put everything on UI. But this seems to have upset TWP 2.0 and I now get a strange menu with only text and without the usual graphics on the main menu and if I try to go in to TWP Menus to take some options off of UI I get the error message:-
Code:
action_menus '' ''
can't read "leftoverNames": no such variable
That looks like part of the change I made to support drop-down menus. It never occurred to me that someone would intentionally remove all options from the first level. I'll work on a fix this weekend.
Quote:
Originally Posted by Pete77
I have tried running the software update again to cure this but unfortunately the menu options are not reset by updating the software.
If you delete the dyncfg.cfg file from /var/TWP, your menus will be defaulted to the original. Until I have the fix above, please leave at least one option out of the 3 groups. If you still get the "strange menu", please post a screen capture of it, and I'll look at that as well.
__________________
2x6.2a, 1x6.3d, superpatch(1.12), TivoWebPlus(2.1), Hackman, tivocid, Tracker, tivoserver, TySuiteJ, MovieLoader, MCE(HD), Xbox360,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
SteveT is offline   Reply With Quote
Old 08-25-2007, 12:48 PM   #11
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
Hi Steve,

Thanks for your response. Are you on the development team of TWP 2.0 then as surely my menus issue doesn't relate to your new module directly.

As to users as you sound like a trained developer surely you have learned by now that if they can do it they will do it.

What I actually wanted was the equivalent of the functionality in TWP 1.0 to 1.4 where you can delete the More files and get a single layer menu structure as per Tivoweb 1.9.4

As to the time zone offset issue don't forget I am a UK based Series 1 Thomson Tivo user and we are 5 hours to 8 hours ahead of you guys in North America. So I expect that may be why it is occurring.
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 08-25-2007, 07:46 PM   #12
SteveT
Just a member
 
Join Date: Oct 2002
Location: Easley, SC
Posts: 102
Quote:
Originally Posted by Pete77
....Are you on the development team of TWP 2.0 then as surely my menus issue doesn't relate to your new module directly.
Not quite a team member, but yes, I have written some of the recent additions to 2.0. I checked into this error and found a "fix". In menus.itcl, find this code
Code:
  # Assign menu grougs  
  ######################
  set top 0
  set max 0
  foreach i {newMore newSystem newUI leftovers MoreList SystemList UIList MoreNames SystemNames UINames} {set $i ""}
and add the two red lines below, to result in
Code:
  # Assign menu groups  
  ######################
  set top 0
  set max 0
  set leftovers {}
  set leftoverNames {}
  foreach i {newMore newSystem newUI leftovers MoreList SystemList UIList MoreNames SystemNames UINames} {set $i ""}
I will submit this as a patch shortly, if you'd prefer to wait.
Quote:
Originally Posted by Pete77
As to users as you sound like a trained developer surely you have learned by now that if they can do it they will do it.
Touché.
Quote:
Originally Posted by Pete77
What I actually wanted was the equivalent of the functionality in TWP 1.0 to 1.4 where you can delete the More files and get a single layer menu structure as per Tivoweb 1.9.4
I see what you're wanting, but that will take some more work than just this "fix". I'll see if I can add a check to not show "More", "System", or "UI" if that group is empty.
However, I wonder why the "drop-downs" I added for the sub-menus don't meet your need? If you haven't seen them, I suggest you visit my Jacket Themes site (see sig) and hover over More, System and UI.
Quote:
Originally Posted by Pete77
As to the time zone offset issue don't forget I am a UK based Series 1 Thomson Tivo user and we are 5 hours to 8 hours ahead of you guys in North America. So I expect that may be why it is occurring.
Still investigating this one. This function is used in several places in TWP 2.0 (like Info). Can you run Info successfully?
__________________
2x6.2a, 1x6.3d, superpatch(1.12), TivoWebPlus(2.1), Hackman, tivocid, Tracker, tivoserver, TySuiteJ, MovieLoader, MCE(HD), Xbox360,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
SteveT is offline   Reply With Quote
Old 08-25-2007, 10:24 PM   #13
Soapm
Registered User
 
Soapm's Avatar
 
Join Date: May 2007
Location: So close, yet too far away
Posts: 1,451
Fixed... I assumed tweak.sh would have the latest version but I was wrong.

Last edited by Soapm : 08-26-2007 at 01:42 AM.
Soapm is offline   Reply With Quote
Old 08-26-2007, 01:50 AM   #14
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
Quote:
Originally Posted by Soapm
Fixed... I assumed tweak.sh would have the latest version but I was wrong.

__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 08-26-2007, 02:14 AM   #15
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
Quote:
Originally Posted by SteveT
Still investigating this one. This function is used in several places in TWP 2.0 (like Info). Can you run Info successfully?
No. Along with various other errors in different places in TivoWebPlus 2.0 I get the following when I use Info:-

Quote:
INTERNAL SERVER ERROR
--cut here--
action_info '' ''
can't read "t": no such variable
while executing
"if {$toy < $t+86400*((73-($ddoy+$y+$leaps))%7)} break"
(procedure "get_tzoffset" line 18)
invoked from within
"get_tzoffset $secs"
(procedure "MOD::action_info" line 174)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
This is why previously I came to the conclusion that for UK Tivos Tivoweb 1.9.4 was still the better bet. Most other UK Tivoweb users still feel the same way as me.

It seems we need to donate you guys a UK Thomson Tivo PVR10UK S1 model for you to test your TivoWebPlus 2.0 software out on.
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 08-26-2007, 09:33 AM   #16
SteveT
Just a member
 
Join Date: Oct 2002
Location: Easley, SC
Posts: 102
Quote:
Originally Posted by Pete77
No. Along with various other errors in different places in TivoWebPlus 2.0 I get the following when I use Info:-
OK, thanks. That helps me understand the problem a bit better.
Quote:
Originally Posted by Pete77
It seems we need to donate you guys a UK Thomson Tivo PVR10UK S1 model for you to test your TivoWebPlus 2.0 software out on.
An interesting idea, but hardly required to debug these. It looks like I can change the startup code a bit to "emulate" a UKTivo, and hopefully get the same errors you are seeing. Once I see them on my system, I can fix (or yell for help from BTUxNine and John1980 )
__________________
2x6.2a, 1x6.3d, superpatch(1.12), TivoWebPlus(2.1), Hackman, tivocid, Tracker, tivoserver, TySuiteJ, MovieLoader, MCE(HD), Xbox360,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
SteveT is offline   Reply With Quote
Old 08-26-2007, 11:48 AM   #17
SteveT
Just a member
 
Join Date: Oct 2002
Location: Easley, SC
Posts: 102
Quote:
Originally Posted by SteveT
...It looks like I can change the startup code a bit to "emulate" a UKTivo, and hopefully get the same errors you are seeing.
Well, I can emulate a UKTivo, but mine still works fine. Since the error refers to line 18 of get_tzoffset(), and none of the get_tzoffset()'s in the latest distribution even have a line 18, I'm guessing your installation has an extra module that is "stepping on" the one in the distro. In fact, I found an old hackman_util.itcl which matches line 18. (Fixed in later hackman versions).

Pete77, can you do a clean install and restart and see if that error goes away? (rename TivoWebPlus folder and install per instructions on the page with the latest 2.0 bundles)
__________________
2x6.2a, 1x6.3d, superpatch(1.12), TivoWebPlus(2.1), Hackman, tivocid, Tracker, tivoserver, TySuiteJ, MovieLoader, MCE(HD), Xbox360,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
SteveT is offline   Reply With Quote
Old 08-26-2007, 12:11 PM   #18
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
On the Phone module I get:-

Quote:
INTERNAL SERVER ERROR
--cut here--
action_Phone '' ''
can't read "t": no such variable
while executing
"if {$toy < $t+86400*((73-($ddoy+$y+$leaps))%7)} break"
(procedure "get_tzoffset" line 18)
invoked from within
"get_tzoffset $time"
(procedure "ftime" line 2)
invoked from within
"ftime $seconds "%e""
(procedure "action_Phone_UI" line 14)
invoked from within
"action_Phone_UI $chan $path $env"
(procedure "MOD::action_Phone" line 3)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
Channel Map doesn't seem to work at all and just gets stuck at the menu selection.

Deleted produces-

Quote:
INTERNAL SERVER ERROR
--cut here--
action_deletedshows '' ''
can't read "t": no such variable
while executing
"if {$toy < $t+86400*((73-($ddoy+$y+$leaps))%7)} break"
(procedure "get_tzoffset" line 18)
invoked from within
"get_tzoffset $time"
(procedure "getLocalTime" line 3)
invoked from within
"getLocalTime $start"
(procedure "getRecDur" line 12)
invoked from within
"getRecDur"
(procedure "recForm_Time" line 2)
invoked from within
"recForm_Time 0"
(procedure "getRecRow" line 1)
invoked from within
"getRecRow $userow"
("uplevel" body line 12)
invoked from within
"uplevel $body"
("uplevel" body line 4)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
for {set nextv [min $nvals [expr $i+($bsize*$nvars)]]} {$i<$nextv} {incr i $nvars} {
foreach $vars [lrange $vals $i end] break
uple..."
(procedure "ForeachTrans" line 9)
invoked from within
"ForeachTrans val $vals $bsize {
getRecInit [lindex $val 0]
setRec $preload
set ret [recInit_$cmd $val $opts]
if {$ret==1} continue
set usefmt $fmt
if ..."
(procedure "putRecRows" line 7)
invoked from within
"putRecRows 0 $fmt Show $fsids"
(procedure "MOD::action_deletedshows" line 11)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
Date vs Channel Grid gets stuck at the menu. Same for Orphaned Season Passes.

Logs comes up with:-

Quote:
INTERNAL SERVER ERROR
--cut here--
action_logs '' ''
can't read "t": no such variable
while executing
"if {$toy < $t+86400*((73-($ddoy+$y+$leaps))%7)} break"
(procedure "get_tzoffset" line 18)
invoked from within
"get_tzoffset $time"
(procedure "ftime" line 2)
invoked from within
"ftime [expr [file mtime $log]] "%b %d %H:%M:%S %Y""
("foreach" body line 3)
invoked from within
"foreach log $logs {
regsub "$TIVO_ROOT/var/log/" $log {} logname
puts $chan [tr "" [td [html_link "/logs/$logname/" "$logname"]] [td [file size $log]]..."
("foreach" body line 11)
invoked from within
"foreach vers {Current Old} {
set logs ""
if {$vers == "Current"} {
puts $chan [tr "" [th "COLSPAN=4" "Current Logs"]]
catch { set logs [lsort [glob "$..."
(procedure "MOD::action_logs" line 20)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
MFS comes up with:-

Quote:
INTERNAL SERVER ERROR
--cut here--
action_mfs '' ''
can't read "t": no such variable
while executing
"if {$toy < $t+86400*((73-($ddoy+$y+$leaps))%7)} break"
(procedure "get_tzoffset" line 18)
invoked from within
"get_tzoffset $time"
(procedure "ftime" line 2)
invoked from within
"ftime $seconds "%d/%m/%y %R""
("uplevel" body line 9)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if {[catch {set size [FileSize $type $fsid]}] != 0} {
set size "N/A"
}
if {[catch {set seconds [expr [mfs moddate $fsid]]}] != 0} {..."
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFile fsid name type $path "" {
RetryTransaction {
if {[catch {set size [FileSize $type $fsid]}] != 0} {
set size "N/A"
}
if {[catch {set sec..."
(procedure "do_dir" line 5)
invoked from within
"do_dir $chan $path"
(procedure "MOD::action_mfs" line 13)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
Now Showing With Play Functionality comes up with:-

Quote:
INTERNAL SERVER ERROR
--cut here--
action_now_playing '' ''
can't read "cache_ns_rec": no such variable
while executing
"lsearch $cache_ns_rec $fsid"
(procedure "print_nowshowingrow_now_playing" line 61)
invoked from within
"print_nowshowingrow_now_playing $chan $rec $rowcount $dfturl"
("uplevel" body line 3)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type $nowshowingdir "" 15 {
set rec [db $db openid $fsid]
print_nowshowingrow_now_playing $chan $rec $rowcount $dfturl
i..."
(procedure "MOD::action_now_playing" line 114)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
Now Playing list comes up with:-

Quote:
INTERNAL SERVER ERROR
--cut here--
action_nowshowing '' ''
can't scan path (0x00070009)

while executing
"mfs scan $dirName -start $lastName -count 50"
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set batch [mfs scan $dirName -start $lastName -count 50]
if { $lastName == [lindex [lindex $batch 0] 1] } {..."
(procedure "ForeachMfsFile" line 45)
invoked from within
"ForeachMfsFile fsid name type $nowshowingdir "" {
lappend shows $fsid
}"
(procedure "MOD::action_nowshowing" line 84)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
Pending causes the Tivo to reboot thereby blowing out of the water the idea that TWP2 is more stable than TW1.9.4.

I just tried Pending again straight after the reboot and changing across from Tivoweb 1.9.4 using Hackman and got the below instead of a reboot:-

Quote:
INTERNAL SERVER ERROR
--cut here--
action_todo '/2' ''
can't read "t": no such variable
while executing
"if {$toy < $t+86400*((73-($ddoy+$y+$leaps))%7)} break"
(procedure "get_tzoffset" line 18)
invoked from within
"get_tzoffset $time"
(procedure "ftime" line 2)
invoked from within
"ftime $seconds "%a""
("uplevel" body line 149)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type $path $prefix 15 {

set rec [db $db openid $fsid]

set manual 0

set suggestion 0

if {$::version >= 3} {

set recb..."
(procedure "MOD::action_todo" line 187)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
So may be Pending causing the reboot was a cumulative memory overflow thing after all the other modules tried.

A search in the search module for "Formula" produces:-

Quote:
INTERNAL SERVER ERROR
--cut here--
action_series '/98302' ''
can't read "t": no such variable
while executing
"if {$toy < $t+86400*((73-($ddoy+$y+$leaps))%7)} break"
(procedure "get_tzoffset" line 18)
invoked from within
"get_tzoffset $time"
(procedure "getLocalTime" line 3)
invoked from within
"getLocalTime $start"
(procedure "getRecDur" line 12)
invoked from within
"getRecDur"
(procedure "recForm_Time" line 2)
invoked from within
"recForm_Time 0"
(procedure "getRecRow" line 1)
invoked from within
"getRecRow $userow"
("uplevel" body line 12)
invoked from within
"uplevel $body"
("uplevel" body line 4)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
for {set nextv [min $nvals [expr $i+($bsize*$nvars)]]} {$i<$nextv} {incr i $nvars} {
foreach $vars [lrange $vals $i end] break
uple..."
(procedure "ForeachTrans" line 9)
invoked from within
"ForeachTrans val $vals $bsize {
getRecInit [lindex $val 0]
setRec $preload
set ret [recInit_$cmd $val $opts]
if {$ret==1} continue
set usefmt $fmt
if ..."
(procedure "putRecRows" line 7)
invoked from within
"putRecRows -opts $opts $chan $fmt Show $shows $preload"
(procedure "MOD::action_series" line 53)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
ToDO produces


Quote:
INTERNAL SERVER ERROR
--cut here--
action_todo '' ''
can't read "t": no such variable
while executing
"if {$toy < $t+86400*((73-($ddoy+$y+$leaps))%7)} break"
(procedure "get_tzoffset" line 18)
invoked from within
"get_tzoffset $time"
(procedure "ftime" line 2)
invoked from within
"ftime $seconds "%a""
("uplevel" body line 149)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type $path $prefix 15 {

set rec [db $db openid $fsid]

set manual 0

set suggestion 0

if {$::version >= 3} {

set recb..."
(procedure "MOD::action_todo" line 187)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"

--cut here--
Most other modules seem to work.

I really wish User Interface and its sub menus had also not been done away with. This would have avoided the need for the more complicated and yet apparently arbitrary and non rational sub menu structure used in TWP2.0. A case of change for change's sake perhaps.

I guess this is really a post for the main TWP2.0 thread now though?

As I start TWP2.0 with Hackman from TW1.9.4 may be the older Hackman module is the problem although I thought had the latest ones compatible with TWP2.0 and TWP1.9.4 (a different Hackman version is needed for each).

I did a clean install originally and did not install TWP2.0 over the top of TWP1.3.1

I think starting from Hackman may perhaps be the issue. Going to edit my startup file to only boot TWP2.0 and not boot TW1.9.4 and see if that makes any difference.
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 08-26-2007, 01:00 PM   #19
SteveT
Just a member
 
Join Date: Oct 2002
Location: Easley, SC
Posts: 102
Quote:
Originally Posted by Pete77
I think starting from Hackman may perhaps be the issue. Going to edit my startup file to only boot TWP2.0 and not boot TW1.9.4 and see if that makes any difference.
Agreed. Most of these show the same get_tzoffset() error, so we need to fix that first. Most of the remainder are modules that are not included in TWP 2.0.

Looking forward to results of a clean install and startup.
__________________
2x6.2a, 1x6.3d, superpatch(1.12), TivoWebPlus(2.1), Hackman, tivocid, Tracker, tivoserver, TySuiteJ, MovieLoader, MCE(HD), Xbox360,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
SteveT is offline   Reply With Quote
Old 08-26-2007, 01:08 PM   #20
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
Quote:
Originally Posted by SteveT
Most of the remainder are modules that are not included in TWP 2.0
Why not? Surely you could offer to do the very minor modification required to make them compatible to the original authors? Bringing out software that is not retro compatible with older modules is a very negative step in marketing and acceptance terms.

It turned out I had Hackman 5.4.0 from April instead of the latest Hackman 5.5.5 I have now updated to the latter. However the earlier version of Hackman was compatible with switching between TivoWeb 1.9.4 and TivoWebPlus 2.0 Portland Paw introduce that modification in an earlier Hackman revision.
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 08-26-2007, 01:25 PM   #21
BTUx9
back?
 
Join Date: Nov 2003
Location: Rockport, MA
Posts: 1,596
Quote:
Originally Posted by Pete77
Why not? Surely you could offer to do the very minor modification required to make them compatible to the original authors? Bringing out software that is not retro compatible with older modules is a very negative step in marketing and acceptance terms.
What marketing?!?!

I'd hazard a guess that there are quite a few people out there who are using TWP2 that actually appreciate the improvements.

If you're so attached to your older modules, and it's so trivial to fix them, then go ahead and DO IT, but stop trying to lay guilt on others because they haven't done it for you.

As I've told you more than once, if you don't like TWP2, please stop using it and leave us alone.
__________________
Check Out my
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
with info on TWP2.0 and Tivoserver
BTUx9 is offline   Reply With Quote
Old 08-26-2007, 01:39 PM   #22
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
BTUx9,

With respect I think you are taking the easy way out here and taking unnecessary offence. Do you really expect everyone who uses Tivoweb 2.0 to be a developer? That seems to be a pretty unrealistic assumption. I am a pretty PC proficient individual and can do a load of stuff installing operating systems and hardware and utilities and upgrading Bios and router firmware etc but I'm not a developer - I don't have the mindset for dabbling with TCL.

I have traced most of the issues now to using Hackman 5.4.0 and all the tzoffset issues seem to go away by switching to Hackman 5.5.5. I and Steve were having a productive exchange - he didn't seem to be taking offence.

Everyone would like to use TWP 2.0 if it was comprehensively better and more reliable than TW1.9.4 in every respect but most of the UK Tivoweb using community are stuck back on still using TW1.9.4 because they have found it more reliable than TWP 1.0 to 1.3.1 and if you tell them modules they are used to are now taken away in TWP 2.0 they don't like it.

This isn't just me being difficult. There is a general non adoptance of TWP2.0 by the UK TivoWeb 1.9.4 using community due to the remaining issues with TWP 2.0. This includes people like sanderton (now TCM) who wrote Tracker and Endpad.

I would have thought resolving those issues and persuading all the TW1.9.4 refuseniks that we all need to switch so as not to miss out on the cool feature of the new version of TivoWebPlus would representing an interesting challenge for you and not any kind of threat?
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 08-26-2007, 02:27 PM   #23
Soapm
Registered User
 
Soapm's Avatar
 
Join Date: May 2007
Location: So close, yet too far away
Posts: 1,451
Normally, if you need something done by someone else because you can't do it yourself you offer to pay them. Otherwise you accept or decline what they offer for free. That's how we do it here in the USA.
Soapm is offline   Reply With Quote
Old 08-26-2007, 02:38 PM   #24
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
Quote:
Originally Posted by Soapm
Normally, if you need something done by someone else because you can't do it yourself you offer to pay them. Otherwise you accept or decline what they offer for free. That's how we do it here in the USA.
People pay our satellite operator Sky plenty of money for their pitiful DVR offering but Sky still doesn't seem to give the public what they want but only what they think should have. On the other hand Google provides nearly all its services free to the consumer and seems to bend over backwards to give consumers exactly what they want.

Also just because Mozilla Firefox and Thunderbird are provided free of charge doesn't mean they ignore end user feedback and take the attitude the end user should just be grateful for what they get. In fact in my experience its usually Microsoft who is most likely to ignore most consumer feedback and just do its own sweet thing.

Normally developers welcome feedback on their software, free or not, so that they can make it even better. Your analogy on being grateful for whatever you are given is much better suited to someone who is hungry and doesn't even have enough money for the price of their next meal.
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 08-26-2007, 03:37 PM   #25
SteveT
Just a member
 
Join Date: Oct 2002
Location: Easley, SC
Posts: 102
Wow! Take a nap, lose a thread.

Can we get back on track now?

Pete77, are you getting any errors with the clean install and startup of TWP 2.0 now? If not, load NoReRecord (including the .js scripts) and let me know if you get any errors with it. I can see that the filter by date will need revising to handle the UK dates, but everything else works for me.
Quote:
Originally Posted by Pete77
....you could offer to do the very minor modification required to make them compatible to the original authors?
Actually, I have made that offer and was planning to repeat it once we had solved your get_tzoffset() problem. Debugging is a one-thing-at-a-time proposition.
__________________
2x6.2a, 1x6.3d, superpatch(1.12), TivoWebPlus(2.1), Hackman, tivocid, Tracker, tivoserver, TySuiteJ, MovieLoader, MCE(HD), Xbox360,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
SteveT is offline   Reply With Quote
Old 08-26-2007, 03:51 PM   #26
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
Steve,

Many thanks for your patience. And apologies if I seem to have unduly taxed BTXu9's rather shorter fuse on these matters.

This install of TWP2.0 was a completely clean one in to a new directory after renaming the old TWP1.3.1 setup in to an old directory. The only thing I have done to make it non standard is to add a few other itcl modules. Some like Highlights and your Tracker revision are compatible with the latest version of TWP2.0, one or two may only be TW1.9.4 compliant. Everything else in the scripts and images directories etc is standard.

I will try and work out which official TWP 2.0 modules now crash (much smaller number than before upgrading to Hackman 5.5.5) and give you those error reports. Other longstanding Tivo UK users do report crashes in some of their TivoWebPlus 2.0 modules so there does seem to be some wider issue relating to our 2.5.5 version of the Tivo operating system that only the UK machines are now using. Pehaps there is something else in the database structure here, apart from the timezone issue that is also causing problems.
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 08-26-2007, 04:01 PM   #27
JWThiers
Smartypants
 
JWThiers's Avatar
 
Join Date: Apr 2005
Location: Cocoa, Florida
Posts: 2,611
There is a major difference between Google, Firefox and other Free Commercial Software they are making money in other ways and implementing feedback improves the product and keeps a loyal base of customers. What we have here is truly free software with nobody making money off of it (at least I think so). A better analogy would be being grateful to a friend who offered to fix your fence for free and also not complain because he didn't paint all the fence when he painted the part he fixed. Everyone has a choice to make. Users to upgrade or not, Module writers to update their module or not, TWP writers how much back compatibility to provide.
__________________
There are 10 kinds of people out there.
Those that understand binary and those that don't.
JWThiers is offline   Reply With Quote
Old 08-26-2007, 04:03 PM   #28
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
Quote:
Originally Posted by JWThiers
There is a major difference between Google, Firefox and other Free Commercial Software they are making money in other ways and implementing feedback improves the product and keeps a loyal base of customers. What we have here is truly free software with nobody making money off of it (at least I think so). A better analogy would be being grateful to a friend who offered to fix your fence for free and also not complain because he didn't paint all the fence when he painted the part he fixed. Everyone has a choice to make. Users to upgrade or not, Module writers to update their module or not, TWP writers how much back compatibility to provide.
I think you are saying if you are going to make a suggestion you need to do so very politely.
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Old 08-26-2007, 08:00 PM   #29
SteveT
Just a member
 
Join Date: Oct 2002
Location: Easley, SC
Posts: 102
Quote:
Originally Posted by Pete77
What I actually wanted was the equivalent of the functionality in TWP 1.0 to 1.4 where you can delete the More files and get a single layer menu structure as per Tivoweb 1.9.4
I have submitted a patch for 2.0 that will allow you to remove all items from one or more submenus, and that submenu will no longer be shown in the header. Hopefully, John1980 will roll it into the next release soon. I'm not sure if this addresses your request or not, but it seemed a worthwhile addition.

I still think the drop-downs seen with my Jacket themes are worth checking out as an alternative to a single layer menu.
__________________
2x6.2a, 1x6.3d, superpatch(1.12), TivoWebPlus(2.1), Hackman, tivocid, Tracker, tivoserver, TySuiteJ, MovieLoader, MCE(HD), Xbox360,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
SteveT is offline   Reply With Quote
Old 08-27-2007, 03:05 AM   #30
Pete77
Registered User
 
Join Date: Aug 2006
Location: Not Far From London
Posts: 7,967
Steve,

I found that installing the latest version of Hackman and rolling back to the normal main menu configuration by deleting the cfg file you mentioned resolved nearly all the issues and now nearly all modules seem to be working properly and the tzoffset issue is gone. Also I installed the TWP 2.0 compliant versions of Highlights and Tracker and these both work fine.

The only issue remaining seems to be that the main menu in TWP 2.0 doesn't seem to come up properly in the theme selected (in this case DayNight) or any other theme when started from Hackman in TW 1.9.4 and instead it reverts to a plain blue background and orange text list of all the menu items followed by the same menu items framed in boxes below. This problem doesn't happen on the submenus (UI etc) where the items are all framed in boxes correctly. Also on the Screen module although almost everything now seems to work, unlike earlier versions of TWP 2.0 with UK Tivos, if I go to Customise Channels/Channels You Receive option the Tivo then reboots. Unfortunately the several hundred channel long nature of that Sky channel list still seems to be too much for Screen to handle. Of course Screen does seem to be a very ambitious module that is a very powerful tool and is nearly there now in terms of functionality.

However the one thing I notice that is clearly deficient in TWP2 compared to TivoWeb1.9.4 and TWP 1.3.1 is the lack of some of the extended features formerly found in User Interface/Preferences - some of which were developed by Ljay, and also the inability generally to display or set thumbs ratings throughout TWP2.0 (again introduced by www.ljay.org in one of his extensions to TW1.9.4).

Taking the first point the ability to edit existing user preference data in User Interface/Preferences added by Ljay does not seem to exist in TWP 2.0, especially User Inteface/Preferences/Explicitly Thumbed +Implied by Recordings (Links to a Series) which I used a lot and was very helpful in correcting multiple thumbs errors and misratings. Also the Genre, Actor, Director and Writer rating data review capability have disappeared, although these are much less important than the loss of the thumbs editing functionality.

Also where is Search by Advisory Codes in TWP 2.0 or Manage Daily Email in order to edit some of TivoOnion's Daily Mail Jazz email sending functionality? Again not there it seems. And what about Control Padding that controls start and end padding in the Endpad module - again not there it seems. Also another important module recently developed by a UK Tivo user is xTivoWeb that gives web mobile phone browser access to the Tivo.

At least some of the above missing items in TWP 2.0 like Search by Advisory Codes and the ability to edit thumbs ratings in program and series info screens were I think present in TWP1.3.1? Or pehaps I merely installed Ljay's module replacements for ui etc designed for Tivoweb 1.9.4

So I have made a good deal of progress in getting TWP 2.0 working reasonably well apart from the unreliable main menu mentioned above. However the continued lack of some of the modules available for TW1.9.4 remains a frustration in trying to switch fully to TWP 2.0 Any futher help you are willing to provide on any of these issues would be very sincerely appreciated.
__________________
601E with 2 x 250Gb Samsung HA250JCs, Cachecard + 512MB, TivoWeb 1.9.4, TivoWebPlus 2.0.1, Bufferhack, Autospace, Endpad, Tracker, DailyMail and Highlights
Pete77 is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVo® is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 07:29 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |