[Archivesspace_Users_Group] Error with collection level display in admin screen

Brent Ellingson brent_ellingson at byu.edu
Fri Sep 15 11:13:04 EDT 2017


Here is an error log entry that I'm hoping will be more relevant to the root of the problem

Started GET "/resources/1540" for 0:0:0:0:0:0:0:1 at 2017-09-15 08:57:57 -0600
Processing by ResourcesController#show as HTML
  Parameters: {"id"=>"1540"}
  Rendered shared/_breadcrumb.html.erb (1.0ms)
  Rendered transfer/_transfer_failures.html.erb (0.0ms)
  Rendered shared/_tree.html.erb (3.0ms)
  Rendered resources/show.html.erb within layouts/application (9.0ms)
  Rendered shared/_browser_support.html.erb (0.0ms)
  Rendered shared/_header_user.html.erb (5.0ms)
  Rendered shared/_header_global.html.erb (6.0ms)
  Rendered site/_branding.html.erb (0.0ms)
  Rendered shared/_advanced_search.html.erb (5.0ms)
  Rendered shared/_header_repository.html.erb (17.0ms)
  Rendered site/_footer.html.erb (0.0ms)
  Rendered shared/_templates.html.erb (3.0ms)
Completed 200 OK in 2033.0ms (Views: 42.0ms)
ri"=>"root", "hash"=>"tree::resource_1540", "id"=>"1540"}
:resource_1540" for 0:0:0:0:0:0:0:1 at 2017-09-15 08:58:00 -0600
Processing by ResourcesController#tree as */*
  Parameters: {"node_uri"=>"root", "hash"=>"tree::resource_1540", "id"=>"1540"}
Completed 200 OK in 860.0ms (Views: 17.0ms)
Started GET "/resources/1540?inline=true&resource_id=1540" for 0:0:0:0:0:0:0:1 at 2017-09-15 08:58:01 -0600
Processing by ResourcesController#show as */*
  Parameters: {"inline"=>"true", "resource_id"=>"1540", "id"=>"1540"}
....
ABOUT A MINUTE LATER
This shows up in the logs at the same time as the 'An error occurred loading this form. Not Found' message shows up on the browser
....
_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (3.2.22.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.22.2) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.22.2) lib/rails/rack/logger.rb:16:in `call'
  activesupport (3.2.22.2) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.22.2) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.22.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.7) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.7) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.22.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  actionpack (3.2.22.2) lib/action_dispatch/middleware/static.rb:83:in `call'
  rack-cache (1.6.1) lib/rack/cache/context.rb:140:in `forward'
  rack-cache (1.6.1) lib/rack/cache/context.rb:249:in `fetch'
  rack-cache (1.6.1) lib/rack/cache/context.rb:189:in `lookup'
  rack-cache (1.6.1) lib/rack/cache/context.rb:66:in `call!'
  rack-cache (1.6.1) lib/rack/cache/context.rb:51:in `call'
  railties (3.2.22.2) lib/rails/engine.rb:484:in `call'
  railties (3.2.22.2) lib/rails/application.rb:231:in `call'
  file:/srv/archivesspace-1.5.4-stg/archivesspace/gems/gems/jruby-rack-1.1.20/lib/jruby-rack-1.1.20.jar!/rack/handler/servlet.rb:22:in `call'


2.22.2) lib/rails/application.rb:231:in `call'
  file:/srv/archivesspace-1.5.4-stg/archivesspace/gems/gems/jruby-rack-1.1.20/lib/jruby-rack-1.1.20.jar!/rack/handler/servlet.rb:22:in `call'


  Rendered /srv/asstg/gems/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)

Any thoughts?

Regards,
Brent Ellingson

From: Brent Ellingson
Sent: Thursday, September 14, 2017 3:29 PM
To: Archivesspace Users Group (archivesspace_users_group at lyralists.lyrasis.org) (archivesspace_users_group at lyralists.lyrasis.org) <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Error with collection level display in admin screen

Greeting all,

We are running 1.5.4 and have 2 collections that error out when trying to access the Collection level data on the admin screen.

The URL is
[HOST]/resources/1540#tree::resource_1540
I'm seeing a HTML 404 error code when this URL is requested via JavaScript
[HOST]/resources/1540?inline=true&resource_id=1540

In the browser below the hierarchy of the collection where the form and content usually display all I see is the following
'An error occurred loading this form.
Not Found'

The Series and Sub-Series links in the hierarchy seem to be working without problems.

This is what I believe is the error in the logs that corresponds at least in part to the problem
**** Error log message ****
Started GET "/error/error.php" for 0:0:0:0:0:0:0:1 at 2017-09-14 12:44:03 -0600

ActionController::RoutingError (No route matches [GET] "/error/error.php"):
  actionpack (3.2.22.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (3.2.22.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.22.2) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.22.2) lib/rails/rack/logger.rb:16:in `call'
  activesupport (3.2.22.2) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.22.2) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.22.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.7) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.7) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.22.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  actionpack (3.2.22.2) lib/action_dispatch/middleware/static.rb:83:in `call'
  rack-cache (1.6.1) lib/rack/cache/context.rb:140:in `forward'
  rack-cache (1.6.1) lib/rack/cache/context.rb:249:in `fetch'
  rack-cache (1.6.1) lib/rack/cache/context.rb:189:in `lookup'
  rack-cache (1.6.1) lib/rack/cache/context.rb:66:in `call!'
  rack-cache (1.6.1) lib/rack/cache/context.rb:51:in `call'
  railties (3.2.22.2) lib/rails/engine.rb:484:in `call'
  railties (3.2.22.2) lib/rails/application.rb:231:in `call'
  file:/srv/archivesspace-1.5.4/archivesspace/gems/gems/jruby-rack-1.1.20/lib/jruby-rack-1.1.20.jar!/rack/handler/servlet.rb:22:in `call'
**** END error log message ****


The response as shown in the browser dev tools is below

**** Beginning of Dev tools response body ****
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Action Controller: Exception caught</title>
  <style>
    body { background-color: #fff; color: #333; }

    body, p, ol, ul, td {
      font-family: helvetica, verdana, arial, sans-serif;
      font-size:   13px;
      line-height: 18px;
    }

    pre {
      background-color: #eee;
      padding: 10px;
      font-size: 11px;
      white-space: pre-wrap;
    }

    a { color: #000; }
    a:visited { color: #666; }
    a:hover { color: #fff; background-color:#000; }
  </style>
</head>
<body>

<h1>Routing Error</h1>
<p><pre>No route matches [GET] "/error/error.php"</pre></p>
<p>
  Try running <code>rake routes</code> for more information on available routes.
</p>

</body>
</html>
**** End of Dev tools response body ****

Also, we recently upgraded from 1.4.2 to 1.5.4

I'm trying to figure out how to debug this and find where the problem is.
Does anyone have any ideas on where to start or look to locate the problem?

Thank you for your help.

Regards,
__________________________
Brent Ellingson
Manager of Web Development
BYU Library
801-422-6148

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20170915/246e3803/attachment.html>


More information about the Archivesspace_Users_Group mailing list