You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "thao p nguyen (JIRA)" <ji...@apache.org> on 2019/04/03 02:22:00 UTC
[jira] [Created] (SINGA-439) Rafiki - fail to initialise the client
thao p nguyen created SINGA-439:
-----------------------------------
Summary: Rafiki - fail to initialise the client
Key: SINGA-439
URL: https://issues.apache.org/jira/browse/SINGA-439
Project: Singa
Issue Type: Bug
Environment: - Docker version 18.09.4
- Python 3.6.7
- run on Ubuntu 18.10
Reporter: thao p nguyen
Attachments: error_message, start.log, start_bash_scripts.sh
I could not initialise rafiki's client.
Steps taken:
_1-_ _Setup Rafiki’s complete stack with_ _script:_
sudo bash scripts/start.sh
(without sudo will cause invalid file/directory
_messages shown in attached file 'bash_scripts_start.sh')_
_2- install Rafiki Client’s Python dependencies at the project’s root folder:_
pip install -r ./rafiki/client/requirements.txt
_3- Set {{$PYTHONPATH}} to the project’s root folder:_
export PYTHONPATH=$PWD
_All commands ran successful_
_4- Initialise the client on Python3:_
{{ from rafiki.client import Client}}
client = Client(admin_host='localhost', admin_port=3000)
client.login(email='superadmin@rafiki', password='rafiki')
{{failed. Got error message (attached file: ‘error_message’). }}{{there is no error on log file ‘admin.log’, but error on ‘start.log’ (attached file: ‘start.log’)}}
I then stopped the rafiki’s stack (‘bash scripts/stop.sh’ ) and restart the whole process, still got the same error. I re-started my computer and ran again, got the same error message.
* _Note: tried again on MacOS and success_
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)