-
Notifications
You must be signed in to change notification settings - Fork 995
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
downloader异常 #74
Comments
看着应该是搜狗微信的页面又改版了。 累觉不爱,不打算维护了
wittyprince <[email protected]>于2018年4月8日 周日上午10:05写道:
… ERROR 2018-04-06 19:45:13,705 downloaders 42787 139981865047872 Message:
Unable to locate element: ***@***.***
***@***.*** <https://github.com/Class>
='info']/label"}
Stacktrace:
at FirefoxDriver.prototype.findElementInternal_
(file:///tmp/tmpbmGJMJ/extensions/
***@***.***/components/driver-component.js:10723)
at FirefoxDriver.prototype.findElement (file:///tmp/tmpbmGJMJ/extensions/
***@***.***/components/driver-component.js:10732)
at DelayedCommand.prototype.executeInternal_/h
(file:///tmp/tmpbmGJMJ/extensions/
***@***.***/components/command-processor.js:12614)
at DelayedCommand.prototype.executeInternal_
(file:///tmp/tmpbmGJMJ/extensions/
***@***.***/components/command-processor.js:12619)
at DelayedCommand.prototype.execute/< (file:///tmp/tmpbmGJMJ/extensions/
***@***.***/components/command-processor.js:12561)
Traceback (most recent call last):
File "/home/wangchen/wechat-spider/wechat/downloaders.py", line 102, in
download_wechat
if self.visit_wechat_topic_list(wechatid):
File "/home/wangchen/wechat-spider/wechat/downloaders.py", line 188, in
visit_wechat_topic_list
element_wechat = ***@***.***
***@***.*** <https://github.com/Class>
='info']/label")
File
"/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",
line 258, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File
"/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",
line 712, in find_element
{'using': by, 'value': value})['value']
File
"/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",
line 201, in execute
self.error_handler.check_response(response)
File
"/usr/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py",
line 194, in check_response
raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: Unable to locate element:
***@***.*** <https://github.com/Class>
***@***.*** <https://github.com/Class>='info']/label"}
Stacktrace:
at FirefoxDriver.prototype.findElementInternal_
(file:///tmp/tmpbmGJMJ/extensions/
***@***.***/components/driver-component.js:10723)
at FirefoxDriver.prototype.findElement (file:///tmp/tmpbmGJMJ/extensions/
***@***.***/components/driver-component.js:10732)
at DelayedCommand.prototype.executeInternal_/h
(file:///tmp/tmpbmGJMJ/extensions/
***@***.***/components/command-processor.js:12614)
at DelayedCommand.prototype.executeInternal_
(file:///tmp/tmpbmGJMJ/extensions/
***@***.***/components/command-processor.js:12619)
at DelayedCommand.prototype.execute/< (file:///tmp/tmpbmGJMJ/extensions/
***@***.***/components/command-processor.js:12561)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#74>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACBhi2P70tDJg1QhnXkctYo5YmdQwU1_ks5tmXBsgaJpZM4TLV8V>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ERROR 2018-04-06 19:45:13,705 downloaders 42787 139981865047872 Message: Unable to locate element: {"method":"xpath","selector":"//div[@Class='txt-box']/p[@Class='info']/label"}
Stacktrace:
at FirefoxDriver.prototype.findElementInternal_ (file:///tmp/tmpbmGJMJ/extensions/[email protected]/components/driver-component.js:10723)
at FirefoxDriver.prototype.findElement (file:///tmp/tmpbmGJMJ/extensions/[email protected]/components/driver-component.js:10732)
at DelayedCommand.prototype.executeInternal_/h (file:///tmp/tmpbmGJMJ/extensions/[email protected]/components/command-processor.js:12614)
at DelayedCommand.prototype.executeInternal_ (file:///tmp/tmpbmGJMJ/extensions/[email protected]/components/command-processor.js:12619)
at DelayedCommand.prototype.execute/< (file:///tmp/tmpbmGJMJ/extensions/[email protected]/components/command-processor.js:12561)
Traceback (most recent call last):
File "/home/wangchen/wechat-spider/wechat/downloaders.py", line 102, in download_wechat
if self.visit_wechat_topic_list(wechatid):
File "/home/wangchen/wechat-spider/wechat/downloaders.py", line 188, in visit_wechat_topic_list
element_wechat = browser.find_element_by_xpath("//div[@Class='txt-box']/p[@Class='info']/label")
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 258, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 712, in find_element
{'using': by, 'value': value})['value']
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 201, in execute
self.error_handler.check_response(response)
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 194, in check_response
raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: Unable to locate element: {"method":"xpath","selector":"//div[@Class='txt-box']/p[@Class='info']/label"}
Stacktrace:
at FirefoxDriver.prototype.findElementInternal_ (file:///tmp/tmpbmGJMJ/extensions/[email protected]/components/driver-component.js:10723)
at FirefoxDriver.prototype.findElement (file:///tmp/tmpbmGJMJ/extensions/[email protected]/components/driver-component.js:10732)
at DelayedCommand.prototype.executeInternal_/h (file:///tmp/tmpbmGJMJ/extensions/[email protected]/components/command-processor.js:12614)
at DelayedCommand.prototype.executeInternal_ (file:///tmp/tmpbmGJMJ/extensions/[email protected]/components/command-processor.js:12619)
at DelayedCommand.prototype.execute/< (file:///tmp/tmpbmGJMJ/extensions/[email protected]/components/command-processor.js:12561)
The text was updated successfully, but these errors were encountered: