[Apple TV] Easier way to install Python on ATV

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dafranca Offline
Member
Posts: 73
Joined: Sep 2008
Reputation: 0
Post: #11
fluked@live.com Wrote:I used method 2....

file.txt: line 22: syntax error: unexpected end of file


Any ideas?

line 22? it is only 21 lines on the script... you probabily have created an rtf text file.

connect to ATV and type: cat file.txt
you should only see 21 lines that you prior have copied and pasted, if you see same header it will not work. On your text editor you should have saved as text file.
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #12
Yes, it was a copying error.... and no its a txt file.

I am using a ppc mac.

Anything else i need to do?
find quote
dafranca Offline
Member
Posts: 73
Joined: Sep 2008
Reputation: 0
Post: #13
test if it is working:
type: python --version

You should get this:
Python 2.5
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #14
Nope.

bash: python: command not found
find quote
dafranca Offline
Member
Posts: 73
Joined: Sep 2008
Reputation: 0
Post: #15
Maybe you need to reboot atv...
if doesn't work... run the script again... copy and paste the error here.
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #16
ATV rebooted....

Again, it just returns to bash.... ie its not doing anything
find quote
dafranca Offline
Member
Posts: 73
Joined: Sep 2008
Reputation: 0
Post: #17
I recommend you install wget and gunzip on your atv
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #18
Laugh You reckon? lol

Can you tell me how to install gunzip? I had no luck.
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,505
Joined: Feb 2008
Reputation: 58
Post: #19
get the following file;

Quote:http://code.google.com/p/atvusb-creator/...ils.tar.gz

This contains a bunch of bin utils that will work on the AppleTV. unpack and copy the files (not the folder) into "/usr/bin" on the AppleTV. wget and gunzip are included.

"top" will need a post copy change. "sudo chmod +s /usr/bin/top".


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Thumbs Up    Post: #20
Thanks for the replys guys.

Please bear in mind that I am a noob, and not a coder.

= "/usr/bin" on the AppleTV.

Where is this, whats the full pathConfused I can only get into frontrow on cyberduck.

Also in using an APPLE TV.


"top" will need a post copy change. "sudo chmod +s /usr/bin/top"

Huhhhhhhhh?


I thought the bin tools came with the standard usb patch? Ok, i will give it a go.... please let me know where the files go.
find quote