mehscrewit / Hunters_Hill_NSW_DA

Municipality of Hunters Hill Development Applications


This is a scraper that runs on Morph. To get started see the documentation

Contributors mehscrewit

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.5.8 [1G-----> Installing dependencies using bundler version 1.15.2 [1G Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment [1G Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. [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 Fetching unf_ext 0.0.7.3 [1G Using bundler 1.15.2 [1G Fetching httpclient 2.8.3 [1G Fetching mime-types-data 3.2016.0521 [1G Installing mime-types-data 3.2016.0521 [1G Installing httpclient 2.8.3 [1G Installing unf_ext 0.0.7.3 with native extensions [1G Fetching net-http-digest_auth 1.4.1 [1G Fetching net-http-persistent 2.9.4 [1G Installing net-http-digest_auth 1.4.1 [1G Fetching mini_portile2 2.1.0 [1G Installing net-http-persistent 2.9.4 [1G Installing mini_portile2 2.1.0 [1G Fetching ntlm-http 0.1.1 [1G Installing ntlm-http 0.1.1 [1G Fetching webrobots 0.1.2 [1G Fetching sqlite3 1.3.13 [1G Installing webrobots 0.1.2 [1G Installing sqlite3 1.3.13 with native extensions [1G Fetching mime-types 3.1 [1G Installing mime-types 3.1 [1G Fetching nokogiri 1.6.8.1 [1G Installing nokogiri 1.6.8.1 with native extensions [1G Fetching unf 0.1.4 [1G Installing unf 0.1.4 [1G Fetching domain_name 0.5.20170404 [1G Installing domain_name 0.5.20170404 [1G Fetching http-cookie 1.0.3 [1G Installing http-cookie 1.0.3 [1G Fetching sqlite_magic 0.0.6 [1G Installing sqlite_magic 0.0.6 [1G Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176) [1G Fetching mechanize 2.7.5 [1G Installing mechanize 2.7.5 [1G Bundle complete! 2 Gemfile dependencies, 18 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 (13.91s) [1G Cleaning up the bundler cache. [1G Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. [1G-----> Detecting rake tasks [1G [1G [1G-----> Discovering process types [1G Procfile declares types -> scraper Injecting scraper and running... /app/vendor/ruby-2.5.8/lib/ruby/2.5.0/net/http.rb:939:in `rescue in block in connect': Failed to open TCP connection to eplanning.huntershill.nsw.gov.au.gov.au:443 (getaddrinfo: Name or service not known) (SocketError) from /app/vendor/ruby-2.5.8/lib/ruby/2.5.0/net/http.rb:936:in `block in connect' from /app/vendor/ruby-2.5.8/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout' from /app/vendor/ruby-2.5.8/lib/ruby/2.5.0/timeout.rb:103:in `timeout' from /app/vendor/ruby-2.5.8/lib/ruby/2.5.0/net/http.rb:935:in `connect' from /app/vendor/ruby-2.5.8/lib/ruby/2.5.0/net/http.rb:920:in `do_start' from /app/vendor/ruby-2.5.8/lib/ruby/2.5.0/net/http.rb:915:in `start' from /app/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:700:in `start' from /app/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:631:in `connection_for' from /app/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:994:in `request' from /app/vendor/bundle/ruby/2.5.0/gems/mechanize-2.7.5/lib/mechanize/http/agent.rb:274:in `fetch' from /app/vendor/bundle/ruby/2.5.0/gems/mechanize-2.7.5/lib/mechanize.rb:562:in `request_with_entity' from /app/vendor/bundle/ruby/2.5.0/gems/mechanize-2.7.5/lib/mechanize.rb:511:in `post' from scraper.rb:8:in `scrape_api' from scraper.rb:43:in `block in scrape_api_with_paging' from scraper.rb:42:in `loop' from scraper.rb:42:in `scrape_api_with_paging' from scraper.rb:53:in `<main>'

Statistics

Total run time: 9 minutes

Total cpu time used: less than 5 seconds

Total disk space used: 29 KB

History

  • Manually ran revision cc117717 and failed .
  • Manually ran revision fc3bab7d and failed .
  • Manually ran revision 383aa9af and failed .
  • Manually ran revision c4a39b79 and failed .
  • Manually ran revision aef761d9 and failed .
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

Hunters_Hill_NSW_DA / scraper.rb