部署失败:自然语言分类器工具包 - Bluemix / IBM watson

时间:2016-02-11 20:33:50

标签: ibm-cloud ibm-watson

有人在bluemix上使用过自然语言分类器吗? 我执行以下步骤但无法部署。有没有人经历过这个?

  1. 转到https://hub.jazz.net/project/wdctools/ibmwatson-nlc-groundtruth/overview
  2. 点击“部署到Bluemix”
  3. 点击“Deploy to Bluemix”按钮后,下一页显示:
  4.   

    成功创建项目

         

    成功克隆存储库

         

    成功配置管道

         

    部署到Bluemix失败

    请求的日志信息 - 由编辑将答案移至问题

    这是对Ben Rondeau要求记录的回应。我没有足够的代表点将其添加为评论:(

    IBMWATSON-NLC-GROUNDTRUTH构建相当远,并通过了一系列测试。它似乎在设置凉亭方面遇到了一些麻烦,但最终解决了这个问题。这是失败的构建步骤:

    跑“业力:单位”(业力)任务

    WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular-route/angular-route.js" does not match any file.
    WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/ibmwatson-common-ui-components/dist/ibmwatson-common-ui-components.js" does not match any file.
    WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/app/app.coffee" does not match any file.
    WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/app/**/*.coffee" does not match any file.
    WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/app/**/*.jade" does not match any file.
    WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/components/**/*.coffee" does not match any file.
    WARN [watcher]: Pattern "/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/components/**/*.jade" does not match any file.
    INFO [karma]: Karma v0.12.37 server started at http://localhost:8080/
    INFO [launcher]: Starting browser PhantomJS
    INFO [PhantomJS 1.9.8 (Linux 0.0.0)]: Connected on socket 6VJzDkVVigia7YxR5zfc with id 20079085
    PhantomJS 1.9.8 (Linux 0.0.0): Executed 0 of 64 SUCCESS (0 secs / 0 secs)
    AKPhantomJS 1.9.8 (Linux 0.0.0) Service: authentication should exist FAILED
        Error: [$injector:modulerr] Failed to instantiate module ng due to:
        TypeError: 'undefined' is not an object (evaluating 'Function.prototype.bind.apply')
            at instantiate (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4619)
            at provider (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4433)
            at /home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:365
            at forEach (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:335)
            at /home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4423
            at ngModule (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:2475)
            at invoke (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4604)
            at runInvokeQueue (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4497)
            at /home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4506
            at forEach (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:321)
            at loadModules (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4529)
            at createInjector (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular/angular.js:4409)
            at workFn (/home/pipeline/15b6190d-56a3-42f6-b703-f60379620682/client/bower_components/angular-mocks/angular-mocks.js:2799
    

1 个答案:

答案 0 :(得分:0)

Thanks for reporting this issue. A dependency on a certain library was not being handled in all cases, hence the errors. That's been resolved, and the updated source is now available. Please delete the Bluemix app that was created for you and the instance of the Natural Language Classifier that it created for you, and re-try the "Deploy to Bluemix" button. The build/deploy process should now work correctly. Sorry for the inconvenience!