ATV SSHC builds and script error 126
#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
Reply
#2
Use the official builds by adding it to your Launcher downloads menu:

Code:
ssh [email protected]
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
Reply
#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!
Reply
#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.
Reply
#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.
Reply
#6
How about a context for "Error: Update script exited with status: 126", is that runtime or what?
Reply
#7
Reply
#8
Reply
#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
[email protected]'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.
Reply
#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
[email protected]'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.
Reply
#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.
Reply
#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?
Reply
#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.
Reply
#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 [email protected] - 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
Reply
#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.
Reply

Logout Mark Read Team Forum Stats Members Help
ATV SSHC builds and script error 1260