Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am hackartisan on github.
  • I am hackartisan (https://keybase.io/hackartisan) on keybase.
  • I have a public key ASB3nK_ijXA4FKNNkSvMAjzdeMNvCixeDc4QlkYab-rD8go

To claim this, I am signing this object:

Rendered /home/ubuntu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sufia-7.3.0/app/views/sufia/admin/stats/show.html.erb within layouts/admin (1005625.0ms)
Completed 500 Internal Server Error in 1005633ms (ActiveRecord: 1.2ms)
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
6: <p><%= link_to "View top 5", sufia.admin_stats_path %> </p>
7: <% end %>
8:
9: <h3>Top File Formats (top <%= @presenter.top_formats.count %>)</h3>
10: <ul>
11: <% @presenter.top_formats.each do |fmt| %>
Uncaught ReferenceError: logger is not defined
at VisibilityComponent.limitByAdminSet (visibility_component.self-4a414b4….js?body=1:72)
at new VisibilityComponent (visibility_component.self-4a414b4….js?body=1:28)
at SaveWorkControl.activate (save_work_control.self-a1ff4c0….js?body=1:116)
at new SaveWorkControl (save_work_control.self-a1ff4c0….js?body=1:39)
at _default.saveWorkControl (editor.self-fe6fb91….js?body=1:57)
at new _default (editor.self-fe6fb91….js?body=1:26)
at Object.editor (app.self-712ccd0….js?body=1:45)
at Object.initialize (app.self-712ccd0….js?body=1:10)
at initialize.self-84d6810….js?body=1:2
ActiveRecord::RecordNotFound (Couldn't find Sipity::Workflow):
activerecord (5.0.2) lib/active_record/core.rb:212:in `find_by!'
/home/ubuntu/src/sufia/app/forms/sufia/forms/work_form.rb:51:in `sanitize_params'
hydra-editor (3.1.2) app/forms/hydra_editor/form.rb:59:in `model_attributes'
curation_concerns (1.7.6) app/controllers/concerns/curation_concerns/curation_concern_controller.rb:181:in `attributes_for_actor'
/home/ubuntu/src/sufia/app/controllers/concerns/sufia/works_controller_behavior.rb:37:in `attributes_for_actor'
curation_concerns (1.7.6) app/controllers/concerns/curation_concerns/curation_concern_controller.rb:47:in `create'
actionpack (5.0.2) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
actionpack (5.0.2) lib/abstract_controller/base.rb:188:in `process_action'
Uncaught TypeError: Cannot read property 'visibility' of undefined
at VisibilityComponent.restrictToVisibility (visibility_component.self-af0b91f….js?body=1:80)
at VisibilityComponent.limitByAdminSet (visibility_component.self-af0b91f….js?body=1:71)
at new VisibilityComponent (visibility_component.self-af0b91f….js?body=1:28)
at SaveWorkControl.activate (save_work_control.self-a1ff4c0….js?body=1:116)
at new SaveWorkControl (save_work_control.self-a1ff4c0….js?body=1:39)
at _default.saveWorkControl (editor.self-fe6fb91….js?body=1:57)
at new _default (editor.self-fe6fb91….js?body=1:26)
at Object.editor (app.self-712ccd0….js?body=1:45)
at Object.initialize (app.self-712ccd0….js?body=1:10)
Uncaught TypeError: Cannot read property 'sharing' of undefined
at _default.sharingTabVisiblity (editor.self-c7c07a3….js?body=1:48)
at _default.sharingTab (editor.self-c7c07a3….js?body=1:42)
at new _default (editor.self-c7c07a3….js?body=1:24)
at Object.editor (app.self-712ccd0….js?body=1:45)
at Object.initialize (app.self-712ccd0….js?body=1:10)
at initialize.self-84d6810….js?body=1:2
at Object.activate (core.self-e031fb8….js?body=1:10)
at HTMLDocument.<anonymous> (core.self-e031fb8….js?body=1:36)
at HTMLDocument.dispatch (jquery.self-bd7ddd3….js?body=1:5227)
almond.self-3921caa….js?body=1:407 Uncaught Error: See almond README: incorrect module build, no module namedefine @ almond.self-3921caa….js?body=1:407(anonymous function) @ jquery.fileupload-validate.self-950050c….js…:19(anonymous function) @ jquery.fileupload-validate.self-950050c….js…:32
uploader.self-3291746….js?body=1:144 Uncaught TypeError: $(...).fileupload is not a function(anonymous function) @ uploader.self-3291746….js?body=1:144each @ jquery.self-660adc5….js?body=1:371each @ jquery.self-660adc5….js?body=1:138$.fn.curationConcernsUploader @ uploader.self-3291746….js?body=1:142(anonymous function) @ fileupload.self-7153b70….js?body=1:5activate @ core.self-e031fb8….js?body=1:10(anonymous function) @ core.self-e031fb8….js?body=1:36dispatch @ jquery.self-660adc5….js?body=1:5227elemData.handle @ jquery.self-660adc5….js?body=1:4879t.dispatch @ turbolinks.self-c5acd7a….js?body=1:6t.Controller.r.notifyApplicationAfterPageLoad @ turbolinks.self-c5acd7a….js?body=1:6t.Controller.r.pageLoaded @ turbolinks.self-