This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[13:34:34.753] Started GET "/" for 130.132.80.210 at 2016-04-18 13:34:34 -0400 | |
[13:34:34.753] Processing by CatalogController#index as HTML | |
[13:34:34.753] CLIENT IP 130.132.80.210, CHECK NEEDED? true | |
[13:34:34.753] CLIENT IP MATCHES - ALLOW | |
[13:34:34.753] In set_session... | |
[13:34:34.753] client_ip:130.132.80.210 | |
[13:34:34.753] Session guestuser: | |
[13:34:34.753] (62.0ms) SELECT COUNT(*) FROM `guest_users` WHERE `guest_users`.`email` = '' | |
[13:34:34.753] Create guest session: [email protected] 1CLRQ9944lYkbh_LpVknoxkW-P4 130.132.80.210 | |
[13:34:34.753] (0.1ms) BEGIN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ermadmix@libdev search-frontend]$ xvfb-run -a bundle exec rspec | |
Warning: NLS_LANG is not set. fallback to US7ASCII. | |
Run options: include {:focus=>true} | |
All examples were filtered out; ignoring {:focus=>true} | |
.DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:haml] instead. (called from block in render_with_haml at /usr/local/rvm/gems/ruby-1.9.3-p448@search-frontend-ermadmix/gems/haml-4.0.2/lib/haml/helpers/action_view_mods.rb:10) | |
FDEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:haml] instead. (called from block in render_with_haml at /usr/local/rvm/gems/ruby-1.9.3-p448@search-frontend-ermadmix/gems/haml-4.0.2/lib/haml/helpers/action_view_mods.rb:10) | |
.DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:ha |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here's a good primer: | |
http://everydayrails.com/2012/03/12/testing-series-intro.html | |
Here's a good general reference: | |
https://www.relishapp.com/rspec/rspec-rails/v/2-13/docs | |
Test driven development | |
In Gemfile: gem capybara-webkit | |
bundle install | |
Tests not using capybara: bundle exec rspec spec/models/user_spec.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ermadmix@libdev search-frontend]$ rspec | |
Warning: NLS_LANG is not set. fallback to US7ASCII. | |
Run options: include {:focus=>true} | |
All examples were filtered out; ignoring {:focus=>true} | |
.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF....F..F*F..*FF..F......F....................... | |
Pending: | |
Spectrum::Engines::Solr searches for "New Yorker" in Journals should find "The New Yorker" as the first result | |
# revamp to how stopwords and/or phrases are handled |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] Fedora Commons 4 :: Parent POM | |
[INFO] Fedora Commons 4 | |
[INFO] Fedora Repository BOM | |
[INFO] Fedora Repository JCR BOM | |
[INFO] Fedora Repository BOMs | |
[INFO] Fedora Repository Kernel API |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ermadmix@libdev search-frontend]$ rake db:migrate | |
Warning: NLS_LANG is not set. fallback to US7ASCII. | |
== UndoServices: migrating =================================================== | |
-- add_column(:services, :uid, :string) | |
-> 0.0030s | |
-- remove_column(:services, :subject_id, :string) | |
-> 0.4165s | |
-- remove_column(:services, :preferred_username, :string) | |
-> 0.0367s | |
== UndoServices: migrated (0.4571s) ========================================== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout extract-metadata2 | |
git reset --hard HEAD^ | |
git checkout master | |
git pull <upstream> master | |
git checkout extract-metadata2 | |
git rebase master | |
<fix conflicts> if any | |
git push --force <origin> | |
where |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ermadmix@libdev4 geo_concerns]$ RUN_AT_EXIT_HOOKS=true TERM_CHILD=1 QUEUE=* rake environment resque:work | |
rake aborted! | |
NameError: uninitialized constant CurationConcerns::GenericFileBehavior | |
/home/ermadmix/geo_concerns/geo_concerns/app/models/concerns/external_metadata_file_behavior.rb:5:in `<module:ExternalMetadataFileBehavior>' | |
/home/ermadmix/geo_concerns/geo_concerns/app/models/concerns/external_metadata_file_behavior.rb:2:in `<top (required)>' | |
/usr/local/rvm/gems/ruby-2.2.1@pcdm-geo-models/gems/railties-4.2.3/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!' | |
/usr/local/rvm/gems/ruby-2.2.1@pcdm-geo-models/gems/railties-4.2.3/lib/rails/engine.rb:471:in `each' | |
/usr/local/rvm/gems/ruby-2.2.1@pcdm-geo-models/gems/railties-4.2.3/lib/rails/engine.rb:471:in `block in eager_load!' | |
/usr/local/rvm/gems/ruby-2.2.1@pcdm-geo-models/gems/railties-4.2.3/lib/rails/engine.rb:469:in `each' | |
/usr/local/rvm/gems/ruby-2.2.1@pcdm-geo-models/gems/railties-4.2.3/lib/rails/engine.rb:469:in `eager_load!' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started GET "/users/auth/sso/callback?code=b407a47b786b02747f8cfad08cb87d8f&session_state=3iuCC0yr7yfq4UAPgCINNZu0vMHJD-KZ4GHLTCO8P0Y.6dc1802c68615bbf965506b4dce83d65" for 130.132.80.210 at 2015-10-29 10:47:23 -0400 | |
Cannot render console from 130.132.80.210! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255 | |
I, [2015-10-29T10:47:23.152827 #31434] INFO -- omniauth: (sso) Callback phase initiated. | |
AbstractController::ActionNotFound (The action 'sso' could not be found for Devise::OmniauthCallbacksController): | |
actionpack (4.2.3) lib/abstract_controller/base.rb:132:in `process' | |
actionview (4.2.3) lib/action_view/rendering.rb:30:in `process' | |
actionpack (4.2.3) lib/action_controller/metal.rb:196:in `dispatch' | |
actionpack (4.2.3) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' | |
actionpack (4.2.3) lib/action_controller/metal.rb:237:in `block in action' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5305:E, [2015-10-15T17:25:24.877999 #12914] ERROR -- : GenericFilesController::create rescued Ldp::BadRequest | |
5585:E, [2015-10-15T17:25:48.683189 #13223] ERROR -- : Error extracting content from 8623hx72q: #<Net::HTTPBadResponse: wrong status line: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">"> | |
[ermadmix@scholarsphere1 log]$ more +5305 production.log | |
E, [2015-10-15T17:25:24.877999 #12914] ERROR -- : GenericFilesController::create rescued Ldp::BadRequest | |
87a0a8c317f1e7mode:namespaces-info:fedora/fedora-system:def/model# | |
/usr/local/rvm/gems/ruby-2.2.0@sufia/gems/ldp-0.4.1/lib/ldp/client/methods.rb:121:in `block in check_for_errors' | |
/usr/local/rvm/gems/ruby-2.2.0@sufia/gems/ldp-0.4.1/lib/ldp/client/methods.rb:119:in `tap' | |
/usr/local/rvm/gems/ruby-2.2.0@sufia/gems/ldp-0.4.1/lib/ldp/client/methods.rb:119:in `check_for_errors' | |
/usr/local/rvm/gems/ruby-2.2.0@sufia/gems/ldp-0.4.1/lib/ldp/client/methods.rb:98:in `block in put' | |
/usr/local/rvm/gems/ruby-2.2.0@sufia/gems/activesupport-4.2.3/lib/active_s |