-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run template ModelMeasure Python test with 3.8.0 CLI on mac #5271
Comments
M1 Max, on Sequioa 15.1, works plenty fine here.
I don't have /usr/lib/libsqlite3.dylib. But I do have a brew one
Try running through pytest directly with your system python.
|
Thanks for creating this issue. Yeah, it works through the system python! That's what I ended up doing. So, this is no longer a blocker, but it would be nice to get this working through the CLI as well. |
@rajee wait, were you also having issues on the docker NREL/3.8.0 (that's an ubuntu docker)? |
Works fine, either through the CLI on the pytest file or via
Inside docker
|
@jmarrec Oh, maybe not. It didn't work for me locally, so I just put whatever worked locally to CI. But yeah, maybe it would have worked through the openstudio CLI on the CI on ubuntu docker. |
Can you try Also, can you post the output of these commands
|
Sure. openstudio measure --run_tests . ─╯ Details
otool -L /Applications/OpenStudio-3.8.0/EnergyPlus/python_standard_lib/lib-dynload/_sqlite3.cpython-38-darwin.so ─╯ locate libsqlite3.dylib Details
|
I find the otool suspicious.
and
|
Huh, looks like I mistakenly installed the x86_64 version. file /Applications/OpenStudio-3.8.0/bin/openstudio ─╯ Openstudio seems fine.
I will try the arm64 version and report back. Pretty interesting that x86_64 version has been carrying me this far though! |
Nope, only E+ is signed currently, and OSApp 1.8.0. For OS SDK, I filed |
Happy to report it's working now. Sorry about the operator-error!
|
Glad this is resolved, thanks for the quick feedback when I was asking for diagnostics :) |
Looks like this should have been fixed through #5008 but I am still getting errors on Openstudio version: 3.8.0+f953b6fcaf, M1 Pro Mac, Ventura 13.7
Traceback
Originally posted by @rajeee in #4992 (comment)
The text was updated successfully, but these errors were encountered: