<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    I have a layers.yml in the librecat root dir and it looks like:<br>
    <br>
    <blockquote># Use the layers configuration file to add local
      configuration directories<br>
      # for configurations files, templates, static files and Perl
      modules<br>
      #<br>
      # See also: <a class="moz-txt-link-freetext" href="https://github.com/LibreCat/LibreCat/wiki/Layers">https://github.com/LibreCat/LibreCat/wiki/Layers</a><br>
      #<br>
      # E.g.<br>
      #   mkdir -p /opt/librecat-myorg/config<br>
      #   mkdir -p /opt/librecat-myorg/views<br>
      #   mkdir -p /opt/librecat-myorg/public<br>
      #   mkdir -p /opt/librecat-myorg/lib<br>
      #<br>
      # The YAML below should evaluate to an ARRAY of local
      configuration directories<br>
      - /var/storage/librecat-ist<br>
    </blockquote>
    <br>
    And I also have the file at:<br>
    <br>
    <blockquote>/var/storage/librecat-ist/fixes/to_doi_only_yaml.fix<br>
    </blockquote>
    <br>
    Yet I still get the same errors. Everything else in my layer works
    except for the fixes.<br>
    <br>
    <br>
    Thanks,<br>
    Jonathan<br>
    IST Austria<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 09/27/2018 08:36 AM, Nicolas
      Steenlant wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:E070AC08-2F6B-483B-8723-17E3BD756D21@ugent.be">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Hello Jonathan,
      <div class=""><br class="">
      </div>
      <div class="">you should have a layers.yml file that contains:</div>
      <div class=""><br class="">
      </div>
      <div class="">- layer-root</div>
      <div class=""><br class="">
      </div>
      <div class="">then a file:</div>
      <div class=""><br class="">
      </div>
      <div class="">layer-root/fixes/to_doi_only_yaml.fix</div>
      <div class=""><br class="">
      </div>
      <div class="">Regards,</div>
      <div class="">Nicolas</div>
      <div class=""><br class="">
      </div>
      <div class="">
        <div class="">
          <div style="color: rgb(0, 0, 0); font-family: Helvetica;
            font-size: 12px; font-style: normal; font-variant-caps:
            normal; font-weight: normal; letter-spacing: normal;
            orphans: auto; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; widows: auto;
            word-spacing: 0px; -webkit-text-size-adjust: auto;
            -webkit-text-stroke-width: 0px;">
            --</div>
          <div style="color: rgb(0, 0, 0); font-family: Helvetica;
            font-size: 12px; font-style: normal; font-variant-caps:
            normal; font-weight: normal; letter-spacing: normal;
            orphans: auto; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; widows: auto;
            word-spacing: 0px; -webkit-text-size-adjust: auto;
            -webkit-text-stroke-width: 0px;">
            Nicolas Steenlant</div>
          <div style="color: rgb(0, 0, 0); font-family: Helvetica;
            font-size: 12px; font-style: normal; font-variant-caps:
            normal; font-weight: normal; letter-spacing: normal;
            orphans: auto; text-align: start; text-indent: 0px;
            text-transform: none; white-space: normal; widows: auto;
            word-spacing: 0px; -webkit-text-size-adjust: auto;
            -webkit-text-stroke-width: 0px;">
            software developer at University Library Ghent<br class="">
            <br class="">
          </div>
        </div>
        <div><br class="">
          <blockquote type="cite" class="">
            <div class="">On 26 Sep 2018, at 16:37, Jonathan NORRIS <<a
                href="mailto:jnorris@ist.ac.at" class=""
                moz-do-not-send="true">jnorris@ist.ac.at</a>> wrote:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <div text="#000000" bgcolor="#FFFFFF" class="">Hello,<br
                  class="">
                <br class="">
                I'm having an issue where my fix file is not being found
                when I try to make an export. The structure of the layer
                is:<br class="">
                <br class="">
                - layer-root:<br class="">
                    - fixes:<br class="">
                        - to_doi_only_yaml.fix<br class="">
                <br class="">
                <br class="">
                When I call the export I get this error on the
                frontend:  <span class="treeLabel stringLabel"
                  data-level="0">
                  error</span><span class=""><span class="objectBox
                    objectBox-string"> "Export doi_only_yaml is not
                    available for this collection"</span></span><br
                  class="">
                <br class="">
                And this error in app.log:  <br class="">
                <br class="">
                LibreCat.App.Search.Route.export[54] : exporting YAML:
                Error open (<:unix) on 'fixes/to_doi_only_yaml.fix':
                No such file or directory at
                /var/storage/librecat/local/lib/perl5/Catmandu/Fix.pm
                line 91.<br class="">
                <br class="">
                <br class="">
                Any ideas?<br class="">
                <br class="">
                <br class="">
                Thanks,<br class="">
                Jonathan<br class="">
                IST Austria<br class="">
              </div>
              _______________________________________________<br
                class="">
              librecat-dev mailing list<br class="">
              - send list mails to <a
                href="mailto:librecat-dev@lists.uni-bielefeld.de"
                class="" moz-do-not-send="true">
                librecat-dev@lists.uni-bielefeld.de</a><br class="">
              - to unsubscribe or change options, visit <a
href="https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev"
                class="" moz-do-not-send="true">
https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev</a><br
                class="">
              - project website: <a href="http://librecat.org/"
                class="" moz-do-not-send="true">http://librecat.org/</a><br
                class="">
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br>
  </body>
</html>