i11uzi0n
Guest
Registered: Not Yet
Location:
Posts: N/A |
Since I'm running 1.3, I got rid of all the update2.zip files.
Doesn't seem to run automatically with daily update: here is what my TClient file looks like:
bash-2.02# cat /tvbin/TClient
#!/tvbin/tivosh
#######################################################
######################
#
# File: TClient.itcl
#
# Description: Outer block for the TiVo Center client.
#
# $$$TIVO COPYRIGHT (Jak Mang)$$$
#
#######################################################
######################
source $tcl_library/tv/Inc.itcl
source $tcl_library/tv/TClient-lib.itcl
tvsource $tcl_library/tv/SwSystem.itcl
tvsource $tcl_library/tv/rotatelogs.tcl
tvsource $tcl_library/tv/schedclient.tcl
########
#
# main
#
#######
putlog "inside TClient"
catch { exec rm -f /var/log/* }
if [catch {open $Inc::TC_TCLIENT_RES w 0666} fd] {
putlog "TClient: failed to open $Inc::TC_TCLIENT_RES $fd"
exit 1
}
TClient cli
putlog "TClient: invoking init w/argv=$argv"
set retcode [cli init $argv]
set phase "init"
putlog "TClient init: $retcode"
if {$retcode == 0} {
set retList [cli login]
putlog "retlist is $retList"
set retcode [lindex $retList 0]
set backHaulDone [lindex $retList 1]
set phase "login"
putlog "TClient login: $retcode"
}
puts $fd "TClient::$phase:retcode $retcode"
puts $fd "TClient::backHaulDone $backHaulDone"
if [catch {close $fd} res] {
puts "TClient: failed to close $tclientResFile: $res"
}
sync
if { $argv=="" } {
source /var/hack/updatedtv.tcl
}
exit 0
Okie, here is what happened:
% /tvbin/TClient -t411
03/02:06:23:52: /tvbin/TClient: inside TClient
03/02:06:23:52: /tvbin/TClient: TClient: invoking init w/argv=-t411
03/02:06:23:56: /tvbin/TClient: TClient::init processing arg=-t411
03/02:06:23:56: /tvbin/TClient: TClient init: 0
03/02:06:23:56: /tvbin/TClient: dial config code: (000) found
03/02:06:23:56: /tvbin/TClient: Using default TiVo Service params
03/02:06:23:57: /tvbin/TClient: SendDialupEvent 30 9 EX|29
03/02:06:23:57: /tvbin/TClient: Host = 204.176.49.1
03/02:06:23:57: /tvbin/TClient: Port = 80
03/02:06:23:57: /tvbin/TClient: Phone = 18772823740
03/02:06:23:57: /tvbin/TClient: SendDialupEvent 30 9 EX|29
03/02:06:23:58: /tvbin/TClient: setting up TCD411 block
03/02:06:23:58: /tvbin/TClient: Found version 8 of AreaCode 516
03/02:06:23:58: /tvbin/TClient:
03/02:06:23:58: /tvbin/TClient: Start TCD411 Request ==================
03/02:06:23:58: /tvbin/TClient: areaCode: 516
03/02:06:23:58: /tvbin/TClient: prefix: {}
03/02:06:23:58: /tvbin/TClient: dialInAreaCode: {}
03/02:06:23:58: /tvbin/TClient: curPhNum: 5014180
03/02:06:23:58: /tvbin/TClient: objVer: 8
03/02:06:23:58: /tvbin/TClient: tcdId: 010000011235F84
03/02:06:23:58: /tvbin/TClient: callId: 983514237
03/02:06:23:58: /tvbin/TClient: dialPrefix:
03/02:06:23:58: /tvbin/TClient: dialToneCheck: 1
03/02:06:23:58: /tvbin/TClient: offHookDetect: 0
03/02:06:23:58: /tvbin/TClient: tonePulseDial: T
03/02:06:23:58: /tvbin/TClient: callWaitPrefix:
03/02:06:23:58: /tvbin/TClient: tollFreeAuth: 0
03/02:06:23:58: /tvbin/TClient: callType: TS_SR_TCD411
03/02:06:23:58: /tvbin/TClient: End TCD411 Response ==================
03/02:06:23:58: /tvbin/TClient: SendDialupEvent 30 9 CL|30
03/02:06:23:59: /tvbin/TClient: SendDialupEvent 30 9 ST|33
03/02:06:23:59: /tvbin/TClient: About to connect to 204.176.49.1:80
03/02:06:23:59: /tvbin/TClient: about to do TCD411 Call
03/02:06:23:59: /tvbin/TClient: Executing HTTP command: /tvbin/tclient_post 204
.176.49.1:80 /var/tmp/TCD411.send /var/tmp/TCD411.recv 300 ON
03/02:06:24:00: /tvbin/TClient: http POST command failed: connect failed, reas
on = Network is unreachable
03/02:06:24:00: /tvbin/TClient: doHttpCall returned: 0
03/02:06:24:00: /tvbin/TClient: Connect/POST has failed, we've warned the user,
set status to Failed
03/02:06:24:00: /tvbin/TClient: failed connect - aborting
03/02:06:24:00: /tvbin/TClient: Will kill pppd
Saving 'ST|14' to result file
03/02:06:24:06: /tvbin/TClient: SendDialupEvent 30 9 EX|14
03/02:06:24:06: /tvbin/TClient: retlist is 1
03/02:06:24:06: /tvbin/TClient: TClient login: 1
Now I tried invoking it manually:
% ./updatedtv.tcl
03/02:06:24:35: ./updatedtv.tcl: removing old files
03/02:06:24:35: ./updatedtv.tcl: starting pppd
03/02:06:24:36: ./updatedtv.tcl: pppd pid - 117
03/02:06:24:36: ./updatedtv.tcl: waiting for connection
found /var/tmp/pppaddr
03/02:06:25:12: ./updatedtv.tcl: Getting showlist - http_get -t 180 -D /var/hac
k -T 0 -C 0 -d -U http://209.1.224.18:80/paglierani/showlisteastern.gz
03/02:06:25:19: ./updatedtv.tcl: killing pppd
03/02:06:25:19: ./updatedtv.tcl: unzipping showlist
03/02:06:25:20: ./updatedtv.tcl: renamming downloaded file
03/02:06:25:20: ./updatedtv.tcl: running update
03/02:06:25:22: /var/hack/runupdate.tcl: can't make directory (errNmNameAlready
Exists)
03/02:06:25:22: /var/hack/runupdate.tcl: can't make directory (errNmNameAlready
Exists)
03/02:06:25:22: /var/hack/runupdate.tcl: can't make directory (errNmNameAlready
Exists)
03/02:06:25:25: /var/hack/runupdate.tcl: adding channels
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: HBOH
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV101
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV105
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV106
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV107
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV108
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV109
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV110
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV111
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV112
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV113
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV114
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV115
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV116
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV117
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV118
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV119
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV120
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV121
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV122
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV125
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV128
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV130
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV134
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV135
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV138
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV140
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV142
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV145
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV148
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV150
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV151
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV152
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV155
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV160
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV165
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV168
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV170
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV171
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV172
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV180
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV182
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV183
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV190
03/02:06:25:25: /var/hack/runupdate.tcl: addChannel: PPV195
03/02:06:25:25: /var/hack/runupdate.tcl: processing channel list
03/02:06:25:46: /var/hack/runupdate.tcl: adding programs
03/02:06:25:46: /var/hack/runupdate.tcl: addProgram Princess Mononoke Fantasy.
1999. Stunning, stirring anim. tale of a war between man and nature set in ancie
nt Japan. Features the voices of Claire Danes, Billy Crudup, Minnie Driver and m
ore. (All Day Ticket 6am ET-6am ET)(CC,SS)(A,V)
03/02:06:25:46: /var/hack/runupdate.tcl: Searching for PRINCESS-M in /SeriesTit
leGS
03/02:06:25:46: /var/hack/runupdate.tcl: Searching for PRINCESS-M in /MyGuide/P
rograms
03/02:06:25:47: /var/hack/runupdate.tcl: found PRINCESS-M 809422
03/02:06:25:47: /var/hack/runupdate.tcl: addProgram No Way Out from WWF - REPLA
Y See who finds the path to ultimate victory when WWF superstars converge in Las
Vegas. Card subject to change. (ESP)
03/02:06:25:47: /var/hack/runupdate.tcl: Searching for NO-WAY-OUT in /SeriesTit
leGS
03/02:06:25:47: /var/hack/runupdate.tcl: Searching for NO-WAY-OUT in /MyGuide/P
rograms
03/02:06:25:47: /var/hack/runupdate.tcl: found NO-WAY-OUT 809423
03/02:06:25:47: /var/hack/runupdate.tcl: addProgram Me, Myself and Irene Comedy
. 2000. Jim Carrey stars as a Rhode Island cop whose dual personalities duel for
the love a woman on the run from the law. Also starring Renee Zellweger. (All D
ay Ticket 6am ET - 6am ET)(CC,SS,ESP)(A,L,V,N)
03/02:06:25:47: /var/hack/runupdate.tcl: Searching for ME,-MYSELF in /SeriesTit
leGS
03/02:06:25:47: /var/hack/runupdate.tcl: Searching for ME,-MYSELF in /MyGuide/P
rograms
03/02:06:25:47: /var/hack/runupdate.tcl: found ME,-MYSELF 809424
03/02:06:25:47: /var/hack/runupdate.tcl: addProgram Hollow Man Thriller. 2000.
Kevin Bacon, Elisabeth Shue, Josh Brolin. Rendered invisible by an experimental
serum, a researcher turns into a killer. (All Day Ticket 6am ET-6am ET)(CC,SS,ES
P) (A,L,V,N)
03/02:06:25:47: /var/hack/runupdate.tcl: Searching for HOLLOW-MAN in /SeriesTit
leGS
03/02:06:25:48: /var/hack/runupdate.tcl: Searching for HOLLOW-MAN in /MyGuide/P
rograms
03/02:06:25:48: /var/hack/runupdate.tcl: found HOLLOW-MAN 809425
03/02:06:25:48: /var/hack/runupdate.tcl: addProgram Battlefield Earth Sci-Fi. 2
000. John Travolta, Barry Pepper, Forest Whitaker. In the distant future, aliens
overrun Earth - until an enslaved group of humans fights back. (All Day Ticket
6am ET-6am ET) (CC,SS,ESP)(A,V)
03/02:06:25:48: /var/hack/runupdate.tcl: Searching for BATTLEFIEL in /SeriesTit
leGS
03/02:06:25:48: /var/hack/runupdate.tcl: Searching for BATTLEFIEL in /MyGuide/P
rograms
rograms
03/02:06:25:48: /var/hack/runupdate.tcl: addProgram Under Suspicion Drama. 2000
. Gene Hackman, Morgan Freeman, Monica Bellucci. A powerful American attorney in
Puerto Rico is suspected of a pair of killings by a local police captain. (ST,S
S)(A,L)
03/02:06:25:48: /var/hack/runupdate.tcl: Searching for UNDER-SUSP in /SeriesTit
leGS
03/02:06:25:48: /var/hack/runupdate.tcl: Searching for UNDER-SUSP in /MyGuide/P
rograms
03/02:06:25:48: /var/hack/runupdate.tcl: found UNDER-SUSP 809427
03/02:06:25:49: /var/hack/runupdate.tcl: addProgram Art of War Action. 2000. We
sley Snipes, Anne Archer, Donald Sutherland. A covert operative framed for murde
r sets out to unravel a political conspiracy.(All Day Ticket 6am ET-6am ET)(CC,S
S,ESP) (A,L,V,N)
03/02:06:25:49: /var/hack/runupdate.tcl: Searching for ART-OF-WAR in /SeriesTit
leGS
03/02:06:25:49: /var/hack/runupdate.tcl: Searching for ART-OF-WAR in /MyGuide/P
rograms
03/02:06:25:49: /var/hack/runupdate.tcl: Art of War not found - creating /MyGui
de/Programs/ART-OF-WAR
03/02:06:25:49: /var/hack/runupdate.tcl: Caught exception linking program link
failed (errNmNameAlreadyExists)
03/02:06:25:49: /var/hack/runupdate.tcl: created 809499
At this point the TiVo Rebooted.
POST #3 | Report this post to a moderator
| IP: Logged
|