Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 7/2/15 9:06

Chamyky
Member

Installing the AE in path with “(”

I'm trying to install the Anniversary Edition on a fresh Oni folder, on Yosemite, which I named it “Oni ƒ (AE)”. However, when “Run AE Installer.app” launches, after the Installer has finished copying the files, it immediately crashes with an error:

Finder got an error: sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `export LC_CTYPE="UTF-8";/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -jar /Applications/Added\ Applications/Games/Oni/Oni\ ƒ\ (AE)/AE/AEInstaller/AEInstaller2Updater.jar &> /dev/null &' (2)

Is this a known bug? For now, I just renamed the folder not to include parentheses, but it feels like this could be made unnecessary.

Offline

#2 7/2/15 16:29

EdT
Moderator

Re: Installing the AE in path with “(”

Try removing the "ƒ" character from the folder name.

Offline

#3 7/2/15 17:05

Chamyky
Member

Re: Installing the AE in path with “(”

Hmm, same issue. Removing the parentheses does work, though, so I assume it's the problem.

Offline

#4 7/2/15 17:21

Iritscen
Moderator

Re: Installing the AE in path with “(”

Yeah, it's not the ƒ character, I fixed that issue previously.  When dealing with a Unix path like that, the parentheses need to be escaped.  I wrote code to escape space characters (as seen with the '\' before the 'ƒ'), but didn't consider the possible presence of any other problem characters like parentheses.  I'll try to add a fix to the script soon (but it will only benefit future downloaders of the AE, not current users).


byproducts are fine, but where's the beef?

Online

#5 8/2/15 20:01

Iritscen
Moderator

Re: Installing the AE in path with “(”

I suppose this never occurred to me since most people wouldn't label their Oni folder according to the AE that was installed separately within that folder smile  Since it's still a vanilla Oni installation at that upper level.  Anyway, I have updated the AE Setup download on the Depot with code that handles paths with parentheses, and it worked in my test, but let me know if you find any issues.


byproducts are fine, but where's the beef?

Online

Board footer

Powered by FluxBB