atmos / hubot-gtalk

GTalk adapter for Hubot
MIT License
14 stars 6 forks source link

StringPrep-0.1.0 error #20

Closed magicshui closed 4 years ago

magicshui commented 12 years ago

Hi , i deploy a hubot on heroku ,but comes this error messages:

here is my package.json:

{
  "name":        "hosted-hubot",
  "version":     "2.3.2",
  "author":      "GitHub Inc.",
  "keywords":    "github hubot campfire bot",
  "description": "A simple helpful Robot for your Company",
  "licenses":     [{
    "type":       "MIT",
    "url":        "http://github.com/github/hubot/raw/master/LICENSE"
  }],

  "repository" : {
    "type": "git",
    "url":  "https://github.com/github/hubot.git"
  },

  "dependencies": {
   "hubot-gtalk": ">= 0.0.1",
    "hubot": "2.3.2",
    "hubot-scripts": ">= 2.1.0",
    "optparse": "1.0.3",
    "node-expat": "1.6.1"
  },

  "engines": {
    "node": "0.6.x",
    "npm": "1.0.x"
  }
}

and my hubot-script.json:

["shipit.coffee","help.coffee"]

Heroku logs

2012-10-31T21:40:53+00:00 heroku[app.1]: State changed from up to crashed
2012-10-31T21:40:53+00:00 heroku[app.1]: State changed from crashed to starting
2012-10-31T21:40:57+00:00 heroku[app.1]: Starting process with command `bin/hubot -a gtalk -n Hubot`
2012-10-31T21:40:57+00:00 app[app.1]: bin/hubot: 3: npm: not found
2012-10-31T21:40:58+00:00 heroku[app.1]: State changed from starting to up
2012-10-31T21:40:59+00:00 app[app.1]: Cannot load StringPrep-0.1.0 bindings. You may need to `npm install node-stringprep'
2012-10-31T21:41:46+00:00 app[app.1]: XMPP authentication failure

and if i add StringPrep-0.1.0 into the dependencies ,there is error said:not found 'icu-config' in$PATH,i don't know how to fix it

sapegin commented 12 years ago

node-stringprep is optional and your problem is “XMPP authentication failure” that means that there is some problem with login/password or whitelists I think.

magicshui commented 12 years ago

thanks for your reply,i think google block my account ,because when i login into my account , google asked me to change my password and they believe my account have a suspicious login attempt

magicshui commented 12 years ago

now i grant the access,and the new logs :

2012-11-02T16:11:14+00:00 app[app.1]: Cannot load StringPrep-0.1.0 bindings. You may need to `npm install node-stringprep'
2012-11-02T16:11:14+00:00 app[app.1]: Hubot is online, talk.google.com!
2012-11-02T16:11:16+00:00 heroku[app.1]: Process exited with status 0

is it ok?

sapegin commented 12 years ago

At least your password is good :-) Could you see you Gtalk user online in your primary Gtalk?

magicshui commented 12 years ago

no ,i gonna re-deploy hubot and try again