PDA

View Full Version : Extraction Tool Problems...Please help!


GlebC
07-19-2003, 02:17 PM
I have been bashing my head against a brick wall for the last 3 hours trying to get rid of the

Waiting for an incomming connection!
SERVER: We got a message! buf = 'SHOWING'
sh: ./NowShowing.tcl: No such file or directory

1) I am in the correct directory where the files are located (/var/hack)

2) The file permissions are set to 777

3) I am running the correct command line

4) I have tried all 3 versions of NowShowing.tcl

5) I transferred the files over using binary mode

6) I have searched and searched these forums for an answer

I always get the same error.

I have a 2.5 UK tivo. Is this the problem?

Any suggestions most welcome.

Glen.

SR712
07-19-2003, 02:37 PM
Is your NowShowing.tcl in the same directory as tserver_mfs6?

GlebC
07-19-2003, 02:51 PM
Hi,

Yes it is!

Could it be anything to do with v3.0 v v2.5.5?

Glen.

SR712
07-19-2003, 03:19 PM
I guess it could be. First, is /var/hack in your PATH? I run both of these from /tivo-bin because it is in my path. Also, there was an issue with several different versions of NowShowing.tcl... There was a 3-pack of NowShowings packaged in with TyTool V7r4, I think.

keith721
07-19-2003, 03:29 PM
if the TCL script file has trailing ^M characters after every line, it causes the 'magic' line at the top of the script to look something like this:

#!/bin/tivosh^M

which is obviously not a valid filename for a script interpreter. make certain that you do not edit the NowShowing.tcl script on a Windows machine, and then transfer it to your TiVo in binary mode, or this will be the case, and cause the error you're seeing.

use FTP to transfer the file to your TiVo, and be certain to select ASCII mode. that should clear up any ^M problems you may have.

hope this helps...

GlebC
07-19-2003, 04:21 PM
Hi Gents,

I now have it sorted. Many thanks for your help.

The file did indeed have the ctrl-m character at the end of every line. I checked this in joe (linux editor).

It appears as though if you transfer in ascii mode using command line ftp, windows inserts these characters. I switched to binary mode and transferred the file, and it appeared without any of those characters.

I previously had used flashfxp to transfer the files, and this also appeared to put the additional control code into the file.

It now works....THANK YOU.

Maybe there should be a faq on this somewhere.

Cheers

Glen.

:D :D :D