Skip to content
rkiddy edited this page Sep 27, 2011 · 2 revisions

Status: a BeautifulSoup scraper exists, some work will be needed to get it running again

Traceback (most recent call last):

  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/billy-scrape", line 8, in <module>
    load_entry_point('billy==0.9.2', 'console_scripts', 'billy-scrape')()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/billy/bin/scrape.py", line 216, in main
    _run_scraper('bills', args, metadata)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/billy/bin/scrape.py", line 94, in _run_scraper
    scraper.scrape(chamber, time)
  File "/Users/ray/Projects/openstates/openstates/il/bills.py", line 84, in scrape
    bill_url)
  File "/Users/ray/Projects/openstates/openstates/il/bills.py", line 130, in scrape_bill
    self.scrape_votes(bill, votes_url)
  File "/Users/ray/Projects/openstates/openstates/il/bills.py", line 186, in scrape_votes
    pdflines = convert_pdf(fname, 'text').splitlines()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/billy/scrape/utils.py", line 13, in convert_pdf
    ' '.join(commands[type]))

EnvironmentError: error running pdftotext -layout /var/folders/+s/+s-pZONNFjiBoQKQ5990mk+++TI/-Tmp-/tmpCs1Vae -, missing executable?

Clone this wiki locally