Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Jupiter]500 Error when facet by type image #1129

Closed
sfarnel opened this issue May 8, 2019 · 7 comments
Closed

[Jupiter]500 Error when facet by type image #1129

sfarnel opened this issue May 8, 2019 · 7 comments
Assignees
Labels

Comments

@sfarnel
Copy link
Member

sfarnel commented May 8, 2019

Describe the bug
When attempting to facet across all ERA items by type Image, a 500 error is returned.

To Reproduce
Steps to reproduce the behavior:

  1. Go to ERA home page
  2. Click on Search to retrieve all items
  3. Scroll down to Item Type Filter
  4. Click on Image
  5. A 500 error is returned

Expected behavior
One would expect a result list of all ERA items of type Image.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser and Version: Chrome Version 74.0.3729.131 (Official Build) (64-bit), Firefox Version 74.0.3729.131 (Official Build) (64-bit)
@sfarnel sfarnel added the bug label May 8, 2019
@pgwillia
Copy link
Member

pgwillia commented May 9, 2019

I did a little investigation. There is an item with an image that's "not an image". I'm not sure which item it is, but rollbar could help us triangulate. https://rollbar.com/ualbertalib/jupiter/items/647/?item_page=1&#instances

@pgwillia
Copy link
Member

pgwillia commented May 10, 2019

Can use search.json to help narrow down.

It's this one! https://era.library.ualberta.ca/items/f1c4404a-f946-4077-8356-572b5cc10b0a


id | "f1c4404a-f946-4077-8356-572b5cc10b0a"
-- | --
title | "01 First of series of views of children playing at constructing a tent in town near houses - Nunavut (NWT)-1447"
doi | "doi:10.7939/R3RF5KF6T"
creators |  
0 | "Halpern, Joel Martin"
created | "1983/08/01"
description | null

@sfarnel
Copy link
Member Author

sfarnel commented May 10, 2019

Interesting; thanks @pgwillia! Interestingly, if you try and navigate to the Halpern collection (which this item is from) you get the same error, so it must be that image. @pbinkley @weiweishi is there any way to see if we can get the object from OpenStack to see if it's corrupted? The original dvds may be in the vault if we need to go that far back.

@pgwillia pgwillia added the data label May 10, 2019
@weiweishi weiweishi removed the bug label Jun 28, 2019
@weiweishi weiweishi self-assigned this Jun 28, 2019
@weiweishi weiweishi changed the title 500 Error when facet by type image [Jupiter]500 Error when facet by type image Jun 28, 2019
@pbinkley
Copy link
Member

the file is not a jpeg.

$ identify 87_102c.jpg 
identify: Not a JPEG file: starts with 0xef 0xbf `87_102c.jpg' @ error/jpeg.c/JPEGErrorHandler/340.

I'll see if we have a good copy in Swift.

@pbinkley
Copy link
Member

I've confirmed that the file in the old Fedora 3 repo (wolves) has the same SHA1 checksum as the file in Jupiter (48c88c0c7638cfb5de2cdd2dde76b98b33ad0e52), so it must have been corrupt when we got it.

@pbinkley
Copy link
Member

Conclusion: we need a new image from source.

@mbarnett
Copy link
Contributor

actual crashes are at long last fixed, tracking the possibility of getting a non-corrupt copy of that file over on #898

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants