Advertisement
Guest User

Untitled

a guest
Jan 24th, 2020
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\phantomjs\webdriver.py:49: UserWarning: Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead
  2. warnings.warn('Selenium support for PhantomJS has been deprecated, please use headless '
  3. Getting CUSIP no. 1 out of 16 ("596017")
  4. Agreeing the terms of use - please wait...
  5. Done, now let's get back to the scraping process.
  6. Scraping page no. 1
  7. Scraping page no. 2
  8. Scraping issuer no. 1 (out of 19)
  9. Scraping Detail page no. 1
  10. Traceback (most recent call last):
  11. File "emma-scraper(17)(p).py", line 289, in <module>
  12. db2.extend(scrape_issuer_details(tree_inner))
  13. File "emma-scraper(17)(p).py", line 182, in scrape_issuer_details
  14. issue[col[0]] = get_img_text('temp.png', 'thresh')
  15. File "emma-scraper(17)(p).py", line 98, in get_img_text
  16. result = pytesseract.image_to_string(Image.open(scr_path + filename), config=custom_oem_psm_config, lang='eng')
  17. File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\pytesseract\pytesseract.py", line 193, in image_to_string
  18. return run_and_get_output(image, 'txt', lang, config, nice)
  19. File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\pytesseract\pytesseract.py", line 140, in run_and_get_output
  20. run_tesseract(**kwargs)
  21. File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\pytesseract\pytesseract.py", line 111, in run_tesseract
  22. proc = subprocess.Popen(command, stderr=subprocess.PIPE)
  23. File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 709, in __init__
  24. restore_signals, start_new_session)
  25. File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 997, in _execute_child
  26. startupinfo)
  27. FileNotFoundError: [WinError 2] The system cannot find the file specified
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement