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

image not showing in viewer #1153

Closed
hannahfrost opened this issue May 25, 2017 · 9 comments
Closed

image not showing in viewer #1153

hannahfrost opened this issue May 25, 2017 · 9 comments

Comments

@hannahfrost
Copy link

I have an image file in my work. It does not display in the viewer. (All I see is spinning square as it tries to load.)

The file can be downloaded and the thumbnail is visible, but when I click on the thumbnail, an error is thrown.

Here's my work: https://salad.demo.hydrainabox.org/concern/images/687c1d70-3692-4bba-a8b8-5b4806eca907?locale=en#?c=0&m=0&s=0&cv=0

@jcoyne
Copy link
Member

jcoyne commented May 25, 2017

I think there are two problems here. The first is that openseadragon is complaining

screen shot 2017-05-25 at 2 52 40 pm

The second problem should be fixed by #1151

@jcoyne
Copy link
Member

jcoyne commented May 25, 2017

@hannahfrost
Copy link
Author

@jcoyne I checked the embedded metadata of my local copy of the file and the height/width are there.

With Ben's help, I got to this: https://salad.demo.hydrainabox.org/images/9091d3f8-626c-4907-bc5d-c27f31705f68%2Ffiles%2Fbe3e1990-dc18-4676-a8e3-36c5ff7cc11d/full/full/0/default.jpg

So somehow the app lost the height/width.

@jcoyne
Copy link
Member

jcoyne commented May 31, 2017

When I attempt to use Hanna's original file, mine also doesn't get height & width:

screen shot 2017-05-31 at 9 51 14 am

@jcoyne
Copy link
Member

jcoyne commented May 31, 2017

When I run this file locally with fits 1.0.5 it works fine. But on the server there is a problem with fits:

$ fits.sh -v
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
1.1.0
[ec2-user@ip-10-0-3-116 ~]$ fits.sh -i dog.jpeg
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
log4j:WARN No appenders could be found for logger (edu.harvard.hul.ois.fits.Fits).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
<?xml version="1.0" encoding="UTF-8"?>
<fits xmlns="http://hul.harvard.edu/ois/xml/ns/fits/fits_output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/fits/fits_output http://hul.harvard.edu/ois/xml/xsd/fits/fits_output.xsd" version="1.1.0" timestamp="5/31/17 2:59 PM">
  <identification status="CONFLICT">
    <identity format="JPEG File Interchange Format" mimetype="image/jpeg" toolname="FITS" toolversion="1.1.0">
      <tool toolname="Droid" toolversion="6.1.5" />
      <tool toolname="file utility" toolversion="5.22" />
      <version toolname="Droid" toolversion="6.1.5">1.01</version>
      <externalIdentifier toolname="Droid" toolversion="6.1.5" type="puid">fmt/43</externalIdentifier>
    </identity>
    <identity format="JPEG EXIF" mimetype="image/jpeg" toolname="FITS" toolversion="1.1.0">
      <tool toolname="Exiftool" toolversion="10.00" />
      <tool toolname="NLNZ Metadata Extractor" toolversion="3.6GA" />
      <version toolname="Exiftool" toolversion="10.00">1.01</version>
    </identity>
  </identification>
  <fileinfo>
    <size toolname="Jhove" toolversion="1.16">1245975</size>
    <creatingApplicationName toolname="Exiftool" toolversion="10.00">Canon PowerShot SD870 IS</creatingApplicationName>
    <lastmodified toolname="Exiftool" toolversion="10.00" status="CONFLICT">2012:04:08 09:50:57</lastmodified>
    <lastmodified toolname="Tika" toolversion="1.10" status="CONFLICT">2012-04-08T09:50:57</lastmodified>
    <created toolname="Exiftool" toolversion="10.00">2012:04:08 09:50:57</created>
    <filepath toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">/home/ec2-user/dog.jpeg</filepath>
    <filename toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">dog.jpeg</filename>
    <md5checksum toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">ce2204e9ca94f1c80f124dfea460c254</md5checksum>
    <fslastmodified toolname="OIS File Information" toolversion="0.2" status="SINGLE_RESULT">1496242740000</fslastmodified>
  </fileinfo>
  <filestatus />
  <metadata />
  <statistics fitsExecutionTime="935">
    <tool toolname="MediaInfo" toolversion="0.7.75" status="did not run" />
    <tool toolname="OIS Audio Information" toolversion="0.1" status="did not run" />
    <tool toolname="ADL Tool" toolversion="0.1" status="did not run" />
    <tool toolname="VTT Tool" toolversion="0.1" status="did not run" />
    <tool toolname="Droid" toolversion="6.1.5" executionTime="203" />
    <tool toolname="Jhove" toolversion="1.16" executionTime="850" />
    <tool toolname="file utility" toolversion="5.22" executionTime="770" />
    <tool toolname="Exiftool" toolversion="10.00" executionTime="874" />
    <tool toolname="NLNZ Metadata Extractor" toolversion="3.6GA" executionTime="802" />
    <tool toolname="OIS File Information" toolversion="0.2" executionTime="184" />
    <tool toolname="OIS XML Metadata" toolversion="0.2" status="did not run" />
    <tool toolname="ffident" toolversion="0.2" executionTime="628" />
    <tool toolname="Tika" toolversion="1.10" executionTime="822" />
  </statistics>
</fits>

@jcoyne
Copy link
Member

jcoyne commented May 31, 2017

Filed harvard-lts/fits#140

@jcoyne
Copy link
Member

jcoyne commented May 31, 2017

Should we downgrade fits to 1.0.5 on aws?

@hannahfrost
Copy link
Author

👍 if that will fix the issue

@jcoyne
Copy link
Member

jcoyne commented May 31, 2017

screen shot 2017-05-31 at 4 16 08 pm

This image now characterizes correctly.

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

No branches or pull requests

3 participants