Skip to content

Instantly share code, notes, and snippets.

View jcoyne's full-sized avatar

Justin Coyne jcoyne

  • Stanford University Libraries
  • Minneapolis, MN
View GitHub Profile
{"@context":"http://iiif.io/api/presentation/2/context.json","@id":"http://localhost:3001/concern/generic_works/1v53jx222/manifest","@type":"sc:Manifest","label":"New title","viewingHint":"individuals","sequences":[{"@id":"http://localhost:3001/concern/generic_works/1v53jx222/manifest/sequence/normal","@type":"sc:Sequence","canvases":[{"@id":"http://localhost:3001/concern/generic_works/1v53jx222/manifest/canvas/9p290952r","@type":"sc:Canvas","label":"1.5mb-avatar.jpg","width":640,"height":480,"images":[{"@type":"oa:Annotation","motivation":"sc:painting","resource":{"@id":"http://localhost:3001/images/9p290952r%2Ffiles%2F97ef2a25-6df7-4006-a62a-03dd616117b1/full/600,/0/default.jpg","@type":"dctypes:Image","height":480,"width":640,"service":{"@context":"http://iiif.io/api/image/2/context.json","@id":"http://localhost:3001/images/9p290952r%2Ffiles%2F97ef2a25-6df7-4006-a62a-03dd616117b1","profile":"http://iiif.io/api/image/2/level2.json"}},"on":"http://localhost:3001/concern/generic_works/1v53jx222/manifest/canva
{"@context":"http://iiif.io/api/presentation/2/context.json","@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest","@type":"sc:Manifest","label":"A title","viewingHint":"individuals","sequences":[{"@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest/sequence/normal","@type":"sc:Sequence","canvases":[{"@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest/canvas/rv042t299","@type":"sc:Canvas","label":"image.jpg","width":640,"height":480,"images":[{"@type":"oa:Annotation","motivation":"sc:painting","resource":{"@id":"http://localhost:3001/images/rv042t299%2Ffiles%2F6d71677a-4f80-42f1-ae58-ed1063fd79c7/full/600,/0/default.jpg","@type":"dctypes:Image","height":480,"width":640,"service":{"@context":"http://iiif.io/api/image/2/context.json","@id":"http://localhost:3001/images/rv042t299%2Ffiles%2F6d71677a-4f80-42f1-ae58-ed1063fd79c7","profile":"http://iiif.io/api/image/2/level2.json"}},"on":"http://localhost:3001/concern/generic_works/n009w2500/manifest/canvas/rv042t2
{"@context":"http://iiif.io/api/presentation/2/context.json","@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest","@type":"sc:Manifest","label":"A title","viewingHint":"individuals","sequences":[{"@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest/sequence/normal","@type":"sc:Sequence","canvases":[{"@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest/canvas/rv042t299","@type":"sc:Canvas","label":"image.jpg","width":640,"height":480,"images":[{"@type":"oa:Annotation","motivation":"sc:painting","resource":{"@id":"http://localhost:3001/images/rv042t299%2Ffiles%2F6d71677a-4f80-42f1-ae58-ed1063fd79c7/full/600,/0/default.jpg","@type":"dctypes:Image","height":480,"width":640,"service":{"@context":"http://iiif.io/api/image/2/context.json","@id":"http://localhost:3001/images/rv042t299%2Ffiles%2F6d71677a-4f80-42f1-ae58-ed1063fd79c7/info.json"}},"on":"http://localhost:3001/concern/generic_works/n009w2500/manifest/canvas/rv042t299"}]}]}]}
{"@context":"http://iiif.io/api/presentation/2/context.json","@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest","@type":"sc:Manifest","label":"A title","viewingHint":"individuals","sequences":[{"@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest/sequence/normal","@type":"sc:Sequence","canvases":[{"@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest/canvas/rv042t299","@type":"sc:Canvas","label":"image.jpg","width":640,"height":480,"images":[{"@type":"oa:Annotation","motivation":"sc:painting","resource":{"@id":"http://localhost:3001/images/rv042t299%2Ffiles%2F6d71677a-4f80-42f1-ae58-ed1063fd79c7/info.json","@type":"dctypes:Image","height":480,"width":640,"service":{"@context":"http://iiif.io/api/image/2/context.json","@id":"http://localhost:3001/images/rv042t299%2Ffiles%2F6d71677a-4f80-42f1-ae58-ed1063fd79c7/info.json"}},"on":"http://localhost:3001/concern/generic_works/n009w2500/manifest/canvas/rv042t299"}]}]}]}
{"@context":"http://iiif.io/api/presentation/2/context.json","@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest","@type":"sc:Manifest","label":"A title","viewingHint":"individuals","sequences":[{"@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest/sequence/normal","@type":"sc:Sequence","canvases":[{"@id":"http://localhost:3001/concern/generic_works/n009w2500/manifest/canvas/rv042t299","@type":"sc:Canvas","label":"image.jpg","width":640,"height":480,"images":[{"@type":"oa:Annotation","motivation":"sc:painting","resource":{"@id":"http://localhost:3001/images/rv042t299%2Ffiles%2F6d71677a-4f80-42f1-ae58-ed1063fd79c7/info.json","@type":"dctypes:Image","height":480,"width":640},"on":"http://localhost:3001/concern/generic_works/n009w2500/manifest/canvas/rv042t299"}]}]}]}
ActiveFedora::Base.all
HTTP GET (2.84ms) http://127.0.0.1:8983/solr/hydra-development/select?wt=ruby&sort=system_create_dtsi+asc&fl=id&q=*:*&qt=standard&start=0&rows=1000
Response status Net::HTTPOK (200)
Response body {'responseHeader'=>{'zkConnected'=>true,'status'=>0,'QTime'=>0,'params'=>{'q'=>'*:*','qt'=>'standard','fl'=>'id','start'=>'0','sort'=>'system_create_dtsi asc','rows'=>'1000','wt'=>'ruby'}},'response'=>{'numFound'=>8,'start'=>0,'docs'=>[{'id'=>'v692t6634'},{'id'=>'1fd42549-ab94-4d17-ba67-76676598780f'},{'id'=>'v692t6634/members'},{'id'=>'3t945r21d'},{'id'=>'1581c666-f873-4383-8d16-3ff5ba1d66cf'},{'id'=>'v692t6634/members/5b12e971-088d-4659-a732-63d384c25e70'},{'id'=>'v692t6634/list_source'},{'id'=>'3t945r21d/files'}]}}
HTTP HEAD (9.13ms) http://127.0.0.1:8984/rest/dev
Response status Net::HTTPOK (200)
Attempted to init base path `dev`, but it already exists
HTTP HEAD (5.88ms) http://127.0.0.1:8984/rest/dev/v6/92/t6/63/v692t6634
Failed to execute solr zk:
Connecting to ZooKeeper at 127.0.0.1:9985 ...
WARN - 2016-04-25 15:23:44.996; org.apache.zookeeper.ClientCnxn$SendThread; Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
WARN - 2016-04-25 15:23:46.106; org.apache.zookeeper.ClientCnxn$SendThread; Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
NoMethodError - undefined method `rdf_subject' for nil:NilClass:
hydra-access-controls (9.9.0) app/models/hydra/access_controls/permission.rb:54:in `parsed_agent'
hydra-access-controls (9.9.0) app/models/hydra/access_controls/permission.rb:40:in `agent_name'
/Users/jcoyne/workspace/sufia/app/views/curation_concerns/base/_form_share.html.erb:24:in `block in ___sers_jcoyne_workspace_sufia_app_views_curation_concerns_base__form_share_html_erb___3174520985519893788_70232346450340'
generate blacklight:marc:install
insert app/assets/stylesheets/blacklight.css.scss
/Users/justin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:in `binread': No such file or directory @ rb_sysopen - /Users/justin/workspace/blacklight/.internal_test_app/app/assets/stylesheets/blacklight.css.scss (Errno::ENOENT)
from /Users/justin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:in `replace!'
from /Users/justin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:59:in `invoke!'
from /Users/justin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/actions.rb:94:in `action'
from /Users/justin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:30:in `insert_into_file'
from /Users/justin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/blacklight-marc-6.0.0/lib/generators/blacklight/marc/install_
/home/travis/build/projecthydra-labs/curation_concerns/vendor/bundle/ruby/2.2.0/gems/activefedora-aggregation-0.8.1/lib/active_fedora/orders/aggregation_builder.rb:3:in `<class:AggregationBuilder>': undefined method `valid_options=' for ActiveFedora::Orders::AggregationBuilder:Class (NoMethodError)
from /home/travis/build/projecthydra-labs/curation_concerns/vendor/bundle/ruby/2.2.0/gems/activefedora-aggregation-0.8.1/lib/active_fedora/orders/aggregation_builder.rb:2:in `<module:Orders>'
from /home/travis/build/projecthydra-labs/curation_concerns/vendor/bundle/ruby/2.2.0/gems/activefedora-aggregation-0.8.1/lib/active_fedora/orders/aggregation_builder.rb:1:in `<top (required)>'
from /home/travis/build/projecthydra-labs/curation_concerns/vendor/bundle/ruby/2.2.0/gems/activefedora-aggregation-0.8.1/lib/active_fedora/aggregation/base_extension.rb:68:in `ordered_aggregation'
from /home/travis/build/projecthydra-labs/curation_concerns/vendor/bundle/ruby/2.2.0/gems/hydra-pcdm-0.4.0/lib/hydra/pcdm/models/conce