<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Can somebody or the development team confirm whether the
public_formats_resource_links plugin still works with AS 1.2? <br>
<br>
Mang Sun<br>
Rice U.<br>
<br>
<div class="moz-cite-prefix">On 4/2/2015 10:49 AM, Mang Sun wrote:<br>
</div>
<blockquote cite="mid:551D6503.8000500@rice.edu" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
When clicking the ead_pdf link turned on by the
public_formats_resource_links plugin does not work with AS 1.2
throwing the error message as follows. -Mang Sun Rice U.<br>
<br>
<h1>EOFError in PublicFormatsController#generate </h1>
<p><code>Rails.root:
/opt/download/ASpace/archivesspace-1.2.0/public<br>
<br>
</code></p>
<br>
<h2 style="margin-top: 30px">Request</h2>
<p><b>Parameters</b>: </p>
<pre>{"repo_id"=>"2",
"type"=>"resources",
"id"=>"116",
"format"=>"ead_pdf"}</pre>
<p><a moz-do-not-send="true"
href="http://10.74.22.26:3001/repositories/2/resources/116/format/ead_pdf#"
onclick="document.getElementById('session_dump').style.display='block';
return false;">Show session dump</a></p>
<div id="session_dump" style="display: block;">
<pre>_csrf_token: "PSHg/+xWc6vsA3SkFp5yNu544UvTf9agbMpz6ZY3ir0="
session_id: "c419289cb412f46af571004e4b0c0830"</pre>
</div>
<p><a moz-do-not-send="true"
href="http://10.74.22.26:3001/repositories/2/resources/116/format/ead_pdf#"
onclick="document.getElementById('env_dump').style.display='block';
return false;">Show env dump</a></p>
<div id="env_dump" style="display: block;">
<pre>GATEWAY_INTERFACE: "CGI/1.2"
HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING: "gzip, deflate"
HTTP_ACCEPT_LANGUAGE: "en-US,en;q=0.5"
REMOTE_ADDR: "10.xx.xx.xx"
SERVER_NAME: "10.xx.22.xx"
SERVER_PROTOCOL: "HTTP/1.1"</pre>
</div>
<h2 style="margin-top: 30px">Response</h2>
<p><b>Headers</b>: </p>
<pre>None
-----------------
The Full trace is pasted as below.
<code>org/jruby/RubyIO.java:2858:in `read_nonblock'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/protocol.rb:141:in `rbuf_fill'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/protocol.rb:122:in `readuntil'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/protocol.rb:132:in `readline'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:2779:in `read_chunked'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:2759:in `read_body_0'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:2719:in `read_body'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:2744:in `body'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:2681:in `reading_body'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1330:in `transport_request'
org/jruby/RubyKernel.java:1270:in `catch'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1325:in `transport_request'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1302:in `request'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1295:in `request'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:746:in `start'
/opt/download/ASpace/archivesspace-1.2.0/build/jruby-complete-1.7.18.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1293:in `request'
/opt/download/ASpace/archivesspace-1.2.0/plugins/aspace-public-formats/public/controllers/public_formats_controller.rb:18:in `handle'
/opt/download/ASpace/archivesspace-1.2.0/plugins/aspace-public-formats/public/controllers/public_formats_controller.rb:5:in `generate'
actionpack (3.2.19) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.19) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.19) lib/abstract_controller/callbacks.rb:18:in `process_action'
activesupport (3.2.19) lib/active_support/callbacks.rb:439:in `_run__487387345__process_action__240924115__callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.19) lib/active_support/callbacks.rb:390:in `_run_process_action_callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.19) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in `instrument'
activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:19:in `instrument'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
actionpack (3.2.19) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.19) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.19) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.19) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.19) lib/action_controller/metal.rb:246:in `action'
org/jruby/RubyProc.java:271:in `call'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `call'
org/jruby/RubyArray.java:1613:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:608:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/cookies.rb:341:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
activesupport (3.2.19) lib/active_support/callbacks.rb:408:in `_run__1026630806__call__1019491275__callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.19) lib/active_support/callbacks.rb:390:in `_run_call_callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'
railties (3.2.19) lib/rails/engine.rb:484:in `call'
railties (3.2.19) lib/rails/application.rb:231:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.19) lib/rails/rack/log_tailer.rb:17:in `call'
puma-2.8.2 (java) lib/puma/server.rb:490:in `handle_request'
puma-2.8.2 (java) lib/puma/server.rb:488:in `handle_request'
puma-2.8.2 (java) lib/puma/server.rb:361:in `process_client'
puma-2.8.2 (java) lib/puma/server.rb:254:in `run'
org/jruby/RubyProc.java:271:in `call'
puma-2.8.2 (java) lib/puma/thread_pool.rb:92:in `spawn_thread'</code>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Archivesspace_Users_Group mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a>
<a class="moz-txt-link-freetext" href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a>
</pre>
</blockquote>
<br>
</body>
</html>