Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept friendrequest catch o.isBrandContact error #272

Closed
lijiarui opened this issue Feb 22, 2017 · 1 comment
Closed

Accept friendrequest catch o.isBrandContact error #272

lijiarui opened this issue Feb 22, 2017 · 1 comment

Comments

@lijiarui
Copy link
Member

When the bot accept a friendrequest, it can catch the following error sometimes, but I cannot find the reason.

log

WARN PuppetWebBrowser execute() exception: unknown error: o.isBrandContact is not a function
  (Session info: chrome=56.0.2924.76)
  (Driver i, WebDriverError: unknown error: o.isBrandContact is not a function
  (Session info: chrome=56.0.2924.76)
  (Driver info: chromedriver=2.25 (5a911c1ac99b36efadff2041357740080cc27220),platform=Linux 3.10.0-514.2.2.el7.x86_64 x86_64)
    at Object.checkLegacyResponse (/bot/node_modules/selenium-webdriver/lib/error.js:517:15)
    at parseHttpResponse (/bot/node_modules/selenium-webdriver/lib/http.js:516:11)
    at doSend.then.response (/bot/node_modules/selenium-webdriver/lib/http.js:432:13)
    at process._tickDomainCallback (internal/process/next_tick.js:129:7)
WARN PuppetWebBridge execute() exception: unknown error: o.isBrandContact is not a function
  (Session info: chrome=56.0.2924.76)
  (Driver info: chromedriver=2.25 (5a911c1ac99b36efadff2041357740080cc27220),platform=Linux 3.10.0-514.2.2.el7.x86_64 x86_64)
WARN PuppetWebBridge proxyWechaty() exception: unknown error: o.isBrandContact is not a function
  (Session info: chrome=56.0.2924.76)
  (Driver info: chromedriver=2.25 (5a911c1ac99b36efadff2041357740080cc27220),platform=Linux 3.10.0-514.2.2.el7.x86_64 x86_64)
ERR PuppetWebBridge send() exception: unknown error: o.isBrandContact is not a function
  (Session info: chrome=56.0.2924.76)
  (Driver info: chromedriver=2.25 (5a911c1ac99b36efadff2041357740080cc27220),platform=Linux 3.10.0-514.2.2.el7.x86_64 x86_64)
ERR PuppetWeb send() exception: unknown error: o.isBrandContact is not a function
  (Session info: chrome=56.0.2924.76)
  (Driver info: chromedriver=2.25 (5a911c1ac99b36efadff2041357740080cc27220),platform=Linux 3.10.0-514.2.2.el7.x86_64 x86_64)
ERR Wechaty send() exception: unknown error: o.isBrandContact is not a function
  (Session info: chrome=56.0.2924.76)
  (Driver info: chromedriver=2.25 (5a911c1ac99b36efadff2041357740080cc27220),platform=Linux 3.10.0-514.2.2.el7.x86_64 x86_64)
ERR Config ###########################
ERR Config unhandledRejection: WebDriverError: unknown error: o.isBrandContact is not a function
  (Session info: chrome=56.0.2924.76)
  (Driver info: chromedriver=2.25 (5a911c1ac99b36efadff2041357740080cc27220),platform=Linux 3.10.0-514.2.2.el7.x86_64 x86_64) [object Promise]
ERR Config ###########################
ERR Config unhandledRejection::catch(unknown error: o.isBrandContact is not a function
  (Session info: chrome=56.0.2924.76)
  (Driver info: chromedriver=2.25 (5a911c1ac99b36efadff2041357740080cc27220),platform=Linux 3.10.0-514.2.2.el7.x86_64 x86_64))
(node:21) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
@huan huan added the duplicate label Feb 22, 2017
@huan
Copy link
Member

huan commented Feb 22, 2017

Duplicated with #81

Provide a reproducible code snip is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants