tmtmtmtm / malawi_parliament

Parliament of Malawi MPs


Contributors tmtmtmtm

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... [1G [1G-----> Ruby app detected [1G-----> Compiling Ruby [1G-----> Using Ruby version: ruby-2.0.0 [1G-----> Installing dependencies using bundler 1.11.2 [1G Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment [1G Fetching gem metadata from https://rubygems.org/......... [1G Fetching version metadata from https://rubygems.org/.. [1G Fetching https://github.com/openaustralia/scraperwiki-ruby.git [1G Rubygems 2.0.14.1 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation. [1G Installing rake 10.4.2 [1G Installing coderay 1.1.0 [1G Installing colorize 0.7.7 [1G Installing httpclient 2.6.0.1 [1G Installing json 1.8.2 with native extensions [1G Installing method_source 0.8.2 [1G Installing mini_portile 0.6.2 [1G Installing open-uri-cached 0.0.5 [1G Installing slop 3.6.0 [1G Installing sqlite3 1.3.10 with native extensions [1G Using bundler 1.11.2 [1G Installing nokogiri 1.6.6.2 with native extensions [1G Installing pry 0.10.1 [1G Installing sqlite_magic 0.0.5 [1G Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176) [1G Bundle complete! 7 Gemfile dependencies, 15 gems now installed. [1G Gems in the groups development and test were not installed. [1G Bundled gems are installed into ./vendor/bundle. [1G Bundle completed (20.83s) [1G Cleaning up the bundler cache. [1G [1G [1G-----> Discovering process types [1G Procfile declares types -> scraper Injecting scraper and running... Getting http://www.parliament.gov.mw/mps.php?mode=alps /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:353:in `open_http': 404 Not Found (OpenURI::HTTPError) from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:709:in `buffer_open' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:210:in `block in open_loop' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:208:in `catch' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:208:in `open_loop' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:689:in `open' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:34:in `open' from scraper.rb:18:in `noko_for' from scraper.rb:27:in `scrape_list' from scraper.rb:70:in `<main>'

Data

Downloaded 1 time by bpmd90

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (3 KB) Use the API

rows 1 / 1

id name start_date
2014
2014
2014

Statistics

Total run time: 1 minute

Total cpu time used: less than 5 seconds

Total disk space used: 28.2 KB

History

  • Manually ran revision 1046c3c9 and failed .
    1 record added, 1 record removed in the database
  • Manually ran revision 1046c3c9 and failed .
    nothing changed in the database
  • Manually ran revision 30018317 and failed .
    1 record added, 1 record removed in the database
  • Manually ran revision 63875aed and failed .
    1 record added in the database
  • Created on morph.io

Scraper code

malawi_parliament