View Issue Details

IDProjectCategoryLast Update
0002844AI War 1 / ClassicBug - OtherFeb 13, 2012 5:15 pm
ReporterCommiesalami Assigned ToChris_McElligottPark  
Status acknowledgedResolutionopen 
Product Version5.000 
Summary0002844: Auto-updater is broken on Mac Steam Version
DescriptionFor the mac version with steam, the updater does not start up with the following error from the console:

2/16/11 2:34:02 PM com.apple.launchd.peruser.501[87] ([0x0-0x8b98b9].com.bitrock.installbuilder[14513]) posix_spawn("/Users/Charlie/Library/Application Support/Steam/SteamApps/common/ai war fleet command/AIWarAutoUpdater-osx.app/Contents/MacOS/installbuilder.sh", ...): No such file or directory

2/16/11 2:34:02 PM com.apple.launchd.peruser.501[87] ([0x0-
0x8b98b9].com.bitrock.installbuilder[14513]) Exited with exit code: 1

Looks like some file was missing from the installer. I've deleted local content and have re downloaded from steam and the issue repeats itself.
TagsNo tags attached.
Internal Weight

Relationships

has duplicate 0003276 acknowledgedChris_McElligottPark Can not update to 5.0xx using updater on mac osx 

Activities

keith.lamothe

Feb 16, 2011 6:21 pm

administrator   ~0010399

Is there a "AIWarAutoUpdater-osx.app" in your "/Users/Charlie/Library/Application Support/Steam/SteamApps/common/ai war fleet command/" directory?

If so, are you able to look inside and see if it has a "Contents" subdirectory? And if that has a "MacOS" subdirectory? And if that has a "installbuilder.sh" file?

Just trying to figure out which link in the chain broke :)

Commiesalami

Feb 16, 2011 7:21 pm

reporter   ~0010410

There is a file by that name, along with another file just named Installbuilder with no extension

Commiesalami

Feb 17, 2011 8:33 pm

reporter   ~0010442

I just download the game from another source (Mediafire off your website) and manually replaced the updater in the Steam version, and it replaced installer works as Intended.

Looks like the problem is with the copy that steam has.

keith.lamothe

Feb 17, 2011 8:39 pm

administrator   ~0010443

Interesting. Glad you got it working, sorry it took the whole other download to get it.

Another person had the same problem and apparently there was an osx-intel or something executable inside the auto-updater app bundle that worked too.

It's possible that some file permission or attribute on the .app file or whatever got munged in the handing off to steam, etc. We've had frequent problems with those not staying set right, though not specifically with that distributor.

rphillips

Mar 8, 2011 11:16 pm

reporter   ~0010987

Last edited: Mar 8, 2011 11:19 pm

I can confirm this issue.

The installbuilder.sh file contains a windows newline on the #!/bin/sh line. I dos2unix'ed the file and the updater works as expected. It appears this is a new issue with the 5.0 release for steam and OSX.

[Edit: To be clear, the updater is broken on OSX without this fix.]

Oralordos

Mar 9, 2011 7:03 pm

reporter   ~0011012

Until this is fixed, you can use the information in this thread to get the betas.
http://www.arcengames.com/forums/index.php/topic,7657.0.html

Chris_McElligottPark

Apr 18, 2011 12:01 pm

administrator   ~0011955

You can redownload the updater itself from here, and see if that helps: http://www.arcengames.com/forums/index.php/topic,8283.msg72715.html#msg72715

magnesfox

Jul 5, 2011 10:02 pm

reporter   ~0012659

I bought the game for Mac today (from Steam) and had the same problem.

The issue seems to be the line endings in installbuilder.sh. Once I converted the MS-DOS style line endings to UNIX style, it ran.

Epicurean

Feb 13, 2012 5:14 pm

reporter   ~0019036

Last edited: Feb 13, 2012 5:18 pm

I had the exact same issue and came up with the same solution as magnesfox and rphillips

It is a very simple fix: just save the installbuilder.sh script with unix style newlines or to put it differently:
the installbuilder.sh script uses the wrong NEWLINE bits to mark the end of a line. Presumably because the file was created on a Windows machine. Just save the file with Unix style newlines and everything is fine.
It is such an easy fix (just resave the file) and I'll hope that the issue will be fixed very soon. Without the fix, the shellscript does not work.
I added my "fixed" file. Again, the only difference to the original one located in ~/Library/Application\ Support/Steam/SteamApps/common/ai\ war\ fleet\ command/AIWarAutoUpdater-osx.app is, that it was saved in a Unix "compatible" format ("LF" for newlines instead of "CRLF")
 
Reference: http://en.wikipedia.org/wiki/Newline

Issue History

Date Modified Username Field Change
Feb 16, 2011 6:14 pm Commiesalami New Issue
Feb 16, 2011 6:21 pm keith.lamothe Note Added: 0010399
Feb 16, 2011 7:21 pm Commiesalami Note Added: 0010410
Feb 17, 2011 8:33 pm Commiesalami Note Added: 0010442
Feb 17, 2011 8:39 pm keith.lamothe Note Added: 0010443
Mar 8, 2011 11:16 pm rphillips Note Added: 0010987
Mar 8, 2011 11:19 pm rphillips Note Edited: 0010987
Mar 9, 2011 7:03 pm Oralordos Note Added: 0011012
Mar 23, 2011 12:02 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Mar 23, 2011 12:02 am Chris_McElligottPark Status new => acknowledged
Apr 18, 2011 11:58 am Chris_McElligottPark Relationship added has duplicate 0003276
Apr 18, 2011 12:01 pm Chris_McElligottPark Note Added: 0011955
Jul 5, 2011 10:02 pm magnesfox Note Added: 0012659
Feb 13, 2012 5:14 pm Epicurean Note Added: 0019036
Feb 13, 2012 5:15 pm Epicurean File Added: installbuilder.sh
Feb 13, 2012 5:18 pm Epicurean Note Edited: 0019036