![]() |
![]() |
|
|
Compare Products, Prices & Stores For: COMPUTERS, COMPONENTS, COMPUTER ACCESSORIES, COMPUTER MEMORY, HARDWARE, INPUT DEVICES, NETWORKING, PDAs & MOBILE ELECTRONICS, SOFTWARE, STORAGE & MEDIA, DIGITAL CAMERAS, HOME AUDIO, TV& VIDEO |
|
|
|
|
#1
|
|||
|
|||
|
TivoWebPlus v1.2 Devlopment and Testing
======================================= Welcome to the TivoWebPlus v1.2 Development and Testing thread. If you are interested in helping with development or wish to test the latest version of TWP and provide detailed information regarding any bugs you may find, then you're in the right place. If you just need help with something, please visit the Official TWP web site and read the FAQ. If you still have a problem, please post in the TWP Support thread instead of this one. The official TivoWebPlus website has moved to Sourceforge to allow others involved with the project to make updates and insure the latest version is available. Please visit the official site for the latest release! Thanks to davidallen for coordinating the move and making the initial updates for this new release! ======================================= Official website: http://tivowebplus.sourceforge.net/ FAQ: http://tivowebplus.sourceforge.net/faq.html TWP Support thread: http://www.dealdatabase.com/forum/sh...ad.php?t=38725 |
|
#2
|
|||
|
|||
|
TWP 1.2 "event send" on 6.2
Looks like at least one place in the 1.2 code still has a call to "event send" unprotected by a version check for 6.2 or later. I got this when I tried to change the thumbs setting on a show:
INTERNAL SERVER ERROR --cut here-- action_thumbs '' 'set "newthmb" "1";set "fsid" "270533";set "orgthmb" "-1";set "title" "The Stepford Wives";set "thumbtype" "Predicted";set "submit" "Set";' can't read "TmkEvent::EVT_DATA_CHANGED": no such variable while executing "event send $TmkEvent::EVT_DATA_CHANGED $TmkDataChanged::VIEWER_PREFERENCES $serverid" (procedure "::action_thumbs" line 162) invoked from within "::action_$action $chan $part $env" ("eval" body line 1) invoked from within "eval {::action_$action $chan $part $env}" --cut here-- |
|
#3
|
|||
|
|||
|
Quote:
event send $TmkEvent::EVT_DATA_CHANGED ... You can just comment out the line; the real fix surrounds it with "if $::version < 6". This fix was made by rbautch.
__________________
1. Homegrown SFF home theater PC 2. TCD 540 7.1b, prom mod, tivowebplus 1.2 coordinator, tyshow |
|
#4
|
|||
|
|||
|
Running 1.2. In Season Pass, and clicking on one of the shows..
INTERNAL SERVER ERROR --cut here-- action_series '/1870522' '' Error couldn't find starting offset in program key while executing "error "Error couldn't find starting offset in program key"" (procedure "get_programshowings" line 57) invoked from within "get_programshowings $objectid $watch" (procedure "::action_series" line 61) invoked from within "::action_$action $chan $part $env" ("eval" body line 1) invoked from within "eval {::action_$action $chan $part $env}" --cut here-- This is a 2 day old hacked unit - Dtivo s2. Hope you can help. Kind regards, Ryan |
|
#5
|
|||
|
|||
|
Running TWP 1.2 on - Series 1 | Phillips | SW 3.0-01-1-000
When I click Screen link ( http://tivo/screen/ ) I get: INTERNAL SERVER ERROR --cut here-- action_screen '/' '' invalid command name "SendKeyAndWait" while executing "SendKeyAndWait dumpState" (procedure "::action_screen" line 14) invoked from within "::action_$action $chan $part $env" ("eval" body line 1) invoked from within "eval {::action_$action $chan $part $env}" --cut here-- Other than that, everything else seems to be just fine! Thanks, John |
|
#6
|
|||
|
|||
|
Quote:
__________________
1. Homegrown SFF home theater PC 2. TCD 540 7.1b, prom mod, tivowebplus 1.2 coordinator, tyshow |
|
#7
|
|||
|
|||
|
On my SAS2 running 7.1, the main info page gives me this:
Code:
INTERNAL SERVER ERROR
--cut here--
action_info '/' ''
can't read "durationsecs": no such variable
while executing
"if { $durationsecs == 0 } {
set durationsecs $showingdurationsecs
}"
(procedure "rec_get_dur" line 21)
invoked from within
"rec_get_dur $rec"
invoked from within
"if { $state != "" } {
set recquality [dbobj $rec get RecordQuality]
if {$state == 5} {
set rectype 102
} else {
..."
("uplevel" body line 6)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type "/DiskUsed" "" 15 {
set rec [db $db openid $fsid]
scan $name "%d:%d:%d:%d" spacetype junk streamsize fs..."
(procedure "::action_info" line 257)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--
|
|
#8
|
|||
|
|||
|
TivoWebPlus 1.2.1 released
The goal of this release is to incorporate UI work done previously by SteveT, and add some commonly-used modules: backup, channelprefs, and hackman.
To download, visit the main page at http://tivowebplus.sourceforge.net The good news is, there have been 450 downloads of twp 1.2 since it was released a week ago! The bad news is, there have been almost a dozen support requests in the same period. Some recent work on twp has been done by SteveT and rbautch. Is there anybody else out there working on twp code who can help? I have diagnosed a few of the posted problems via PM. I will have to learn the art of the pithy one-line "self-help" reply which many long-time members of this forum have mastered. I hope to add more of this self-help information to the FAQ on the main web page. I will address the support requests as time permits.
__________________
1. Homegrown SFF home theater PC 2. TCD 540 7.1b, prom mod, tivowebplus 1.2 coordinator, tyshow |
|
#9
|
|||
|
|||
|
I've been editing this in by hand every release, but I really like to see the channel name in the Now Showing list.
Here is the diff on the 1.2.1 version of ui.itcl... Code:
3086d3085 < set stationname [dbobj $station get Name] 3229c3228 < puts $chan [tr "" [td $imageh] [td [html_link "/showing/$showingfsid" $title]] [td [html_link "/showing/$showingfsid" $eptitle $attrs][desc_show $hovertext]] [td $day] [td $date] [td $stationname] $delete_td] --- > puts $chan [tr "" [td $imageh] [td [html_link "/showing/$showingfsid" $title]] [td [html_link "/showing/$showingfsid" $eptitle $attrs][desc_show $hovertext]] [td $day] [td $date] $delete_td] 3231c3230 < puts $chan [tr "" [td $imageh] [td [html_link "/series/$seriesfsid" $title]] [td [html_link "/showing/$showingfsid" $eptitle $attrs][desc_show $hovertext]] [td $day] [td $date] [td $stationname] $delete_td] --- > puts $chan [tr "" [td $imageh] [td [html_link "/series/$seriesfsid" $title]] [td [html_link "/showing/$showingfsid" $eptitle $attrs][desc_show $hovertext]] [td $day] [td $date] $delete_td] 3294c3293 < puts $chan [tr "ALIGN=CENTER" [th ""] [th "Program"] [th "Episode"] [th "COLSPAN=2" "Date"] [th "Channel" $delete_th] --- > puts $chan [tr "ALIGN=CENTER" [th ""] [th "Program"] [th "Episode"] [th "COLSPAN=2" "Date"] $delete_th] |
|
#10
|
|||
|
|||
|
Quote:
There is an error in the installation instructions : /var/hacks should be /var hack (no "s") HUGE |
|
#11
|
|||
|
|||
|
For what it is worth I tried to diagnose this...
The include of sendkey.itcl in httpd-tt.tcl is commented out which is why SendKeyAndWait is not defined. I tried uncommenting the include, but sendkey.itcl uses ::version which hasn't been set yet. I then tried moving the sendkey.itcl include down below where ::version was set and while everything loaded OK, clicking on "Screen" produced this in the Tivo log... Code:
bgerror failed to handle background error.
Original error: extra switch pattern with no body
Error in bgerror: invalid command name "bgerror"
I imagine the breakage has something to do with version checking and picking what sendkey to use, etc. Quote:
|
|
#12
|
|||
|
|||
|
Quote:
__________________
1. Homegrown SFF home theater PC 2. TCD 540 7.1b, prom mod, tivowebplus 1.2 coordinator, tyshow |
|
#13
|
|||
|
|||
|
Quote:
Creating a patchfile is easy. What you did was "diff oldfile newfile". Instead, do "diff -c oldfile newfile". This gives what is variously called a "context diff" or a "patchfile"; you could think of it as a list of automatic editing comands. Then I can use the program "patch" to merge it into my current source file. Working with a plain diff is actually more painful than working with a whole modified copy of the file. If you had supplied a whole copy of the file, which other posters in the 1.1 thread have done, at least I can use "diff -c" and then "patch" on the file. But a patchfile is the easiest to work with.
__________________
1. Homegrown SFF home theater PC 2. TCD 540 7.1b, prom mod, tivowebplus 1.2 coordinator, tyshow |
|
#14
|
|||
|
|||
|
Quote:
Original error: extra switch pattern with no body We need to track down where this comes from. You may be able to use the variable errorInfo to find out the line of code which is causing this. One way to do this is to execute tivosh by itself, instead of through the tivoweb script. 1. From the command line, "tivosh" 2. From the tivosh prompt, "source httpd-tt.tcl" 3. Wait for twp to fully initialize 4. Do the steps in your browser which cause the breakage 5. From the tivosh prompt, "set errorInfo" Hopefully that will give a file, line number where you can go looking to fix the switch pattern problem. This sort of problem "ought to" show up in a tcl linter program when run on the twp code. I have been a little scared to try this for fear of finding many bugs. But someday I will have to do it. Let's each try our approaches.
__________________
1. Homegrown SFF home theater PC 2. TCD 540 7.1b, prom mod, tivowebplus 1.2 coordinator, tyshow |
|
#15
|
|||
|
|||
|
Just for the record, just installed and haven't found any issues yet, except for one. That being when you look at the program info and click on the description that links to tvtome as a search function, it leaves you at the new tv.com homepage. Can someone fix this search query???
DSR704 6.2 hacked, kernel 2.4.20 Thanks for all the hard work! Last edited by Rich04; 08-11-2005 at 10:14 PM. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|