PDA

View Full Version : Strange TyTool problem



energy2spare
04-25-2006, 01:32 AM
TyTool was working fine for awhile and I was able to download my shows as needed. Then all of a sudden I tried to grab some shows and the TyTool client will only list a few shows. I can get everything up to 1/31 and then it continues on 4/22. Here's the output:

bash-2.02# /var/hack/tserver
Doing the Lowest PriorityFix...
Waiting for an incoming connection!
SERVER: We got a message! buf = 'SHOWING'
fsid=441583 has no StreamFileSize attribute
fsid=439476 has no Part attribute
Waiting for an incoming connection!

From the TyTool client (I've left the show names out):

4/23
4/23
4/22

1/31
1/31
1/31
1/31
1/30
1/30
1/30
1/30
1/30
1/30
1/30
1/29
1/29
1/29
1/29

Trancode Selected Mode: 0
Ready...
Reading list from the server...
Clear Now Showing List...
Connecting to '192.168.0.110'
Connected...
Getting NowShowing data...
Total Size = 210729 bytes in 59.140000 seconds...
Unknown tag <30-Minute Meals>
tag data <ay>
Unknown tag <Tue>
tag data <ate>
Unknown tag <1/31>
tag data <ear>
Unknown tag <1/31/06>
tag data <tation>
Unknown tag <FOOD>
tag data <pisodeTitle>
Unknown tag <30 Minutes to Say You're Sorry>
tag data <SID>
Unknown tag <114875/12>
tag data <yStream>
Unknown tag </125938/125947/125961>
tag data <otalSize>
Unknown tag <480>
tag data <Title>

Blitz68
04-25-2006, 09:01 AM
I am new to this. How are you connecting your DVR to the PC?

Jamie
04-25-2006, 02:22 PM
TyTool was working fine for awhile and I was able to download my shows as needed. Then all of a sudden I tried to grab some shows and the TyTool client will only list a few shows. I can get everything up to 1/31 and then it continues on 4/22. Here's the output:

bash-2.02# /var/hack/tserver
Doing the Lowest PriorityFix...
Waiting for an incoming connection!
SERVER: We got a message! buf = 'SHOWING'
fsid=441583 has no StreamFileSize attribute
fsid=439476 has no Part attribute
I should probably answer this since I've been maintaining tserver lately, and it looks like tserver may be producing a bad NowShowing list.

The "... has no ..." messages indicate to me that something in your recording list in MFS is "unusual" and perhaps has something wrong with it.

One thing that might be worth trying would be to go back to the "old school" approach of using an external NowShowing.tcl script to produce the NowShowing list. You can grab NowShowing.tcl from the src package here (http://www.dealdatabase.com/forum/showthread.php?t=39487). Put it in the same directory with tserver and invoke via: tserver -s NowShowing.tcl. See if that behaves any differently. If it does, please run NowShowing >& NowShowing.out and NowShowing.tcl >&NowShowing.tcl.out and post or PM me the resulting .out files. NowShowing (the C version) is in the bin.mips package from the post linked above.

ace351
06-18-2006, 12:40 AM
i have just updated to the tytool10r4 from 9r18 and updated my tyserver as well from the first post for tytool10r4. if i run it just as tyserver i get the same type error message but works ok if i go back to the old school way as described, i am a dtivo xtremed 2.5.2 80 gig


I should probably answer this since I've been maintaining tserver lately, and it looks like tserver may be producing a bad NowShowing list.

The "... has no ..." messages indicate to me that something in your recording list in MFS is "unusual" and perhaps has something wrong with it. i will see if i can PM you the outputs you need.


One thing that might be worth trying would be to go back to the "old school" approach of using an external NowShowing.tcl script to produce the NowShowing list. You can grab NowShowing.tcl from the src package here (http://www.dealdatabase.com/forum/showthread.php?t=39487). Put it in the same directory with tserver and invoke via: tserver -s NowShowing.tcl. See if that behaves any differently. If it does, please run NowShowing >& NowShowing.out and NowShowing.tcl >&NowShowing.tcl.out and post or PM me the resulting .out files. NowShowing (the C version) is in the bin.mips package from the post linked above.

Jamie
06-18-2006, 11:36 AM
i have just updated to the tytool10r4 from 9r18 and updated my tyserver as well from the first post for tytool10r4. if i run it just as tyserver i get the same type error message but works ok if i go back to the old school way as described, i am a dtivo xtremed 2.5.2 80 gigPlease post NowShowing.out and NowShowing.tcl.out as attachments. I know you sent me a PM, but the data I needed was not there. It's cleanest if you just make them attachments.

energy2spare
07-02-2006, 10:44 PM
I kinda dropped the ball on this as I had some things come up. I'd like to get the now showing list thing fixed as it's still a problem. I read Jamie's e-mail but I'm not a developer or much of a Linux guy so I'm having trouble figuring out of to get the NowShowing.tcl. Any advise for a newbie?

energy2spare
09-02-2006, 04:51 AM
Can anyone walk a newbie through on how to fix this TyTool problem?

energy2spare
09-13-2006, 01:32 PM
I managed to figure out how to extract NowShowing.tcl. I put it in the /var/hack directory.

I then went to the TyTool program and under 'preferences -> server' I set the execute string as "/var/hack/tserver -s NowShowing.tcl".

When I go to 'Server -> start tserver' I get this message:

Telneting to the TIVO...
Connecting to '192.168.0.111'
Connected...
We got 'bash-2.02# ' which is the prompt!
bash-2.02# /var/hack/tserver -s NowShowing.tcl
Couldn't open NowShowing.tcl: No such file or directory
bash-2.02#
bash-2.02#

It says it can't open NowShowing.tcl. How can I fix this?

cheer
09-13-2006, 01:48 PM
bash-2.02# /var/hack/tserver -s NowShowing.tcl
Couldn't open NowShowing.tcl: No such file or directory
Try changing it to:
/var/hack/tserver -s /var/hack/NowShowing.tclIf that doesn't work, and you're sure that NowShowing.tcl is in /var/hack, then run dos2unix on it as it's probably been hosed by a windows editor or ftp.

energy2spare
09-13-2006, 02:00 PM
I realized that NowShowing had no extension. I grabbed NowShowing.tcl again and the error went away...duh!!!! :D

Now I get the following message:

Reading list from the server...
Clear Now Showing List...
Connecting to '192.168.0.111'
Connected...
Getting NowShowing data...
Sorry.. Could not obtain the list.

Now it won't even give me the NowShowing list

energy2spare
09-13-2006, 02:02 PM
Ooops, had to chmod +x the new files

energy2spare
09-13-2006, 02:08 PM
Okay, so I got /var/hack/tserver -s /var/hack/NowShowing.tcl running successfully but I'm still not able to get my full list. All I get in the Now Playing list is :

9/13
9/13
9/12
9/12
9/12
9/11
9/11
9/10
9/9
9/9
9/9
9/9

2/7
2/7

Seems like there's a problem after 2/7?? Any way to fix this? Is this a corrupted file that I can either manually delete or run some disk checker on?

cheer
09-13-2006, 02:44 PM
No idea -- I've never seen TyTool return anything but a full list.

Jamie
09-13-2006, 02:59 PM
Run NowShowing and NowShowing.tcl by hand and attach their output to a post as I asked earlier.

energy2spare
09-13-2006, 03:30 PM
Here you go Jaime. I had to rename the extension on the file to .txt in order to upload.

This NowShowing list has all the shows listed but they won't show up in my now playing list.

Jamie
09-13-2006, 03:42 PM
Here you go Jaime. I had to rename the extension on the file to .txt in order to upload.

This NowShowing list has all the shows listed but they won't show up in my now playing list.These are your two problem recordings:

fsid=961499 has no StreamFileSize attribute
fsid=961501 has no StreamFileSize attributeYou can probably find out what shows they are via mfs_streams.

energy2spare
09-13-2006, 07:11 PM
I assume I just do ./mfs_streams?

Jamie
09-13-2006, 07:42 PM
I assume I just do ./mfs_streams?Yes, if you are in the directory where mfs_streams is installed. You could also get information via:mfs_dumpobj -r <FSID> for the two problematic fsid's.

energy2spare
09-13-2006, 08:28 PM
I think I managed to delete those shows as they no longer show up in the NowShowing output. However, I'm still having the same problem. TyTool just doesn't want to display anything after 2/5. I have attached the new NowShowing output. There is one file with no StreamFileSize but I think that's cause it's currently being recorded.

Any other suggestions to get this working?

Thanks.

Jamie
09-13-2006, 09:37 PM
I think I managed to delete those shows as they no longer show up in the NowShowing output. However, I'm still having the same problem. TyTool just doesn't want to display anything after 2/5. I have attached the new NowShowing output. There is one file with no StreamFileSize but I think that's cause it's currently being recorded.

Any other suggestions to get this working?Sorry, if NowShowing/NowShowing.tcl is producing output that looks reasonable, but tytool still isn't giving you the full show list, it sounds like a problem in tytool. You'll have to look to jdiner for help, since he is the only one with access to the tytool source code.

energy2spare
09-14-2006, 03:17 AM
I appreciate the help Jamie. I'll ping jdiner and see if he has any idea.

energy2spare
09-14-2006, 03:29 AM
I tried PM'ing jdiner but his box is full and his e-mail address bounced. Does he still read these threads or is there another way to get a hold of him?

Jamie
09-14-2006, 08:24 AM
I tried PM'ing jdiner but his box is full and his e-mail address bounced. Does he still read these threads or is there another way to get a hold of him?Post in the tytool thread. He hasn't been around a lot lately.

energy2spare
09-15-2006, 02:12 AM
It seems that might be something wrong with my file system or shows. I tried exporting using the TivoWeb module but that failed with an error as well.

Is there anyway to run a disk check or some sort of check? I've tried using the 57 and 58 codes from the remote but no luck.

energy2spare
09-16-2006, 02:49 PM
After countless hours of trying to get mfs_ftp working, I finally decided to start from fresh as I got lost as to what had been patched and what had not. I created a directory /var/hack/s**tthatdoesnotworkbutatleastIknowmoreaboutlinuxnow and tossed all mfs_ftp and associated files in there. I then wipe everything in my /var/hack directory except my s**t subdirectory.

I reinstalled mfs_ftp.tar v1.2.9 and mfs-utils_bin.mips-20050604.tar.bz2 per chubb's guide and issued ln -sf mfs_import mfs_stdinsert. I also grabbed p2.tcl since I have an HR10-250 with 6.2 via PTVNet, Instant Cake and Superpatch that has 2 400gig hard drives. My wife likes to save as many shows as possible which means my drives are pretty much filled up.

After running ./mfs_ftp.tcl, I get the following error when tailing port.3105.log:

bash-2.02# tail -f port.3105.log
06:36:43:PM - sourcing settings
06:36:43:PM - sourcing p2
11:37:34:AM - updating cached recording info
.................................................................................................... ...
.................................................................................................... ...
.................................................................................................... ..
..............no such object: CONFLICT err=0x30007
while executing
"dbobj $obj fsid"
(procedure "dump_object" line 5)
invoked from within
"dump_object $a $attr [expr $depth-1] "$prefix ""
("object" arm line 1)
invoked from within
"switch $atype {
object { append output [dump_object $a $attr [expr $depth-1] "$prefix "]; set a "" }
}"
(procedure "dump_object" line 38)
invoked from within
"dump_object $a $attr [expr $depth-1] "$prefix ""
("object" arm line 1)
invoked from within
"switch $atype {
object { append output [dump_object $a $attr [expr $depth-1] "$prefix "]; set a "" }
}"
(procedure "dump_object" line 38)
invoked from within
"dump_object $a $attr [expr $depth-1] "$prefix ""
("object" arm line 1)
invoked from within
"switch $atype {
object { append output [dump_object $a $attr [expr $depth-1] "$prefix "]; set a "" }
}"
(procedure "dump_object" line 38)
invoked from within
"dump_object $obj "_top""
(procedure "dump_xml" line 6)
invoked from within
"dump_xml [db $db openid $fsid]"
("uplevel" body line 1)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction { set xml "[dump_xml [db $db openid $fsid]]" }"
(procedure "cache_xml_2_disk" line 15)
invoked from within
"cache_xml_2_disk $fsid"
(procedure "rec_info_from_db" line 22)
invoked from within
"rec_info_from_db $fsid"

Am I any closer to getting this working? I'm driving to Disneyland tomorrow an wanted to grab some shows for my kid to watch :)

energy2spare
09-16-2006, 03:04 PM
Update: I nuked my 1.2.1 version of tivowebplus and installed TivoWebPlus 1.3.1. I can now used TivoWebPlus to extract shows.....yahooooo!!!! But of course it's not as fast as mfs_ftp would be.

Should I give up on mfs_ftp or is there hope?

Jamie
09-16-2006, 03:06 PM
Update: I nuked my 1.2.1 version of tivowebplus and installed TivoWebPlus 1.3.1. I can now used TivoWebPlus to extract shows.....yahooooo!!!! But of course it's not as fast as mfs_ftp would be.

Should I give up on mfs_ftp or is there hope?If mfs_ftp is getting mfs database errors, your best bet may be to force a GSOD to try to repair it. /tvbin/mfsassert -please will force a GSOD.

energy2spare
09-16-2006, 04:16 PM
I'll give that a shot when I'm done taking all the shows I need off. I don't need anything else going wrong :)

energy2spare
09-21-2006, 01:25 AM
Jamie, I ran /tvbin/mfsasset -please and this was the output. I don't think this is what I'm supposed to see :(

bash-2.02# /tvbin/mfsassert -please
Filesystem assert: false && "mfsassert" at fsassert_main.C line 36 in int fsassert_main(int, char**)
Filesystem flagged as inconsistent!
Tmk Assertion Failure: false && "mfsassert"
int fsassert_main(int, char**), line 36 (fsassert_main.C)
Tmk Fatal Error: Thread mfsassert <28470> strayed!
Paste the following into a shell to get a backtrace...

bt -t /tvbin/tivoapp <<END_OF_BT
read 0x2aaa8000 /lib/ld.so.1
read 0x2ab04000 /lib/libutil.so.1
read 0x2ab48000 /lib/libdl.so.2
read 0x2ab8c000 /lib/libpthread.so.0
read 0x2abe8000 /lib/libm.so.6
read 0x2acb0000 /lib/libc.so.6
0x012e4f08 0x012c8384 0x00612c20 0x00403090 0x2acc13fc
END_OF_BT

Tmk Fatal Error: Thread mfsassert <28470>: assertion failure

Jamie
09-21-2006, 01:29 AM
Jamie, I ran /tvbin/mfsasset -please and this was the output. I don't think this is what I'm supposed to see :(

...Actually, it is. You should get a GSOD on bootup. Hopefully that will repair the problems.

energy2spare
09-21-2006, 02:47 AM
Oh, ok. The TV went to the green screen, the rebooted after awhile. I was going to run mfs_ftp but my /var directory has been replaced. I suppose a service update could have done this? There are a bunch of directories that I don't recall in /var and my TivoWebPlus and hack directories are gone.

I went ahead and reinstalled mfs_ftp as well and it's still giving me this error when running /.mfs_ftp.tcl:

bash-2.02# tail -f port.3105.log
07:04:56:AM - sourcing settings
07:04:56:AM - sourcing p2
12:05:35:AM - updating cached recording info
.................................................................................................... .................................................................................................... ..............................................................................................Dumpin g mempool to /tmp/BlockFailure.465
Tmk Assertion Failure:
DumpArenaAndBlocksAndDie, line 1472 ()
Tmk Fatal Error: Thread tivosh <465> strayed!
Paste the following into a shell to get a backtrace...

bt -t /tvbin/tivoapp <<END_OF_BT
read 0x2aaa8000 /lib/ld.so.1
read 0x2ab04000 /lib/libutil.so.1
read 0x2ab48000 /lib/libdl.so.2
read 0x2ab8c000 /lib/libpthread.so.0
read 0x2abe8000 /lib/libm.so.6
read 0x2acb0000 /lib/libc.so.6
0x013b3e3c 0x013b3c90 0x013b3f84 0x00f58234 0x00f9312c 0x00fee04c 0x00fee1bc
0x00ff5fd8 0x00ff7a0c 0x00fb7a28 0x00f8eb18 0x00fed644 0x00fb7a28 0x00f8eb18
0x00fecc98 0x00fb7a28 0x00f8eb18 0x00f5b310 0x00f593f4 0x00fb7a28 0x00f8eb18
0x00fed644 0x00fb7a28 0x00f8eb18 0x00fed644 0x00fb7a28 0x00f8eb18 0x00fed644
0x00fb7a28 0x00f8eb18 0x00fed644 0x00fb7a28 0x00f8eb18 0x00fed644 0x00fb7a28
0x00f8eb18 0x00fd99ec 0x00fdd23c 0x00f58150 0x00612c48 0x00403090 0x2acc13fc
END_OF_BT

Tmk Fatal Error: Thread tivosh <465>: assertion failure

To view the blocks, run:
$TIVO_ROOT/devbin/poolview.tcl <app-with-symbols> /tmp/BlockFailure.465

In the UI that comes up, find your block by address (see above)
This will help you identify the type and ownership of the blocks.