Skip to content

Instantly share code, notes, and snippets.

View atz's full-sized avatar
:octocat:

Joe Atzberger atz

:octocat:
  • Corelight
  • Columbus, OH
View GitHub Profile
CurationConcerns::FileSetsController update with two existing versions from different users restoring a previous version as a user without edit access is unauthorized
Failure/Error: actor2.create_content(fixture_file_upload(file2))
Ldp::HttpError:
STATUS: 500 java.util.NoSuchElementException
at com.google.common.collect.Iterators$1.next(Iterators.java:80)
at org.fcrepo.kernel.modeshape.rdf.impl.mappings.PropertyValueIterator.computeNext(PropertyValueIterator.java:68)
at org.fcrepo.kernel.modeshape.rdf.impl.mappings.PropertyValueIterator.computeNext(PropertyValueIterator.java:35)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
@atz
atz / bash_output.txt
Last active May 17, 2016 02:18
local bundler alias messing w/ my files...
m2dl-atz-01-mbpx:hybox atz$ git checkout -- Gemfile.lock
m2dl-atz-01-mbpx:hybox atz$ git st
On branch master
Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit, working directory clean
m2dl-atz-01-mbpx:hybox atz$ git st
On branch master
Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
@atz
atz / output.txt
Created March 31, 2016 20:00
Sufia: rake ci failures
[main] INFO org.eclipse.jetty.util.log - Logging initialized @832ms
[main] INFO org.simplericity.jettyconsole.DefaultJettyManager - Added web application on path / from war /private/var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/fcrepo-webapp-4.5.0-jetty-console/fcrepo-webapp-4.5.0-jetty-console.jar
[main] INFO org.simplericity.jettyconsole.DefaultJettyManager - Starting web application on port 52347
[main] INFO org.eclipse.jetty.server.Server - jetty-9.2.3.v20140905
[main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
[main] INFO / - Spring WebApplicationInitializers detected on classpath: [org.glassfish.jersey.server.spring.SpringWebApplicationInitializer@101df177]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/private/var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/fcrepo-webapp-4.5.0-jetty-console.jar_52347/webapp/WEB-INF/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerB
@atz
atz / Gemfile.lock
Created March 28, 2016 23:03
.internal_test_app
PATH
remote: /Users/atz/repos/hydra-editor
specs:
hydra-editor (1.2.0)
active-fedora (>= 9.0.0)
cancancan (~> 1.8)
rails (~> 4.1)
simple_form (~> 3.1.0)
GEM
@atz
atz / output.txt
Created March 28, 2016 21:55
Engine cart generate errors in hydra-editor
Administrators-MacBook-Pro-9:hydra-editor atz$ rake engine_cart:clean
Removing sample rails app
Administrators-MacBook-Pro-9:hydra-editor atz$ rm Gemfile.lock
Administrators-MacBook-Pro-9:hydra-editor atz$ bundle
[EngineCart] Unable to find test application dependencies in /Users/atz/repos/hydra-editor/.internal_test_app/Gemfile, using placeholder dependencies
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...................................
Using rake 11.1.2
@atz
atz / formatted_slightly.rb
Last active February 23, 2016 02:03
raw solr response as copied from pry
{
'responseHeader' => {
'status' => 0,
'QTime' => 6,
'params' => {
'f.tag_ssim.facet.sort' => 'index',
'f.sw_subject_temporal_ssim.facet.limit' => '11',
'f.nonhydrus_collection_title_ssim.facet.sort' => 'index',
'f.wf_swp_ssim.facet.limit' => '10000',
'f.hydrus_apo_title_ssim.facet.sort' => 'index',
@atz
atz / gist:dc7db6594e0fa907c074
Created February 18, 2016 22:53
rspec errors
1) Bulk jobs view the submit button exists
Failure/Error: visit bulk_jobs_index_path('druid:hv992ry2431')
Capybara::Poltergeist::JavascriptError:
One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).
TypeError: 'undefined' is not an object (evaluating 'b.browser.msie')
TypeError: 'undefined' is not an object (evaluating 'b.browser.msie')
at http://127.0.0.1:49554/assets/application-86b0b4c2ae963b7e1c111e47da9d7437.js:12902
at http://127.0.0.1:49554/assets/application-86b0b4c2ae963b7e1c111e47da9d7437.js:12903
@atz
atz / routes.txt
Created July 10, 2015 22:01
hydrus collection routes
open_collection POST /collections/open/:id(.:format) hydrus_collections#open
close_collection POST /collections/close/:id(.:format) hydrus_collections#close
list_all GET /collections/list_all(.:format) hydrus_collections#list_all
discard_collection_confirmation GET /collections/discard_confirmation/:id(.:format) hydrus_collections#discard_confirmation
hydrus_collection_events GET /collections/:hydrus_collection_id/events(.:format) events#index
hydrus_collection_datastreams GET /collections/:hydrus_collection_id/datastreams(.:format) datastreams#index
hydrus_collection_items GET /collections/:hydrus_collection_id/items(.:format) hydrus_items#index
hydrus_collections GET /collections(.:format) hydrus_collection
@atz
atz / start.ini
Created May 20, 2015 18:51
Jetty start.ini file, modified for log4j and java options
#===========================================================
# Jetty start.jar arguments
# Each line of this file is prepended to the command line
# arguments # of a call to:
# java -jar start.jar [arg...]
#===========================================================
#===========================================================
@atz
atz / output.txt
Created April 24, 2015 21:33
bundle install error
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/atz/.rvm/rubies/ruby-1.9.3-p547/bin/ruby extconf.rb
checking for main() in -lstdc++... yes
creating Makefile
make clean
make
compiling unf.cc