Code Monkey home page Code Monkey logo

Comments (4)

mamoonraja avatar mamoonraja commented on June 9, 2024 1

I have just debugged the issue, the reason is that default configuration name changed to'Default Configuration'. I am updating the training script to use the default configuration. Fix coming in soon.

from assistant-with-discovery-openwhisk.

mamoonraja avatar mamoonraja commented on June 9, 2024

@maclean-stu Thanks a lot for opening the issue. Training files for discovery are in ./manualdocs. Can you please provide error message?

from assistant-with-discovery-openwhisk.

rawslaw avatar rawslaw commented on June 9, 2024

I'm hitting the same. My error message is:

Creating environment
Environment status: active
Creating configuration
fs.js:119
    throw err;
    ^

Error: ENOENT: no such file or directory, open './training/discovery_config.json'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:348:35)
    at createConfigurationAsync (/renosandbox/hackathon/discovery-assistant-whisk/train-discovery.js:82:23)
    at /renosandbox/hackathon/discovery-assistant-whisk/train-discovery.js:222:7
    at /renosandbox/hackathon/discovery-assistant-whisk/node_modules/async/dist/async.js:4603:26
    at Request._callback (/renosandbox/hackathon/discovery-assistant-whisk/node_modules/watson-developer-cloud/lib/requestwrapper.js:125:9)
    at Request.self.callback (/renosandbox/hackathon/discovery-assistant-whisk/node_modules/watson-developer-cloud/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at Request.<anonymous> (/renosandbox/hackathon/discovery-assistant-whisk/node_modules/watson-developer-cloud/node_modules/request/request.js:1157:10)
    at Request.emit (events.js:182:13)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] train: `cp .env.example .env && node ./train-conversation.js && node ./train-discovery.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] train script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/u070104/.npm/_logs/2018-07-16T18_41_49_477Z-debug.log

The contents of that debug log as follows:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/lib/node_modules/node/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'run',
1 verbose cli   'train' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'pretrain', 'train', 'posttrain' ]
5 info lifecycle [email protected]~pretrain: [email protected]
6 silly lifecycle [email protected]~pretrain: no script for pretrain, continuing
7 info lifecycle [email protected]~train: [email protected]
8 verbose lifecycle [email protected]~train: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~train: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/renosandbox/hackathon/discovery-assistant-whisk/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin
10 verbose lifecycle [email protected]~train: CWD: /renosandbox/hackathon/discovery-assistant-whisk
11 silly lifecycle [email protected]~train: Args: [ '-c',
11 silly lifecycle   'cp .env.example .env && node ./train-conversation.js && node ./train-discovery.js' ]
12 silly lifecycle [email protected]~train: Returned: code: 1  signal: null
13 info lifecycle [email protected]~train: Failed to exec train script
14 verbose stack Error: [email protected] train: `cp .env.example .env && node ./train-conversation.js && node ./train-discovery.js`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:283:16)
14 verbose stack     at EventEmitter.emit (events.js:182:13)
14 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at ChildProcess.emit (events.js:182:13)
14 verbose stack     at maybeClose (internal/child_process.js:961:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
15 verbose pkgid [email protected]
16 verbose cwd /renosandbox/hackathon/discovery-assistant-whisk
17 verbose Darwin 17.5.0
18 verbose argv "/usr/local/lib/node_modules/node/bin/node" "/usr/local/bin/npm" "run" "train"
19 verbose node v10.6.0
20 verbose npm  v5.0.3
21 error code ELIFECYCLE
22 error errno 1
23 error [email protected] train: `cp .env.example .env && node ./train-conversation.js && node ./train-discovery.js`
23 error Exit status 1
24 error Failed at the [email protected] train script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]

from assistant-with-discovery-openwhisk.

watson-github-bot avatar watson-github-bot commented on June 9, 2024

🎉 This issue has been resolved in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

from assistant-with-discovery-openwhisk.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.