Skip to content

service can't be started due to ModuleNotFoundError #1

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

Open
sergey-vin opened this issue Jun 20, 2020 · 0 comments
Open

service can't be started due to ModuleNotFoundError #1

sergey-vin opened this issue Jun 20, 2020 · 0 comments

Comments

@sergey-vin
Copy link

sergey-vin commented Jun 20, 2020

to fix it, please apply the patch:

diff --git a/README.md b/README.md
index 1fc9186..5ea7901 100644
--- a/README.md
+++ b/README.md
@@ -143,9 +143,9 @@ Web services return HTML back. In address book microservice, API data interface
 But first, let's run the server and test it:

 ``` bash
-$ python3 addrservice/tornado/server.py --port 8080 --config ./configs/addressbook-local.yaml --debug
+$ python3 -m addrservice.tornado.server --port 8080 --config ./configs/addressbook-local.yaml --debug

-Starting Address Book on port 8080 ...
+2020-06-20 13:54:19,430 addrservice INFO : message="STARTING" service_name="Address Book" port=8080...
 ```

 Also run lint, typecheck and test to verify nothing is broken, and also code coverage:

other places where python3 addrservice/tornado/server.py is used, also have to be corrected

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