IBM-Cloud / openwhisk-darkvisionapp

Discover dark data in videos with IBM Watson and IBM Cloud Functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dark Vision fails to deploy automatically when the Bluemix space name contains spaces

l2fprod opened this issue · comments

The issue seems to be in Speech to Text. It fails if the callback URL has a space in its name:

{"code":400,"code_description":"Bad Request","error":"unable to register callback url 'https://openwhisk.ng.bluemix.net/api/v1/experimental/web/mail@fr.ibm.com_Game of Bluemix/vision/speechtotext.http', callback server responded with status code 505"}

Another related issue fixed by PR #65 was with Cloud Functions:

  ___                __        ___     _     _    
 / _ \ _ __   ___ _ _\ \      / / |__ (_)___| | __
| | | | '_ \ / _ \ '_ \ \ /\ / /| '_ \| / __| |/ /
| |_| | |_) |  __/ | | \ V  V / | | | | \__ \   < 
 \___/| .__/ \___|_| |_|\_/\_/  |_| |_|_|___/_|\_\
      |_|                                         
Retrieving OpenWhisk authorization key...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1757    0     0  100  1757      0   8514 --:--:-- --:--:-- --:--:--  8487
100  1757    0     0  100  1757      0    869  0:00:02  0:00:02 --:--:--   870
100  1757    0     0  100  1757      0    581  0:00:03  0:00:03 --:--:--   581
100  4067    0  2310  100  1757    737    561  0:00:03  0:00:03 --:--:--   738
error: syntax error, unexpected $end, expecting QQSTRING_TEXT or QQSTRING_INTERP_START or QQSTRING_END
.namespaces[] | select(.name == "mail@fr.ibm.com_Game
                                 ^^^^^^^^^^^^^^^^^^^^^
1 compile error
error: syntax error, unexpected $end, expecting QQSTRING_TEXT or QQSTRING_INTERP_START or QQSTRING_END
.namespaces[] | select(.name == "mail@fr.ibm.com_Game
                                 ^^^^^^^^^^^^^^^^^^^^^
1 compile error
Speech to Text OpenWhisk action is accessible at https://openwhisk.ng.bluemix.net/api/v1/experimental/web/mail@fr.ibm.com_Game of Bluemix/vision/speechtotext.http
 _   _      _      

using IAM namespace now