Skip to content
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

RunView server port is 0, no run feedback #483

Closed
macumber opened this issue Jan 17, 2022 · 2 comments · Fixed by #484
Closed

RunView server port is 0, no run feedback #483

macumber opened this issue Jan 17, 2022 · 2 comments · Fixed by #484

Comments

@macumber
Copy link
Collaborator

macumber commented Jan 17, 2022

Issue overview

First reported at:
https://unmethours.com/question/67363/openstudio-has-crushed/

Current Behavior

Run server port is 0 and no feedback from openstudio CLI gets to App. This also seems to prevent simulation results from making it back to the user's directory.

Expected Behavior

The simulation output should appear in the app and simulation results should get copied back.

Steps to Reproduce

Unclear why this is happening.

Possible Solution

One workaround would be to let the user specify a port via environment variable. At the very least, if a socket cannot be opened (

<< "-s" << QString::number(m_runTcpServer->serverPort()) << "-w" << workflowJSONPath;
), don't pass that argument to CLI.

Some additional details about your environment for this issue (if relevant):

  • Windows
  • 1.2.0
@macumber
Copy link
Collaborator Author

macumber commented Jan 18, 2022

User upgraded from 1.2.0 to 1.3.0 and said issue temporarily went away. However, she reported that the issue came back after restarting. Note that user has installed OpenStudio Application in C:\Program Files instead of C:\.

@macumber macumber self-assigned this Jan 18, 2022
@macumber
Copy link
Collaborator Author

Oddly measure manager seems to be working which uses a similar TCP socket:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant