jeremyw24 / charters_towers

Charters Towers Regional Council Development Applications


Contributors CloCkWeRX henare mlandauer

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.3.4 [1G-----> Installing dependencies using bundler 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.16.6). 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 Using bundler 1.15.2 [1G Fetching connection_pool 2.2.2 [1G Fetching unf_ext 0.0.7.6 [1G Fetching httpclient 2.8.3 [1G Installing connection_pool 2.2.2 [1G Fetching mime-types-data 3.2019.0331 [1G Installing httpclient 2.8.3 [1G Installing unf_ext 0.0.7.6 with native extensions [1G Installing mime-types-data 3.2019.0331 [1G Fetching net-http-digest_auth 1.4.1 [1G Fetching mini_portile2 2.4.0 [1G Installing mini_portile2 2.4.0 [1G Fetching ntlm-http 0.1.1 [1G Installing net-http-digest_auth 1.4.1 [1G Installing ntlm-http 0.1.1 [1G Fetching webrobots 0.1.2 [1G Fetching sqlite3 1.4.1 [1G Installing webrobots 0.1.2 [1G Installing sqlite3 1.4.1 with native extensions [1G Fetching net-http-persistent 3.1.0 [1G Installing net-http-persistent 3.1.0 [1G Fetching mime-types 3.2.2 [1G Installing mime-types 3.2.2 [1G Fetching nokogiri 1.10.3 [1G Installing nokogiri 1.10.3 with native extensions [1G Fetching unf 0.1.4 [1G Installing unf 0.1.4 [1G Fetching domain_name 0.5.20190701 [1G Installing domain_name 0.5.20190701 [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.6 [1G Installing mechanize 2.7.6 [1G Bundle complete! 2 Gemfile dependencies, 19 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 (27.28s) [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.16.6). 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... Saving record MC17/10, 20 Vulture Street, Charters Towers City    Qld    4820 , QLD /app/vendor/bundle/ruby/2.3.0/gems/sqlite_magic-0.0.6/lib/sqlite_magic.rb:100:in `block in save_data': Data has nil value for unique key. Unique keys are [:council_reference]. Offending data: {"council_reference"=>"MC17/10", "date_received"=>"2017-01-27", "description"=>" Material Change of Use Home Occupation (Massage Therapy) ", "address"=>" 20 Vulture Street, Charters Towers City    Qld    4820 , QLD", "info_url"=>"http://www.charterstowers.qld.gov.au/recently-submitted-applications", "comment_url"=>"mailto:mail@charterstowers.qld.gov.au", "date_scraped"=>"2019-08-11"} (SqliteMagic::DatabaseError) from /app/vendor/bundle/ruby/2.3.0/gems/sqlite_magic-0.0.6/lib/sqlite_magic.rb:97:in `each' from /app/vendor/bundle/ruby/2.3.0/gems/sqlite_magic-0.0.6/lib/sqlite_magic.rb:97:in `save_data' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraperwiki-ruby-fc5017681250/lib/scraperwiki.rb:89:in `save_sqlite' from scraper.rb:31:in `block in <main>' from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.10.3/lib/nokogiri/xml/node_set.rb:238:in `block in each' from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.10.3/lib/nokogiri/xml/node_set.rb:237:in `upto' from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.10.3/lib/nokogiri/xml/node_set.rb:237:in `each' from scraper.rb:12:in `each_with_index' from scraper.rb:12:in `<main>'

Statistics

Total run time: 1 minute

Total cpu time used: less than 5 seconds

Total disk space used: 25.6 KB

History

  • Manually ran revision 0fb34f9b and failed .
    nothing changed in the database
  • Manually ran revision 3c31f9a3 and failed .
  • Created on morph.io

Scraper code

charters_towers