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

Contributors lissteilor rezzo damian-garrido

Last run failed with status code 255.

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.0.0 -----> Installing dependencies using bundler 1.15.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment --- ERROR REPORT TEMPLATE -------------------------------------------------------  # Error Report  ## Questions  Please fill out answers to these questions, it'll help us figure out  why things are going wrong.  - **What did you do?**  I ran the command `vendor/bundle/ruby/2.0.0/bin/bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment --no-clean`  - **What did you expect to happen?**  I expected Bundler to...  - **What happened instead?**  Instead, what happened was...  - **Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?**  I tried...  - **Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?**  ...  ## Backtrace  ```  Zlib::GzipFile::Error: not in gzip format  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client/updater.rb:55:in `initialize'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client/updater.rb:55:in `new'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client/updater.rb:55:in `block in update'  /tmp/build/vendor/ruby-2.0.0/lib/ruby/2.0.0/tmpdir.rb:88:in `mktmpdir'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client/updater.rb:30:in `update'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client.rb:81:in `update'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client.rb:68:in `update_and_parse_checksums!'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/fetcher/compact_index.rb:68:in `available?'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/fetcher/compact_index.rb:15:in `call'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/fetcher/compact_index.rb:15:in `block in compact_index_request'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/fetcher.rb:157:in `use_api'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:343:in `block in api_fetchers'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:343:in `select'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:343:in `api_fetchers'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:348:in `block in remote_specs'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/index.rb:10:in `build'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:347:in `remote_specs'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:82:in `specs'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/lazy_specification.rb:75:in `__materialize__'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:84:in `block in materialize'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:in `map!'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:in `materialize'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/definition.rb:159:in `specs'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/definition.rb:147:in `resolve_remotely!'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/installer.rb:226:in `resolve_if_need'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/installer.rb:78:in `run'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/installer.rb:24:in `install'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/cli/install.rb:68:in `run'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/cli.rb:186:in `block in install'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/settings.rb:92:in `temporary'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/cli.rb:185:in `install'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>'  vendor/bundle/ruby/2.0.0/bin/bundle:22:in `load'  vendor/bundle/ruby/2.0.0/bin/bundle:22:in `<main>'  ```  ## Environment  ```  Bundler 1.15.2  Rubygems 2.0.14.1  Ruby 2.0.0p648 (2015-12-16 revision 53162) [x86_64-linux]  GEM_HOME /tmp/build/vendor/bundle/ruby/2.0.0  GEM_PATH  Git 1.9.1  Platform x86_64-linux  OpenSSL OpenSSL 1.0.1f 6 Jan 2014  ```  ## Bundler settings  ```  frozen  Set for your local app (/tmp/build/.bundle/config): true  path  Set for your local app (/tmp/build/.bundle/config): "vendor/bundle"  bin  Set for your local app (/tmp/build/.bundle/config): "vendor/bundle/bin"  jobs  Set for your local app (/tmp/build/.bundle/config): 4  without  Set for your local app (/tmp/build/.bundle/config): "development:test"  disable_shared_gems  Set for your local app (/tmp/build/.bundle/config): true  gemfile  Set via BUNDLE_GEMFILE: "/tmp/build/Gemfile"  config  Set via BUNDLE_CONFIG: "/tmp/build/.bundle/config"  ```  ## Gemfile  ### Gemfile  ```ruby  # It's easy to add more libraries or choose different versions. Any libraries  # specified here will be installed and made available to your morph.io scraper.  # Find out more: https://morph.io/documentation/ruby  source "https://rubygems.org"  ruby "2.0.0"  gem "scraperwiki", git: "https://github.com/openaustralia/scraperwiki-ruby.git", branch: "morph_defaults"  gem "mechanize"  ```  ### Gemfile.lock  ```  GIT  remote: https://github.com/openaustralia/scraperwiki-ruby.git  revision: fc50176812505e463077d5c673d504a6a234aa78  branch: morph_defaults  specs:  scraperwiki (3.0.1)  httpclient  sqlite_magic  GEM  remote: https://rubygems.org/  specs:  domain_name (0.5.24)  unf (>= 0.0.5, < 1.0.0)  http-cookie (1.0.2)  domain_name (~> 0.5)  httpclient (2.6.0.1)  mechanize (2.7.3)  domain_name (~> 0.5, >= 0.5.1)  http-cookie (~> 1.0)  mime-types (~> 2.0)  net-http-digest_auth (~> 1.1, >= 1.1.1)  net-http-persistent (~> 2.5, >= 2.5.2)  nokogiri (~> 1.4)  ntlm-http (~> 0.1, >= 0.1.1)  webrobots (>= 0.0.9, < 0.2)  mime-types (2.5)  mini_portile (0.6.2)  net-http-digest_auth (1.4)  net-http-persistent (2.9.4)  nokogiri (1.6.6.2)  mini_portile (~> 0.6.0)  ntlm-http (0.1.1)  sqlite3 (1.3.10)  sqlite_magic (0.0.3)  sqlite3  unf (0.1.4)  unf_ext  unf_ext (0.0.7.1)  webrobots (0.1.1)  PLATFORMS  ruby  DEPENDENCIES  mechanize  scraperwiki!  ``` --- TEMPLATE END ----------------------------------------------------------------  Unfortunately, an unexpected error occurred, and Bundler cannot continue.  First, try this link to see if there are any existing issue reports for this error:  https://github.com/bundler/bundler/search?q=not+in+gzip+format&type=Issues  If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:  https://github.com/bundler/bundler/issues/new  Bundler Output: --- ERROR REPORT TEMPLATE -------------------------------------------------------  # Error Report   ## Questions   Please fill out answers to these questions, it'll help us figure out  why things are going wrong.   - **What did you do?**   I ran the command `vendor/bundle/ruby/2.0.0/bin/bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment --no-clean`   - **What did you expect to happen?**   I expected Bundler to...   - **What happened instead?**   Instead, what happened was...   - **Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?**   I tried...   - **Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?**   ...   ## Backtrace   ```  Zlib::GzipFile::Error: not in gzip format  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client/updater.rb:55:in `initialize'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client/updater.rb:55:in `new'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client/updater.rb:55:in `block in update'  /tmp/build/vendor/ruby-2.0.0/lib/ruby/2.0.0/tmpdir.rb:88:in `mktmpdir'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client/updater.rb:30:in `update'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client.rb:81:in `update'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/compact_index_client.rb:68:in `update_and_parse_checksums!'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/fetcher/compact_index.rb:68:in `available?'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/fetcher/compact_index.rb:15:in `call'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/fetcher/compact_index.rb:15:in `block in compact_index_request'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/fetcher.rb:157:in `use_api'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:343:in `block in api_fetchers'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:343:in `select'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:343:in `api_fetchers'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:348:in `block in remote_specs'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/index.rb:10:in `build'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:347:in `remote_specs'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/source/rubygems.rb:82:in `specs'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/lazy_specification.rb:75:in `__materialize__'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:84:in `block in materialize'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:in `map!'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/spec_set.rb:81:in `materialize'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/definition.rb:159:in `specs'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/definition.rb:147:in `resolve_remotely!'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/installer.rb:226:in `resolve_if_need'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/installer.rb:78:in `run'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/installer.rb:24:in `install'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/cli/install.rb:68:in `run'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/cli.rb:186:in `block in install'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/settings.rb:92:in `temporary'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/cli.rb:185:in `install'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'  /tmp/build/vendor/bundle/ruby/2.0.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>'  vendor/bundle/ruby/2.0.0/bin/bundle:22:in `load'  vendor/bundle/ruby/2.0.0/bin/bundle:22:in `<main>'  ```   ## Environment   ```  Bundler 1.15.2  Rubygems 2.0.14.1  Ruby 2.0.0p648 (2015-12-16 revision 53162) [x86_64-linux]  GEM_HOME /tmp/build/vendor/bundle/ruby/2.0.0  GEM_PATH  Git 1.9.1  Platform x86_64-linux  OpenSSL OpenSSL 1.0.1f 6 Jan 2014  ```   ## Bundler settings   ```  frozen  Set for your local app (/tmp/build/.bundle/config): true  path  Set for your local app (/tmp/build/.bundle/config): "vendor/bundle"  bin  Set for your local app (/tmp/build/.bundle/config): "vendor/bundle/bin"  jobs  Set for your local app (/tmp/build/.bundle/config): 4  without  Set for your local app (/tmp/build/.bundle/config): "development:test"  disable_shared_gems  Set for your local app (/tmp/build/.bundle/config): true  gemfile  Set via BUNDLE_GEMFILE: "/tmp/build/Gemfile"  config  Set via BUNDLE_CONFIG: "/tmp/build/.bundle/config"  ```   ## Gemfile   ### Gemfile   ```ruby  # It's easy to add more libraries or choose different versions. Any libraries  # specified here will be installed and made available to your morph.io scraper.  # Find out more: https://morph.io/documentation/ruby   source "https://rubygems.org"   ruby "2.0.0"   gem "scraperwiki", git: "https://github.com/openaustralia/scraperwiki-ruby.git", branch: "morph_defaults"  gem "mechanize"  ```   ### Gemfile.lock   ```  GIT  remote: https://github.com/openaustralia/scraperwiki-ruby.git  revision: fc50176812505e463077d5c673d504a6a234aa78  branch: morph_defaults  specs:  scraperwiki (3.0.1)  httpclient  sqlite_magic   GEM  remote: https://rubygems.org/  specs:  domain_name (0.5.24)  unf (>= 0.0.5, < 1.0.0)  http-cookie (1.0.2)  domain_name (~> 0.5)  httpclient (2.6.0.1)  mechanize (2.7.3)  domain_name (~> 0.5, >= 0.5.1)  http-cookie (~> 1.0)  mime-types (~> 2.0)  net-http-digest_auth (~> 1.1, >= 1.1.1)  net-http-persistent (~> 2.5, >= 2.5.2)  nokogiri (~> 1.4)  ntlm-http (~> 0.1, >= 0.1.1)  webrobots (>= 0.0.9, < 0.2)  mime-types (2.5)  mini_portile (0.6.2)  net-http-digest_auth (1.4)  net-http-persistent (2.9.4)  nokogiri (1.6.6.2)  mini_portile (~> 0.6.0)  ntlm-http (0.1.1)  sqlite3 (1.3.10)  sqlite_magic (0.0.3)  sqlite3  unf (0.1.4)  unf_ext  unf_ext (0.0.7.1)  webrobots (0.1.1)   PLATFORMS  ruby   DEPENDENCIES  mechanize  scraperwiki!  ```  --- TEMPLATE END ----------------------------------------------------------------   Unfortunately, an unexpected error occurred, and Bundler cannot continue.   First, try this link to see if there are any existing issue reports for this error:  https://github.com/bundler/bundler/search?q=not+in+gzip+format&type=Issues   If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:  https://github.com/bundler/bundler/issues/new  !  ! Failed to install gems via Bundler.  !

Data

Downloaded 3964 times by jdgarrido lfalvarez MikeRalphson

To download data sign in with GitHub

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

rows 5 / 5

id macro_area mensaje total nota_promedio last_update
1
Prevención de la corrupción
20
3.1
2020-01-16
2
Regulación de conflictos de interés
49
4.4
2020-01-16
3
Confianza en los mercados
20 de noviembre
0
0
2020-01-16
4
Financiamiento de la política para fortalecer la democracia
20 de noviembre
0
0
2020-01-16
5
Integridad, ética y derechos humanos
20 de noviembre
0
0
2020-01-16

Statistics

Average successful run time: less than a minute

Total run time: about 18 hours

Total cpu time used: 19 minutes

Total disk space used: 27.2 KB

History

  • Auto ran revision b5734073 and failed .
    nothing changed in the database
  • Auto ran revision b5734073 and completed successfully .
    5 records added, 5 records removed in the database
  • Auto ran revision b5734073 and completed successfully .
    5 records added, 5 records removed in the database
  • Auto ran revision b5734073 and completed successfully .
    5 records added, 5 records removed in the database
  • Auto ran revision b5734073 and completed successfully .
    5 records added, 5 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

observatorio_totales / scraper.rb