IBM / watson-voice-bot

Create a Watson Assistant chatbot that uses voice over a web browser.

Home Page:https://developer.ibm.com/patterns/create-a-web-based-voice-chatbot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy 1Failed

ather143 opened this issue · comments

Preparing to start the job...
Running on public worker: jp-tokpublicworker02-2
Pipeline image: latest
Preparing the build artifacts...
cf login -a "https://api.us-south.cf.cloud.ibm.com" -u apikey -p "****" -o "hafiz@iffahzara.com" -s "dev"
API endpoint: https://api.us-south.cf.cloud.ibm.com
Authenticating...
OK

Targeted org hafiz@iffahzara.com

Targeted space dev

API endpoint: https://api.us-south.cf.cloud.ibm.com (API version: 2.164.0)
User: hafiz@iffahzara.com
Org: hafiz@iffahzara.com
Space: dev
Creating service instance wvb-watson-assistant in org hafiz@iffahzara.com / space dev as hafiz@iffahzara.com...
OK

Creating service instance wvb-text-to-speech in org hafiz@iffahzara.com / space dev as hafiz@iffahzara.com...
OK

Creating service instance wvb-speech-to-text in org hafiz@iffahzara.com / space dev as hafiz@iffahzara.com...
OK

Pushing from manifest to org hafiz@iffahzara.com / space dev as hafiz@iffahzara.com...
Using manifest file /workspace/a8653fd8-66b9-480b-a4e2-75557073a1cb/manifest.yml
Getting app info...
Creating app with these attributes...

  • name: watson-voice-bot-20210618015210255
    path: /workspace/a8653fd8-66b9-480b-a4e2-75557073a1cb
    buildpacks:
  • python_buildpack
  • disk quota: 512M
  • instances: 1
  • memory: 128M
    services:
  • wvb-speech-to-text
  • wvb-text-to-speech
  • wvb-watson-assistant
    routes:
  • watson-voice-bot-20210618015210255.mybluemix.net

Creating app watson-voice-bot-20210618015210255...
Mapping routes...
Binding services...
Comparing local files to remote cache...
Packaging files to upload...
Uploading files...

0 B / 1.59 MiB 0.00%
128.00 KiB / 1.59 MiB 7.84%
160.00 KiB / 1.59 MiB 9.80%
576.00 KiB / 1.59 MiB 35.29%
1.09 MiB / 1.59 MiB 68.62%
1.59 MiB / 1.59 MiB 100.00%
1.59 MiB / 1.59 MiB 100.00%
1.59 MiB / 1.59 MiB 100.00%
1.59 MiB / 1.59 MiB 100.00%
1.59 MiB / 1.59 MiB 100.00%
1.59 MiB / 1.59 MiB 100.00%
1.59 MiB / 1.59 MiB 100.00%
1.59 MiB / 1.59 MiB 100.00%
1.59 MiB / 1.59 MiB 100.00% 2s

Waiting for API to complete processing files...

Staging app and tracing logs...
Downloading python_buildpack...
Downloaded python_buildpack
Cell 879700a2-564c-421c-9025-d97173c35f0b creating container for instance 30eb0400-4a8d-42ce-9433-f2fddb747ec4
Cell 879700a2-564c-421c-9025-d97173c35f0b successfully created container for instance 30eb0400-4a8d-42ce-9433-f2fddb747ec4
Downloading app package...
Downloaded app package (1.6M)
-----> Python Buildpack version 1.7.37
-----> Supplying Python
-----> Installing python 3.8.9
Download [https://buildpacks.cloudfoundry.org/dependencies/python/python_3.8.9_linux_x64_cflinuxfs3_e9cbc67f.tgz]
-----> Installing pip-pop 0.1.5
Download [https://buildpacks.cloudfoundry.org/dependencies/manual-binaries/pip-pop/pip-pop-0.1.5-b32efe86.tar.gz]
-----> Running Pip Install
Collecting ibm-watson==4.0.1
Downloading ibm-watson-4.0.1.tar.gz (297 kB)
Collecting Flask==1.1.1
Downloading Flask-1.1.1-py2.py3-none-any.whl (94 kB)
Collecting python-dotenv==0.10.3
Downloading python_dotenv-0.10.3-py2.py3-none-any.whl (16 kB)
Collecting flask-cors==3.0.8
Downloading Flask_Cors-3.0.8-py2.py3-none-any.whl (14 kB)
Collecting flask-socketio==4.2.1
Downloading Flask_SocketIO-4.2.1-py2.py3-none-any.whl (16 kB)
Collecting requests<3.0,>=2.0
Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting python_dateutil>=2.5.3
Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting websocket-client==0.48.0
Downloading websocket_client-0.48.0-py2.py3-none-any.whl (198 kB)
Collecting ibm_cloud_sdk_core==1.0.0
Downloading ibm-cloud-sdk-core-1.0.0.tar.gz (19 kB)
Collecting itsdangerous>=0.24
Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB)
Collecting click>=5.1
Downloading click-8.0.1-py3-none-any.whl (97 kB)
Collecting Werkzeug>=0.15
Downloading Werkzeug-2.0.1-py3-none-any.whl (288 kB)
Collecting Jinja2>=2.10.1
Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB)
Collecting Six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting python-socketio>=4.3.0
Downloading python_socketio-5.3.0-py2.py3-none-any.whl (53 kB)
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting certifi>=2017.4.17
Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.5-py2.py3-none-any.whl (138 kB)
Collecting chardet<5,>=3.0.2
Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting PyJWT>=1.7.1
Downloading PyJWT-2.1.0-py3-none-any.whl (16 kB)
Collecting MarkupSafe>=2.0
Downloading MarkupSafe-2.0.1-cp38-cp38-manylinux2010_x86_64.whl (30 kB)
Collecting bidict>=0.21.0
Downloading bidict-0.21.2-py2.py3-none-any.whl (37 kB)
Collecting python-engineio>=4.1.0
Downloading python_engineio-4.2.0-py2.py3-none-any.whl (51 kB)
Using legacy 'setup.py install' for ibm-watson, since package 'wheel' is not installed.
Using legacy 'setup.py install' for ibm-cloud-sdk-core, since package 'wheel' is not installed.
Installing collected packages: idna, certifi, urllib3, chardet, requests, Six, python-dateutil, websocket-client, PyJWT, ibm-cloud-sdk-core, ibm-watson, itsdangerous, click, Werkzeug, MarkupSafe, Jinja2, Flask, python-dotenv, flask-cors, bidict, python-engineio, python-socketio, flask-socketio
WARNING: The script chardetect is installed in '/tmp/contents018503308/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for ibm-cloud-sdk-core: started
Running setup.py install for ibm-cloud-sdk-core: finished with status 'done'
Running setup.py install for ibm-watson: started
Running setup.py install for ibm-watson: finished with status 'done'
WARNING: The script flask is installed in '/tmp/contents018503308/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script dotenv is installed in '/tmp/contents018503308/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed Flask-1.1.1 Jinja2-3.0.1 MarkupSafe-2.0.1 PyJWT-2.1.0 Six-1.16.0 Werkzeug-2.0.1 bidict-0.21.2 certifi-2021.5.30 chardet-4.0.0 click-8.0.1 flask-cors-3.0.8 flask-socketio-4.2.1 ibm-cloud-sdk-core-1.0.0 ibm-watson-4.0.1 idna-2.10 itsdangerous-2.0.1 python-dateutil-2.8.1 python-dotenv-0.10.3 python-engineio-4.2.0 python-socketio-5.3.0 requests-2.25.1 urllib3-1.26.5 websocket-client-0.48.0
Exit status 0
Uploading droplet, build artifacts cache...
Uploading droplet...
Uploading build artifacts cache...
Uploaded build artifacts cache (58.1M)
Uploaded droplet (61.2M)
Uploading complete
Cell 879700a2-564c-421c-9025-d97173c35f0b stopping instance 30eb0400-4a8d-42ce-9433-f2fddb747ec4
Cell 879700a2-564c-421c-9025-d97173c35f0b destroying container for instance 30eb0400-4a8d-42ce-9433-f2fddb747ec4
Cell 879700a2-564c-421c-9025-d97173c35f0b successfully destroyed container for instance 30eb0400-4a8d-42ce-9433-f2fddb747ec4

Waiting for app to start...
Start unsuccessful

TIP: use 'cf logs watson-voice-bot-20210618015210255 --recent' for more information
FAILED

Finished: FAILED

were you able to resolve this, facing same issue

having same issue...any luck on a solution?