You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenStudio CLI looking for libopenstudiolib.dylib in incorrect location
Current Behavior
stderr: Traceback (most recent call last):
stderr: File "/Applications/OpenStudioApplication-1.7.0-rc1/bin/../Python/openstudio.py", line 47, in <module>
stderr: import openstudioairflow as airflow
stderr: File "/Applications/OpenStudioApplication-1.7.0-rc1/bin/../Python/openstudioairflow.py", line 12, in <module>
stderr: import _openstudioairflow
stderr: ImportError: dlopen(/Applications/OpenStudioApplication-1.7.0-rc1/bin/../Python/_openstudioairflow.so, 0x0004): Library not loaded: @rpath/libopenstudiolib.dylib
stderr: Referenced from: <2EF0357C-4D3E-3F51-A3F5-008565FD679B> /Applications/OpenStudioApplication-1.7.0-rc1/Python/_openstudioairflow.so
stderr: Reason: tried: '/Applications/OpenStudioApplication-1.7.0-rc1/Python/libopenstudiolib.dylib' (no such file), '/Applications/OpenStudioApplication-1.7.0-rc1/Python/../lib/libopenstudiolib.dylib' (no such file), '/Applications/OpenStudioApplication-1.7.0-rc1/Python/libopenstudiolib.dylib' (no such file), '/Applications/OpenStudioApplication-1.7.0-rc1/Python/../lib/libopenstudiolib.dylib' (no such file), '/opt/homebrew/lib/libopenstudiolib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libopenstudiolib.dylib' (no such file), '/opt/homebrew/lib/libopenstudiolib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libopenstudiolib.dylib' (no such file), '/opt/homebrew/lib/libopenstudiolib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/libopenstudiolib.dylib' (no such file)
[openstudio.workflow.OSWorkflow] <Error> Found error in state 'OpenStudioMeasures' with message: 'Error executing Python code'
Timer OpenStudioMeasures with level=0 was not stopped
stderr: Failed to run workflow. Last Error:
stderr: Found error in state 'OpenStudioMeasures' with message: 'Error executing Python code'
Expected Behavior
CLI should look for libopenstudiolib.dylib in correct location and run successfully
Steps to Reproduce
Create Python measure
Add Python measure to workflow
Run workflow
Possible Solution
Either change rpath to include ./bin/ or install libopenstudiolib.dylib to ./lib/. Copying libopenstudiolib.dylib to ./lib/ is a temporary workaround
Details
Environment
Some additional details about your environment for this issue (if relevant):
Issue overview
OpenStudio CLI looking for libopenstudiolib.dylib in incorrect location
Current Behavior
Expected Behavior
CLI should look for libopenstudiolib.dylib in correct location and run successfully
Steps to Reproduce
Possible Solution
Either change rpath to include ./bin/ or install libopenstudiolib.dylib to ./lib/. Copying libopenstudiolib.dylib to ./lib/ is a temporary workaround
Details
Environment
Some additional details about your environment for this issue (if relevant):
Context
Cannot use Python measures
The text was updated successfully, but these errors were encountered: