长运行时后Python selenium错误

时间:2015-01-15 04:23:28

标签: python selenium fsevents

运行我的selenium python代码并遇到一个奇怪的错误:

Python[367] (FSEvents.framework) implementation_callback_rpc: ERROR: CFDictionaryGetValue(FSEvents_streamDict, cfPortNumber) => NULL

我四处搜索,但我找不到这个错误的含义。有什么想法吗?

编辑:

这是错误所在的代码,但似乎更常见的是:

#Go to next page
next_button[0].click()
# Wait until next page has loaded
WebDriverWait(driver,20).until(
        EC.text_to_be_present_in_element_value(
        (By.ID,"MainContent_GridView1_PageCurrent"),`page_count+1`)
)

以下是完整的错误消息:

2015-01-13 18:21 Python[510] (FSEvents.framework) implementation_callback_rpc: ERROR: CFDictionaryGetValue(FSEvents_streamDict, cfPortNumber) => NULL
2015-01-13 18:28 Python[510] (FSEvents.framework) implementation_callback_rpc: ERROR: CFDictionaryGetValue(FSEvents_streamDict, cfPortNumber) => NULL
2015-01-13 18:36 Python[510] (FSEvents.framework) implementation_callback_rpc: ERROR: CFDictionaryGetValue(FSEvents_streamDict, cfPortNumber) => NULL
Traceback (most recent call last):
  File "epa_interns.py", line 145, in <module>
    print(main_process(44))
  File "epa_interns.py", line 36, in main_process
    PDF_count = download_pdfs_for_state(driver,state_number,download_folder)
  File "epa_interns.py", line 72, in download_pdfs_for_state
    (By.ID,"MainContent_GridView1_PageCurrent"),`page_count+1`
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium/webdriver/support/wait.py", line 71, in until
    raise TimeoutException(message)
selenium.common.exceptions.TimeoutException: Message:

0 个答案:

没有答案