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

Google
 
Web DealDatabase.com
What are you shopping for?


Go Back   DealDatabase Forum - Deals, Freebies, and TiVo & DirecTivo Hacking > Category: NEW TiVo, DTiVo, Extraction FORUMS! > General TiVo Development

Reply
 
Thread Tools Rating: Thread Rating: 10 votes, 5.00 average. Display Modes
  #1  
Old 08-06-2005, 03:03 PM
falcontx falcontx is offline
Senior Member
 
Join Date: Dec 2003
Posts: 372
TivoWebPlus v1.2 Devlopment and Testing

TivoWebPlus * TiVoWeb with a kick!
=======================================

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
Reply With Quote
  #2  
Old 08-08-2005, 10:58 PM
jonbig jonbig is offline
Senior Member
 
Join Date: Dec 2003
Posts: 206
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--
Reply With Quote
  #3  
Old 08-09-2005, 10:51 AM
davidlallen davidlallen is offline
Senior Member
 
Join Date: Jun 2005
Posts: 134
Quote:
Originally Posted by jonbig
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. [...]
can't read "TmkEvent::EVT_DATA_CHANGED": no such variable
(procedure "::action_thumbs" line 162)
Already fixed in version 1.2.1 (not released yet). Until it is released please change file tivowebplus/modules/lj_utils.itcl around line 284:

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
Reply With Quote
  #4  
Old 08-09-2005, 11:23 PM
sabotage79 sabotage79 is offline
Experienced Member.
 
Join Date: Feb 2004
Posts: 24
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
Reply With Quote
  #5  
Old 08-10-2005, 12:50 AM
jjk999 jjk999 is offline
Junior Member
 
Join Date: Apr 2003
Posts: 11
Send a message via ICQ to jjk999 Send a message via AIM to jjk999
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
Reply With Quote
  #6  
Old 08-10-2005, 02:19 AM
davidlallen davidlallen is offline
Senior Member
 
Join Date: Jun 2005
Posts: 134
Quote:
Originally Posted by jjk999
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)
I'm not going to be able to help on this one; screen is only enabled for software version 3.x and my only unit is a 7.x. Did it work OK on a previous version of TWP? You can pick up the older "1.1pre2" version on the sourceforge web site.
__________________
1. Homegrown SFF home theater PC
2. TCD 540 7.1b, prom mod, tivowebplus 1.2 coordinator, tyshow
Reply With Quote
  #7  
Old 08-10-2005, 11:02 PM
jbebel jbebel is offline
Charter Member
 
Join Date: Jul 2004
Posts: 34
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--
I haven't yet investigated it any further, but thought I'd just report the issue.
Reply With Quote
  #8  
Old 08-11-2005, 03:52 PM
davidlallen davidlallen is offline
Senior Member
 
Join Date: Jun 2005
Posts: 134
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
Reply With Quote
  #9  
Old 08-11-2005, 08:05 PM
Cheezmo Cheezmo is offline
Senior Member
 
Join Date: May 2004
Posts: 233
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]
Reply With Quote
  #10  
Old 08-11-2005, 08:10 PM
HUGE HUGE is offline
Senior Member
 
Join Date: Dec 2001
Posts: 328
Quote:
Originally Posted by davidlallen
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.

There is an error in the installation instructions :

/var/hacks
should be
/var hack (no "s")


HUGE
Reply With Quote
  #11  
Old 08-11-2005, 09:07 PM
Cheezmo Cheezmo is offline
Senior Member
 
Join Date: May 2004
Posts: 233
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"
This did used to work on 3.1.5 with 1.1pre2.

I imagine the breakage has something to do with version checking and picking what sendkey to use, etc.



Quote:
Originally Posted by jjk999
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
Reply With Quote
  #12  
Old 08-11-2005, 09:12 PM
davidlallen davidlallen is offline
Senior Member
 
Join Date: Jun 2005
Posts: 134
Quote:
Originally Posted by HUGE
There is an error in the installation instructions : /var/hacks should be /var/hack (no "s")
That is an example. The directory name on my machine is different. Some other guy may have yet another directory name.
__________________
1. Homegrown SFF home theater PC
2. TCD 540 7.1b, prom mod, tivowebplus 1.2 coordinator, tyshow
Reply With Quote
  #13  
Old 08-11-2005, 09:19 PM
davidlallen davidlallen is offline
Senior Member
 
Join Date: Jun 2005
Posts: 134
Quote:
Originally Posted by Cheezmo
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...
Thanks. I will put that into the next release. But, to make it easier for me and other coordinators, let me strongly suggest people provide patchfiles instead of diffs. To incorporate your diff, I have to carefully cut and paste each partial line out of your output file. If you supply a patchfile instead, I simply use the unix patch command and it goes in automatically.

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
Reply With Quote
  #14  
Old 08-11-2005, 09:29 PM
davidlallen davidlallen is offline
Senior Member
 
Join Date: Jun 2005
Posts: 134
Quote:
Originally Posted by Cheezmo
For what it is worth I tried to diagnose this...
Great! Thanks for the help. All the steps you did sound right. But then comes this error:

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
Reply With Quote
  #15  
Old 08-11-2005, 09:56 PM
Rich04 Rich04 is offline
Experienced Member.
 
Join Date: Jun 2005
Posts: 24
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.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT -4. The time now is 11:11 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2000-2008 © dealdatabase.com.
TiVo® is a registered trademark of TiVo Inc. This site is not affiliated with TiVo Inc.
You Rated this Thread: