NREL / EnergyPlus

EnergyPlus™ is a whole building energy simulation program that engineers, architects, and researchers use to model both energy consumption and water use in buildings.
https://energyplus.net
Other
1.04k stars 378 forks source link

EP-Compare is outdated for modern macs #7324

Open jmarrec opened 5 years ago

jmarrec commented 5 years ago

Issue overview

The EP-Compare is a outdated to run on modern mac. Fixing the permissions doesn't help really.

chmod +x /Applications/EnergyPlus-9-1-0/PostProcess/EP-Compare/EP-Compare.app/Contents/MacOS/EP-Compare

If I chmod +x I still can't launch it by clicking on the App (which shows a O/ sign).: "You can't open the application "EP-Compare" because it may be damaged or incomplete"

If I launch it from the terminal, it complains but eventually launches anyway. I did briefly also get a messagebox saying the app needed an update from the developpers.

./EP-Compare
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.60.1/Common/ChunkCompression.cpp:49: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.60.1/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist'
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.60.1/Common/ChunkCompression.cpp:49: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.60.1/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/AppExceptions.bundle/Exceptions.plist'

I see only binary files, not development files in https://github.com/NREL/EnergyPlus/tree/develop/bin/EP-Compare/Run-Mac/EP-Compare.app/Contents. No clue where the source is.

Details

Some additional details for this issue (if relevant):

Checklist

Add to this list or remove from it as applicable. This is a simple templated set of guidelines.

jmarrec commented 5 years ago

@JasonGlazer Do you have the source somewhere to check if simply recompiling would suffice please?

JasonGlazer commented 5 years ago

@jmarrec I do have the source code but I don't have an updated license on the compiler. Do you want access to the code?