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

run-bmi-server stays quiet #121

Open
BSchilperoort opened this issue Nov 10, 2022 · 1 comment
Open

run-bmi-server stays quiet #121

BSchilperoort opened this issue Nov 10, 2022 · 1 comment

Comments

@BSchilperoort
Copy link
Member

When attempting to start the BMI server from the terminal, the model code seems to run (pywflow's Julia import does occur), but then it stays quiet & does not report the port number. Terminating the process returns nothing (no errors).

Steps to reproduce (in an empty python environment):

pip install wheel
pip install grpcio-reflection==1.48.2
pip install https://github.com/eWaterCycle/grpc4bmi/archive/refs/heads/0.2.x.zip
pip install https://github.com/eWaterCycle/pywflow/archive/refs/heads/main.zip

run-bmi-server --name pywflow.wflow.WflowBMI

Setup:
WSL2, Ubuntu 20.04
Python 3.8.10

@BSchilperoort
Copy link
Member Author

It turns out that the port is reported, but not to the terminal, as it is logging it.

However, the instructions on the documentation state:

Upon running, the server will report which networking port it has decided to use on the terminal.

Which made me, as a user, expect that the information would show in the terminal.

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

No branches or pull requests

1 participant