ATV SSHC builds and script error 126

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
illiac4 Offline
Fan
Posts: 522
Joined: May 2009
Reputation: 3
Post: #1
Hi!

I there a way to install latest SVN builds from SSHC site? Every time when you run the script there comes the error 126.

TNX
find quote
Sam.Nazarko Offline
Posting Freak
Posts: 852
Joined: Dec 2009
Reputation: 16
Location: London
Post: #2
Use the official builds by adding it to your Launcher downloads menu:

Code:
ssh frontrow@appletv.local
defaults write com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs -array-add http://mirrors.xbmc.org/nightlies/osx/update_urls.plist

The official builds are much better, they are automated by buildbot and they are trusted. Bare in mind that right now there is a code merge taking place through SVN, so for stability issues, builds have stopped. See http://mirrors.xbmc.org
find quote
KevinSartori Offline
Donor
Posts: 322
Joined: Dec 2003
Reputation: 2
Location: Connecticut, USA
Post: #3
I know things are unstable right now, but I'd like to experiment with a new build for AppleTV. I recall reading in a different post that we are still probably months away from the official nightly builds being activated again. Is anyone able to install a new build from SSHC for AppleTV without getting the error:

Error: Update script exited with status: 126

Is there any way around this? Has anyone downloaded the .DMG directly and successfully updated the AppleTV lately?

Thanks!
find quote
tuckbodi Offline
Senior Member
Posts: 282
Joined: Oct 2008
Reputation: 5
Location: A beach on Kepler 22-b
Post: #4
I think I read around here somewhere that it has something to do with how he's building it because he was using a 10.5 version of something or other. Thus, the build will work on say a Mac w/10.5 or greater but will not work on say an AppleTV w/10.4. I think that's what I read and actually proved it worked on my Mac mini running 10.6 but got an error on my ATV with the same XBMC.
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,478
Joined: Feb 2008
Reputation: 64
Post: #5
tuckbodi Wrote:I think I read around here somewhere that it has something to do with how he's building it because he was using a 10.5 version of something or other. Thus, the build will work on say a Mac w/10.5 or greater but will not work on say an AppleTV w/10.4. I think that's what I read and actually proved it worked on my Mac mini running 10.6 but got an error on my ATV with the same XBMC.

Only builds targeting 10.4SDK are supported, if you target 10.5/10.6, you are on your own.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,478
Joined: Feb 2008
Reputation: 64
Post: #6
How about a context for "Error: Update script exited with status: 126", is that runtime or what?


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
KevinSartori Offline
Donor
Posts: 322
Joined: Dec 2003
Reputation: 2
Location: Connecticut, USA
Post: #7
ssh frontrow@appletv.local
defaults write com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs -array http://www.sshcs.com/xbmc/Info.asp

This adds the SSHC nightly build option to Launcher. When you go into the Launcher menu and then select Downloads, you can select it and it downloads, but, unfortunately, when it tries to install, it gives the following onscreen error:

Error: Update script exited with status: 126

You can hit the Menu button to escape back to the AppleTV menu screen. Before you guys launched the official nightly builds, I used to use it to update to the latest XBMC build for AppleTV, but somewhere along the line, it became broken. I tried emailing the guy who runs the SSHC site (TheQuestor), but he doesn't have an AppleTV and doesn't seem to know why it doesn't work. In fact, I kind of got the impression that he thought it might just be a problem on my end...
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,478
Joined: Feb 2008
Reputation: 64
Post: #8
KevinSartori Wrote:ssh frontrow@appletv.local
defaults write com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs -array http://www.sshcs.com/xbmc/Info.asp

This adds the SSHC nightly build option to Launcher. When you go into the Launcher menu and then select Downloads, you can select it and it downloads, but, unfortunately, when it tries to install, it gives the following onscreen error:

Error: Update script exited with status: 126

You can hit the Menu button to escape back to the AppleTV menu screen. Before you guys launched the official nightly builds, I used to use it to update to the latest XBMC build for AppleTV, but somewhere along the line, it became broken. I tried emailing the guy who runs the SSHC site (TheQuestor), but he doesn't have an AppleTV and doesn't seem to know why it doesn't work. In fact, I kind of got the impression that he thought it might just be a problem on my end...

run the script manually to see what the problem is.

http://www.sshcs.com/xbmc/Info.asp is the following;

UpdateScript http://files.getdropbox.com/u/858897/XBM...e_sshcs.sh URL http://www.sshcs.com/xbmc/?mode=CW&P=OSX&R=30020 Type Application MD5 5385cf23d7ad71f12b8cc6fd812519b1 Name XBMC r30020 Date 11/05/2010 04:15 PM

Code:
wget http://files.getdropbox.com/u/858897/XBMC/xbmc-9.04_update_sshcs.sh
wget http://www.sshcs.com/xbmc/?mode=CW&P=OSX&R=30020

chmod +x xbmc-9.04_update_sshcs.sh

./xbmc-9.04_update_sshcs.sh XBMC_OSX_30020.tgz


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
KevinSartori Offline
Donor
Posts: 322
Joined: Dec 2003
Reputation: 2
Location: Connecticut, USA
Post: #9
I'm not really that good at this kind of stuff, but I'll give it a try. Here's what I got when I ran those four lines of code in PuTTY:

Code:
login as: frontrow
frontrow@192.168.1.107's password:
Last login: Wed May 12 09:42:44 2010 from 192.168.1.148
-bash-2.05b$ wget http://files.getdropbox.com/u/858897/XBMC/xbmc-9.04_update_sshcs.sh
--09:45:54--  http://files.getdropbox.com/u/858897/XBMC/xbmc-9.04_update_sshcs.sh
           => `xbmc-9.04_update_sshcs.sh'
Resolving files.getdropbox.com... 174.129.27.251
Connecting to files.getdropbox.com|174.129.27.251|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://files.dropbox.com/u/858897/XBMC/xbmc-9.04_update_sshcs.sh [following]
--09:45:54--  http://files.dropbox.com/u/858897/XBMC/xbmc-9.04_update_sshcs.sh
           => `xbmc-9.04_update_sshcs.sh'
Resolving files.dropbox.com... 75.101.136.120, 75.101.148.191, 174.129.33.159, ...
Connecting to files.dropbox.com|75.101.136.120|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,649 (4.5K) [text/x-sh]

100%[====================================>] 4,649         --.--K/s

09:45:54 (145.57 KB/s) - `xbmc-9.04_update_sshcs.sh' saved [4649/4649]

-bash-2.05b$ wget http://www.sshcs.com/xbmc/?mode=CW&P=OSX&R=30020
[1] 194
[2] 195
-bash-2.05b$ --09:46:08--  http://www.sshcs.com/xbmc/?mode=CW
           => `index.html?mode=CW'
Resolving www.sshcs.com... 72.167.131.44
Connecting to www.sshcs.com|72.167.131.44|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
09:46:10 ERROR 500: Internal Server Error.

chmod +x xbmc-9.04_update_sshcs.sh
[1]-  Exit 1                  wget http://www.sshcs.com/xbmc/?mode=CW
[2]+  Done                    P=OSX
-bash-2.05b$ ./xbmc-9.04_update_sshcs.sh XBMC_OSX_30020.tgz
Extracting download XBMC_OSX_30020.tgz
Failed to find download XBMC_OSX_30020.tgz
-bash-2.05b$

Looking at the last error, I downloaded XBMC_OSX_30020.tgz manually and moved the file over to the frontrow directory using WinSCP. Then I tried that last line again in PuTTY:

Code:
-bash-2.05b$ ./xbmc-9.04_update_sshcs.sh XBMC_OSX_30020.tgz
Extracting download XBMC_OSX_30020.tgz
tar: /Users/frontrow/Library/Caches/XBMCLauncherDownloads: Cannot chdir: No such file or directory
tar: Error is not recoverable: exiting now
Installing from diskimage /Users/frontrow/Library/Caches/XBMCLauncherDownloads/XBMC.dmg
Failed to find diskimage /Users/frontrow/Library/Caches/XBMCLauncherDownloads/XBMC.dmg
-bash-2.05b$

Using WinRAR, I can see that the XBMC_OSX_30020.tgz archive contains the file XBMC.dmg. I extracted it manually. I noticed that there was no XBMCLauncherDownloads directory in Caches, so I created one. I moved XBMC.dmg to the /Users/frontrow/Library/Caches/XBMCLauncherDownloads directory with WinSCP and tried that last line again:

Code:
-bash-2.05b$ ./xbmc-9.04_update_sshcs.sh XBMC_OSX_30020.tgz
Extracting download XBMC_OSX_30020.tgz
Installing from diskimage /Users/frontrow/Library/Caches/XBMCLauncherDownloads/XBMC.dmg
Password:
Checksumming Driver Descriptor Map (DDM : 0)...
     Driver Descriptor Map (DDM : 0): verified   CRC32 $5BEDCE33
Checksumming Apple (Apple_partition_map : 1)...
     Apple (Apple_partition_map : 1): verified   CRC32 $36BFC610
Checksumming disk image (Apple_HFS : 2)...
..............................................................................
          disk image (Apple_HFS : 2): verified   CRC32 $2D843C0B
Checksumming  (Apple_Free : 3)...
                    (Apple_Free : 3): verified   CRC32 $00000000
verified   CRC32 $C928C93D
/dev/disk1              Apple_partition_scheme
/dev/disk1s1            Apple_partition_map
/dev/disk1s2            Apple_HFS                       /Volumes/XBMC
"disk1" unmounted.
"disk1" ejected.
osx_gl_fullscreen present in advancedsettings.xml
-bash-2.05b$

It seemed like it might have worked, but when I try to launch XBMC from the AppleTV launcher menu, I get the following onscreen error:

Error: XBMC/Boxee exited with status: 5
Hit menu to return

I was a little worried that I might have completely blown out XBMC, but I was able to go in to the Downloads section of Launcher and reinstall the last official nightly build, XBMC svn r28256. Whew!

I would love to experiment with the latest changes, but there doesn't seem to be an easy way for XBMC on AppleTV folks to go about it.
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,478
Joined: Feb 2008
Reputation: 64
Post: #10
KevinSartori Wrote:I'm not really that good at this kind of stuff, but I'll give it a try. Here's what I got when I ran those four lines of code in PuTTY:

Code:
login as: frontrow
frontrow@192.168.1.107's password:
Last login: Wed May 12 09:42:44 2010 from 192.168.1.148
-bash-2.05b$ wget http://files.getdropbox.com/u/858897/XBMC/xbmc-9.04_update_sshcs.sh
--09:45:54--  http://files.getdropbox.com/u/858897/XBMC/xbmc-9.04_update_sshcs.sh
           => `xbmc-9.04_update_sshcs.sh'
Resolving files.getdropbox.com... 174.129.27.251
Connecting to files.getdropbox.com|174.129.27.251|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://files.dropbox.com/u/858897/XBMC/xbmc-9.04_update_sshcs.sh [following]
--09:45:54--  http://files.dropbox.com/u/858897/XBMC/xbmc-9.04_update_sshcs.sh
           => `xbmc-9.04_update_sshcs.sh'
Resolving files.dropbox.com... 75.101.136.120, 75.101.148.191, 174.129.33.159, ...
Connecting to files.dropbox.com|75.101.136.120|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,649 (4.5K) [text/x-sh]

100%[====================================>] 4,649         --.--K/s

09:45:54 (145.57 KB/s) - `xbmc-9.04_update_sshcs.sh' saved [4649/4649]

-bash-2.05b$ wget http://www.sshcs.com/xbmc/?mode=CW&P=OSX&R=30020
[1] 194
[2] 195
-bash-2.05b$ --09:46:08--  http://www.sshcs.com/xbmc/?mode=CW
           => `index.html?mode=CW'
Resolving www.sshcs.com... 72.167.131.44
Connecting to www.sshcs.com|72.167.131.44|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
09:46:10 ERROR 500: Internal Server Error.

chmod +x xbmc-9.04_update_sshcs.sh
[1]-  Exit 1                  wget http://www.sshcs.com/xbmc/?mode=CW
[2]+  Done                    P=OSX
-bash-2.05b$ ./xbmc-9.04_update_sshcs.sh XBMC_OSX_30020.tgz
Extracting download XBMC_OSX_30020.tgz
Failed to find download XBMC_OSX_30020.tgz
-bash-2.05b$

Looking at the last error, I downloaded XBMC_OSX_30020.tgz manually and moved the file over to the frontrow directory using WinSCP. Then I tried that last line again in PuTTY:

Code:
-bash-2.05b$ ./xbmc-9.04_update_sshcs.sh XBMC_OSX_30020.tgz
Extracting download XBMC_OSX_30020.tgz
tar: /Users/frontrow/Library/Caches/XBMCLauncherDownloads: Cannot chdir: No such file or directory
tar: Error is not recoverable: exiting now
Installing from diskimage /Users/frontrow/Library/Caches/XBMCLauncherDownloads/XBMC.dmg
Failed to find diskimage /Users/frontrow/Library/Caches/XBMCLauncherDownloads/XBMC.dmg
-bash-2.05b$

Using WinRAR, I can see that the XBMC_OSX_30020.tgz archive contains the file XBMC.dmg. I extracted it manually. I noticed that there was no XBMCLauncherDownloads directory in Caches, so I created one. I moved XBMC.dmg to the /Users/frontrow/Library/Caches/XBMCLauncherDownloads directory with WinSCP and tried that last line again:

Code:
-bash-2.05b$ ./xbmc-9.04_update_sshcs.sh XBMC_OSX_30020.tgz
Extracting download XBMC_OSX_30020.tgz
Installing from diskimage /Users/frontrow/Library/Caches/XBMCLauncherDownloads/XBMC.dmg
Password:
Checksumming Driver Descriptor Map (DDM : 0)...
     Driver Descriptor Map (DDM : 0): verified   CRC32 $5BEDCE33
Checksumming Apple (Apple_partition_map : 1)...
     Apple (Apple_partition_map : 1): verified   CRC32 $36BFC610
Checksumming disk image (Apple_HFS : 2)...
..............................................................................
          disk image (Apple_HFS : 2): verified   CRC32 $2D843C0B
Checksumming  (Apple_Free : 3)...
                    (Apple_Free : 3): verified   CRC32 $00000000
verified   CRC32 $C928C93D
/dev/disk1              Apple_partition_scheme
/dev/disk1s1            Apple_partition_map
/dev/disk1s2            Apple_HFS                       /Volumes/XBMC
"disk1" unmounted.
"disk1" ejected.
osx_gl_fullscreen present in advancedsettings.xml
-bash-2.05b$

It seemed like it might have worked, but when I try to launch XBMC from the AppleTV launcher menu, I get the following onscreen error:

Error: XBMC/Boxee exited with status: 5
Hit menu to return

I was a little worried that I might have completely blown out XBMC, but I was able to go in to the Downloads section of Launcher and reinstall the last official nightly build, XBMC svn r28256. Whew!

I would love to experiment with the latest changes, but there doesn't seem to be an easy way for XBMC on AppleTV folks to go about it.

Their script needs to create /Users/frontrow/Library/Caches/XBMCLauncherDownloads

"Error: XBMC/Boxee exited with status: 5" is a crash, there should be a crashreporter.log file and xbmc.log file related to this.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
KevinSartori Offline
Donor
Posts: 322
Joined: Dec 2003
Reputation: 2
Location: Connecticut, USA
Post: #11
I deleted the old logs and went through the process again. This time I moved XBMC_OSX_30020.tgz over to the frontrow directory on the AppleTV so that it was with the xbmc-9.04_update_sshcs.sh file and then ran:

Code:
./xbmc-9.04_update_sshcs.sh XBMC_OSX_30020.tgz

XBMC.log is empty. It recreated it, but there's nothing in it. Here's CrashReporter.log.
find quote
tuckbodi Offline
Senior Member
Posts: 282
Joined: Oct 2008
Reputation: 5
Location: A beach on Kepler 22-b
Post: #12
davilla Wrote:Only builds targeting 10.4SDK are supported, if you target 10.5/10.6, you are on your own.

Ahhh, Error Status:5 was what I was seeing and I just figured it was still the issue from this old thread I found.

I'm wondering if TheQuestor ever went back to MacPorts 1.7?
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,478
Joined: Feb 2008
Reputation: 64
Post: #13
KevinSartori Wrote:I deleted the old logs and went through the process again. This time I moved XBMC_OSX_30020.tgz over to the frontrow directory on the AppleTV so that it was with the xbmc-9.04_update_sshcs.sh file and then ran:

Code:
./xbmc-9.04_update_sshcs.sh XBMC_OSX_30020.tgz

XBMC.log is empty. It recreated it, but there's nothing in it. Here's CrashReporter.log.

Symbol not found: _strerror$UNIX2003

TheQuestor's macports install is wrong because he did not a ) follow the guide at http://code.google.com/p/xbmc-port-depends/ or b) follow the README.osx with respect to changing the default SDK or c) did not follow the README.osx and use +universal where indicated.

In any case, Installs from TheQuestor's site on AppleTV are borked until he fixes this problem with his macports.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
TheQuestor Offline
Fan
Posts: 415
Joined: Jun 2005
Reputation: 0
Location: South TX US
Post: #14
davilla Wrote:Symbol not found: _strerror$UNIX2003

TheQuestor's macports install is wrong because he did not a ) follow the guide at http://code.google.com/p/xbmc-port-depends/ or b) follow the README.osx with respect to changing the default SDK or c) did not follow the README.osx and use +universal where indicated.

In any case, Installs from TheQuestor's site on AppleTV are borked until he fixes this problem with his macports.

Actually I have followed the guide to the letter since I have been doing this, and they have always worked with ATV until you guys changed everything around.

Main Rig [Scorpius] - Core i7 2600k @ 5Ghz. 16 Gig DDR3 1600. 1x HD 6990 1x HD 4870 Hackintosh [Chiana] - Core i5 @ 3.8Ghz. 12 Gig DDR3 Linux [Moya] - Core2 Duo E8200 - 2 Gigs DDR2 800 WHS [Zhaan] - DualCore E5200@3.0Ghz - 4 Gigs DDR2 800 VMC [Jothee] Core2 Quad @ 2.8Ghz 4 Gigs DDR2 800 VMC [Aeryn] Core2 E8400 @ 3.0Ghz 2 Gigs DDR2 800 2TB Server [Talyn] Core2 Quad Q6600 @ 3.0Ghz - 8 Gigs DDR2 1066 FileServer [Crichton] P4 650 3.4GHz - 2 Gigs DDR
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,478
Joined: Feb 2008
Reputation: 64
Post: #15
TheQuestor Wrote:Actually I have followed the guide to the letter since I have been doing this, and they have always worked with ATV until you guys changed everything around.

Care to be more specific about what was changed ? There's only one way to get a _strerror$UNIX2003 symbol and that's if you have built the binary against 10.5 SDK. That symbol does not exist under 10.4 SDK, it's just "_strerror".

My builds and that of the buildbot slaves are setup to build the listed why and they are runtime safe under the AppleTV. I recently cranked up another buildbot slave and purposely followed both guides to the letter to verify their accuracy and it was fine.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
(This post was last modified: 2010-05-12 23:27 by davilla.)
find quote
Post Reply