PDA

View Full Version : Endpad not running


SJC
08-20-2007, 09:45 AM
I had Endpad running until a couple of days ago when Tivo wiped out my hack directory.
I have now reinstalled it (I think) but it does not seem to be running.
I couldn't remember if Endpad should go in /var/hack or in /var/hack/tivoweb-tcl/modules/ so I've put it in both places.
I have added /var/hack/endpad.tcl -e 10 -auto >> /dev/null & to sysauthor and I have rebooted Tivo.
What have I done wrong?

mrtickle
08-20-2007, 02:41 PM
Did you remember to chmod +x so that it's executable?

SJC
08-20-2007, 03:02 PM
Thanks for your reply. I believe I did make it executable but anyway I started from scratch a couple of times and endpad appears to be working now , haven't checked recordings yet but endpad log indicates it is running.

rog2054
08-21-2007, 08:20 AM
my tivo also mysteriously wiped the hacks directory about a week ago (maybe 2).

i have since reloaded tivowebplus and endpad, following their respective installation guides.

twp is working fine.
endpad however does not seem to be playing ball.

i've found today that the problem is its not running when called from my rc.sysint.author bootup script. the error i'm getting if i run it from a telnet session is:

/var/hacks/endpad/endpad.tcl -s 1 -e 3 -sugqual 0 -auto
bash: /var/hacks/endpad/endpad.tcl: No such file or directory

which is odd because endpad.tcl DOES exist in that directory, and is set with permissions 755

chmod 755 /var/hacks/endpad/endpad.tcl

any ideas anyone ??


Thanks

verses
08-21-2007, 08:41 AM
which is odd because endpad.tcl DOES exist in that directory, and is set with permissions 755

Are you sure it is in /var/hacks/ as /var/hack/ is the directory more commonly used by TiVo hacking guides?

Cheers,

Ian

rog2054
08-21-2007, 05:00 PM
Hi Ian,

Yes it is definately in /var/hacks - i've just double checked.

I have my 'makero.sh' and 'makerw.sh' in /var/hack

but tivowebplus and endpad are in their respective sub-directories off /var/hacks - this is how the installation guide for those addons said to do it.

i've also double-checked the rc.sysinit.author (called by rc.sysinit) is looking for them in /var/hacks ... it all matches up.

the bit that is puzzling me is that even from the directory itself it still says it cannot find it
(even if run as ./endpad.tcl as is sometimes necessary on *nix machines if in the same directory as the target)

i'm no linux guru but like to think i can find my way around and do basic troubleshooting etc, but this one has me stumped!

mikerr
08-21-2007, 05:36 PM
the bit that is puzzling me is that even from the directory itself it still says it cannot find it
(even if run as ./endpad.tcl as is sometimes necessary on *nix machines if in the same directory as the target)That usually means you have non-unix line endings, after editing on a PC,
or not ftp'ing in binary mode.

rog2054
08-22-2007, 01:54 PM
Super. It is now working perfectly.

Re-doing the FTP and making sure my ftp client was set to binary first (it defaults to auto but obviously guessed wrong this time).

I learn something new everyday!

Many thanks.

TCM2007
08-22-2007, 02:09 PM
It guessed right as it is a text file, that's the problem.