TivoWeb crashes after creating an SP in HiGuide

General Discussion

TivoWeb crashes after creating an SP in HiGuide

Postby Gilly » Tue Mar 06, 2012 9:13 am

Creating a Season Pass by selecting a programme from the HiGuide and then returning to the guide by pressing the browser back button repeatedly crashes with
Code: Select all
action:higuide, path:, env:, code:'errTmActiveLockConflict'
can't scan path (errTmActiveLockConflict)

    while executing
"mfs scan $mfsdir -start $name -count $count"
    invoked from: "transaction {
if {$blen<$count} break
set batch [mfs scan $mfsdir -start $name -count $count]
set blen [llength $batch]
if {[lindex [lindex $batch 0] ..."
    (procedure "ForeachMfsFile" line 7)
    invoked from: "ForeachMfsFile fsid name type "/Schedule" "$stationfsid:$date:" {
set rowApp [guide_get_matched_showings $fsid $stationfsid]
append row $rowApp
}"
    (procedure "do_guide_row" line 13)
    invoked from: "do_guide_row $datesutc [lindex $channel 0]"
    ("foreach" body line 2)
    invoked from: "foreach channel $channel_sel {
    puts $chan [tr "VALIGN=TOP" [do_guide_row $datesutc [lindex $channel 0]]]
  }"
    (file "/hack/TivoWebPlus21b3/modules/higuide.tcl" line 396)
    invoked from: "source $::source_dir/modules/higuide.tcl"
    (procedure "MOD::action_higuide" line 2)
    invoked from: "$cmd $chan $path $env"
Gilly
TiVo lover
TiVo lover
 
Posts: 84
Joined: Wed May 18, 2011 5:07 pm

Re: TivoWeb crashes after creating an SP in HiGuide

Postby mrtickle » Tue Mar 06, 2012 12:58 pm

The clue is in the error message (this is knowledge you'll gain over time).

errTmActiveLockConflict means the TiVo is busy doing something else. You have to keep in mind that TiVoweb is a massive hack and the TiVo wasn't designed to be nice to alien code running on it! Sometimes tivoweb doesn't get a look-in, can get stuck. Sometimes quiting and restarting Tivoweb does the trick, but sometimes you have to reboot the TiVo.

In general with TiVoweb, you need to retry a few minutes later. If it doesn't work, quit and restart TiVoweb. If it doesn't work reboot. If it still doesn't work, it might be a problem with the code. :-)

===
NB: on a clean TiVo with no Season Passes (created with the UI) or guide data you will always have problems with TiVoweb. It needs to make a call and fill up with data, and have 1 season pass, 1 to-do item and 1 now playing item before it'll be happy.
--
links to my TiVo logos, TivoWebPlus 2.1.b3 UK-20120818, Tracker v3.3.3 & v3.3.4 (17th Jun 2013), GDchecker v1.06b, Digiguide checker v0.4.3-rc5 and Autospace v1.65 can all be found in this post.
mrtickle
TVGuide Admin
TVGuide Admin
 
Posts: 3292
Joined: Sat May 14, 2011 1:46 pm
Location: Birmingham, UK

Re: TivoWeb crashes after creating an SP in HiGuide

Postby Gilly » Tue Mar 06, 2012 8:14 pm

Thanks for that - it ties in with the behaviour I observed. Is it not possible to 'catch' the error code and put a 'please wait' loop into the code? (please note I DO NOT know what I'm talking about here).

Whilst I have your attention, can I ask a couple of other questions about problems I seem to be experiencing TivoWeb under 1.0d?

My Tracker list (Tracker>View Tracking List) appears to be empty.

Opening Tracker>Create/Update Tracking List gives me content like this
Code: Select all
Found a deleted episode to be tracked: - {Deborah and Jim}
Series file for Unknown - Unknown exists
New episode
TMSID:
Title: {Deborah and Jim}
RecDate: 15408
Type: 6
Blocked: 2
Deleted By: User
Watched: Watched (To-Do Delete)

Found a deleted episode to be tracked: - Fri 09-03-12
Series file for Unknown - Unknown exists
New episode
TMSID:
Title: Fri 09-03-12
RecDate: 15408
Type: 6
Blocked: 2
Deleted By: User
Watched: Watched (To-Do Delete)

Found a deleted episode to be tracked: - Fri 09-03-12
Series file for Unknown - Unknown exists
New episode
TMSID:
Title: Fri 09-03-12
RecDate: 15408
Type: 6
Blocked: 2
Deleted By: User
Watched: Watched (To-Do Delete)

Tracker files updated


Accessing Tracker>Process ToDo List fails with
Code: Select all
action:tracker_todo, path:, env:, code:'POSIX ENOENT {no such file or directory}'
couldn't open "/var/hack/tracker/block_UU": no such file or directory
    while executing
"open $trackerdir/block_UU r"
    (procedure "MOD::action_tracker_todo" line 27)
    invoked from: "$cmd $chan $path $env"

and I get a very similar message from Process Suggestions

And I get the following when accessing UI > NoReRecord
Code: Select all
action:norerecord, path:, env:, code:'NONE'
no value given for parameter "description" to "expand_epnum"
    while executing
"expand_epnum [strim [dbobj $prog get EpisodeNum]]"
    ("uplevel" body line 35)
    invoked from: "uplevel $body"
    invoked from: "transaction {uplevel $body}"
    (procedure "RetryTransaction" line 5)
    invoked from: "RetryTransaction {
set rec [db $db openid $fsid ]
set show [dbobj $rec get Showing]
set station [dbobj $show get Station]
if { $station == $tivorstati..."
    ("uplevel" body line 5)
    invoked from: "uplevel $body"
    (procedure "ForeachMfsFile" line 6)
    invoked from: "ForeachMfsFile fsid name type "/Recording/NoReRecord" "" {
incr numread
set recdate [split $name ":"]
if {[lindex $recdate 2] == 99999} { continue }
R..."
    (procedure "MOD::action_norerecord" line 84)
    invoked from: "$cmd $chan $path $env"


Does all this imply something is wrong?
Gilly
TiVo lover
TiVo lover
 
Posts: 84
Joined: Wed May 18, 2011 5:07 pm

Re: TivoWeb crashes after creating an SP in HiGuide

Postby mrtickle » Wed Mar 07, 2012 7:40 am

Gilly wrote:Thanks for that - it ties in with the behaviour I observed. Is it not possible to 'catch' the error code and put a 'please wait' loop into the code? (please note I DO NOT know what I'm talking about here).

Whilst I have your attention, can I ask a couple of other questions about problems I seem to be experiencing TivoWeb under 1.0d?

My Tracker list (Tracker>View Tracking List) appears to be empty.

Opening Tracker>Create/Update Tracking List gives me content like this
Code: Select all
Found a deleted episode to be tracked: - {Deborah and Jim}
Series file for Unknown - Unknown exists
New episode
TMSID:
Title: {Deborah and Jim}
RecDate: 15408
Type: 6
Blocked: 2
Deleted By: User
Watched: Watched (To-Do Delete)


Tracker files updated




Ok, but I can only try to support the current development version of tracker. That "TMSID:" with nothing after it indicates it's a very old version - current version simulates local TmsIds. There have been several versions done the first version which simulates local TmsIds.

Accessing Tracker>Process ToDo List fails with
Code: Select all
action:tracker_todo, path:, env:, code:'POSIX ENOENT {no such file or directory}'
couldn't open "/var/hack/tracker/block_UU": no such file or directory
    while executing
"open $trackerdir/block_UU r"
    (procedure "MOD::action_tracker_todo" line 27)
    invoked from: "$cmd $chan $path $env"

and I get a very similar message from Process Suggestions


That's a bug which I think from memory is fixed in later versions. From telnet go into /var/hack/tracker/ and run
Code: Select all
touch block_UU
touch block_WU
touch block_WT
touch block_UT


From reading your other threads I think the best thing is if you spend some time getting up to speed with how to install things yourself, and then when you're ready, upgrade your tracker to the version in my sig, see link in my sig. If you then have problems with the current version please then post to the thread for it where I am collating feedback and I'll take a look for you.
--
links to my TiVo logos, TivoWebPlus 2.1.b3 UK-20120818, Tracker v3.3.3 & v3.3.4 (17th Jun 2013), GDchecker v1.06b, Digiguide checker v0.4.3-rc5 and Autospace v1.65 can all be found in this post.
mrtickle
TVGuide Admin
TVGuide Admin
 
Posts: 3292
Joined: Sat May 14, 2011 1:46 pm
Location: Birmingham, UK

Re: TivoWeb crashes after creating an SP in HiGuide

Postby Gilly » Wed Mar 07, 2012 11:48 pm

Thanks for the advice MrT. You're right in that I'm fairly new to the world of a networked, hacked TiVo.

However, I assumed this would be the latest version of Tracker as it came pre-installed on my 1.0d TiVo from Brian only a few weeks ago.

Where would you recommend I read up about installing Tracker and other hacks?

Also, I'm keen to try Mode 0. Do I only need to use the Kickstart code to turn it on, or is it more complicated than that?
Gilly
TiVo lover
TiVo lover
 
Posts: 84
Joined: Wed May 18, 2011 5:07 pm

Re: TivoWeb crashes after creating an SP in HiGuide

Postby mrtickle » Thu Mar 08, 2012 7:31 am

Gilly wrote:Where would you recommend I read up about installing Tracker and other hacks?


This forum and http://www.tivocommunity.com . Both have good search facilities :)
--
links to my TiVo logos, TivoWebPlus 2.1.b3 UK-20120818, Tracker v3.3.3 & v3.3.4 (17th Jun 2013), GDchecker v1.06b, Digiguide checker v0.4.3-rc5 and Autospace v1.65 can all be found in this post.
mrtickle
TVGuide Admin
TVGuide Admin
 
Posts: 3292
Joined: Sat May 14, 2011 1:46 pm
Location: Birmingham, UK

Re: TivoWeb crashes after creating an SP in HiGuide

Postby nick1austin » Thu Mar 08, 2012 5:16 pm

Gilly wrote:Also, I'm keen to try Mode 0. Do I only need to use the Kickstart code to turn it on, or is it more complicated than that?

That's all I had to do.

Seems to work fine although I tweaked the bitrate resources (using TivoWeb) afterwards so that they match my other TiVo.
nick1austin
TiVo lover
TiVo lover
 
Posts: 217
Joined: Wed Feb 16, 2011 7:03 pm
Location: Weston-super-Mare

Re: TivoWeb crashes after creating an SP in HiGuide

Postby Gilly » Thu Mar 08, 2012 6:33 pm

What settings did you use / recommend? I guess that more is better but are there any implications?
Gilly
TiVo lover
TiVo lover
 
Posts: 84
Joined: Wed May 18, 2011 5:07 pm


Return to General

Who is online

Users browsing this forum: No registered users and 81 guests