You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kibble.apache.org by GitBox <gi...@apache.org> on 2020/12/12 20:43:43 UTC

[GitHub] [kibble] kaxil opened a new pull request #106: Fix broken Kibble

kaxil opened a new pull request #106:
URL: https://github.com/apache/kibble/pull/106


   Before this commit I got this error when running Kibble locally:
   
   ```
   kibble_1         | [2020-12-12 19:42:01 +0000] [7] [ERROR] Exception in worker process
   kibble_1         | Traceback (most recent call last):
   kibble_1         |   File "/usr/local/lib/python3.8/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
   kibble_1         |     worker.init_process()
   kibble_1         |   File "/usr/local/lib/python3.8/site-packages/gunicorn/workers/base.py", line 119, in init_process
   kibble_1         |     self.load_wsgi()
   kibble_1         |   File "/usr/local/lib/python3.8/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
   kibble_1         |     self.wsgi = self.app.wsgi()
   kibble_1         |   File "/usr/local/lib/python3.8/site-packages/gunicorn/app/base.py", line 67, in wsgi
   kibble_1         |     self.callable = self.load()
   kibble_1         |   File "/usr/local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
   kibble_1         |     return self.load_wsgiapp()
   kibble_1         |   File "/usr/local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
   kibble_1         |     return util.import_app(self.app_uri)
   kibble_1         |   File "/usr/local/lib/python3.8/site-packages/gunicorn/util.py", line 358, in import_app
   kibble_1         |     mod = importlib.import_module(module)
   kibble_1         |   File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
   kibble_1         |     return _bootstrap._gcd_import(name[level:], package, level)
   kibble_1         |   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
   kibble_1         |   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
   kibble_1         |   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
   kibble_1         |   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
   kibble_1         |   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
   kibble_1         |   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
   kibble_1         |   File "/kibble/kibble/api/handler.py", line 49, in <module>
   kibble_1         |     with open(KIBBLE_YAML, "r") as f:
   kibble_1         | FileNotFoundError: [Errno 2] No such file or directory: '/kibble/kibble/api/yaml/kibble.yaml'
   kibble_1         | [2020-12-12 19:42:01 +0000] [7] [INFO] Worker exiting (pid: 7)
   ```
   
   This was because https://github.com/apache/kibble/pull/83 replaced kibble.yaml with kibble.ini
   
   This PR reads the config from `kibble.ini`.
   
   This also adds a network to docker-compose file without which I was getting host not found error.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kibble] kaxil commented on pull request #106: Fix broken Kibble

Posted by GitBox <gi...@apache.org>.
kaxil commented on pull request #106:
URL: https://github.com/apache/kibble/pull/106#issuecomment-743848980


   Without this PR: 
   
   I was stuck at 
   
   ![image](https://user-images.githubusercontent.com/8811558/101994514-c7498580-3cba-11eb-827f-074fb0739778.png)
   
   and clicking on "Sign In" did nothing.
   
   After this PR, it is working for me:
   
   ![image](https://user-images.githubusercontent.com/8811558/101994532-e2b49080-3cba-11eb-84dd-d5977d208257.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kibble] kaxil commented on pull request #106: Fix broken Kibble

Posted by GitBox <gi...@apache.org>.
kaxil commented on pull request #106:
URL: https://github.com/apache/kibble/pull/106#issuecomment-743846863


   cc @turbaszek @michalslowikowski00 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kibble] kaxil edited a comment on pull request #106: Fix broken Kibble

Posted by GitBox <gi...@apache.org>.
kaxil edited a comment on pull request #106:
URL: https://github.com/apache/kibble/pull/106#issuecomment-743846863


   cc @turbaszek @michalslowikowski00 @Humbedooh


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kibble] turbaszek merged pull request #106: Fix broken Kibble

Posted by GitBox <gi...@apache.org>.
turbaszek merged pull request #106:
URL: https://github.com/apache/kibble/pull/106


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kibble] turbaszek commented on pull request #106: Fix broken Kibble

Posted by GitBox <gi...@apache.org>.
turbaszek commented on pull request #106:
URL: https://github.com/apache/kibble/pull/106#issuecomment-743878742


   Thanks @kaxil for the fix!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org