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

Wrong Fits type recognition, soffice blocking and Sidekik congestion #4571

Closed
ghost opened this issue Nov 4, 2020 · 1 comment
Closed

Wrong Fits type recognition, soffice blocking and Sidekik congestion #4571

ghost opened this issue Nov 4, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 4, 2020

Descriptive summary

We report this problem only for the benefit of other users because it is not an internal problem for Hyrax but a dependency configuration concern.

During bulk upload, from time to time, Fits directs one of our wav files to libreoffice for the creation of derivatives instead of ffmpeg. Indeed one of the Fits tools sees the file as an excel file :

<identification status="CONFLICT">
    <identity format="Waveform Audio" mimetype="audio/x-wave" toolname="FITS" toolversion="1.4.0">
      <tool toolname="OIS Audio Information" toolversion="0.1" />
      <tool toolname="Droid" toolversion="6.4" />
      <tool toolname="Jhove" toolversion="1.20.1" />
      <tool toolname="file utility" toolversion="5.30" />
      <tool toolname="Exiftool" toolversion="11.14" />
      <externalIdentifier toolname="Droid" toolversion="6.4" type="puid">fmt/141</externalIdentifier>
    </identity>
    <identity format="Microsoft Excel Format" mimetype="application/vnd.ms-excel" toolname="FITS" toolversion="1.4.0">
      <tool toolname="ffident" toolversion="0.2" />
    </identity>
  </identification>

You can reproduce the issue with this file :
MUS1959_15_372.zip

Finally we had to manually delete the sidekiq "CreateDerivatives" job because the soffice command never comes back and it ends up filling all the sidekiq "slots".

Suggested solution

We solved it by adding 'wav' to the list of disabled extensions for ffident :

<tool class="edu.harvard.hul.ois.fits.tools.ffident.FFIdent" exclude-exts="wav,dng,wps,vsd,jar,ppt,rtf" classpath-dirs="lib/ffident" />

@no-reply
Copy link
Member

closing this as not requiring action. thanks for this report!

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

No branches or pull requests

1 participant