<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Emilian,</p>
    <p>It looks as though for some reason, some repositories (it looks
      to be those upgraded from an earlier version of 3.3) need to find
      a workflow for a particular dataobj (in this case file) before
      they load the page for a dataobj with a specific ID.  However, a
      vanilla install does not have this problem and will just display
      the export tab and realise it cannot display a details tab as it
      has no workflow to work from to lay this out.  I have had a scout
      round and<b><i> </i></b>cannot find a
      workflows/file/default.xml.  However, it should be easy enough to
      write one from scratch and quicker than trying to get to the
      bottom of this issue now, I suspect.</p>
    <p>Regards</p>
    <p>David Newman<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 31/10/2017 09:38, David R Newman
      wrote:<br>
    </div>
    <blockquote
cite="mid:EMEW3|6d861c77ef0c33129e35d8c53e6c94b6y9U9dW14eprints-tech-bounces|ecs.soton.ac.uk|1b15ef8a-f6c6-e3d6-4b98-4f398d04dd42@ecs.soton.ac.uk"
      type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <p>Hi Emilian,</p>
      <p>This looks as though it is a bug common with the latest version
        of EPrints because this is a page that is rarely accessed, as
        you would not typically need a workflow to view/manage a file,
        as it is embedded within an eprint.  You would need the
        following file:</p>
      <p><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">[EPRINTS_ROOT]/archives/[<wbr>ARCHIVE_NAME]/cfg/workflows/file/default.xml</span></p>
      <p>However, I am not aware of where such a file can be found.  So
        I will have a dig around and see if I can find anything.</p>
      <p>Regards</p>
      <p>David Newman<br>
      </p>
      <p><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><wbr></span></p>
      <div class="moz-cite-prefix">On 31/10/2017 08:25, Emilian
        Mitocariu wrote:<br>
      </div>
      <blockquote
cite="mid:EMEW3|c57ff10fffb3e6687331307dad95997ay9U8Pp14eprints-tech-bounces|ecs.soton.ac.uk|CA+rSDaR7gqP+MQq--PhLD7oRYJpV+-zZJdpJeEB=SJKcxUWpsA@mail.gmail.com"
        type="cite">
        <div dir="ltr">There is a default.xml in both directories.</div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Tue, Oct 31, 2017 at 10:18 AM,
            Alan.Stiles <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:alan.stiles@open.ac.uk" target="_blank">alan.stiles@open.ac.uk</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div link="#0563C1" vlink="#954F72" lang="EN-GB">
                <div class="m_-7086091942858165430WordSection1">
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Off
                      the top of my head, and before morning caffeine,
                      do you have a default.xml in
                      [EPRINTS_ROOT]/archives/[<wbr>ARCHIVE_NAME]/cfg/workflows/<wbr>eprint/
                      ?</span></p>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">And
                      if not, is there one in
                      [EPRINTS_ROOT]/lib/defaultcfg/<wbr>workflows/eprint/
                      ?</span></p>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"
                        lang="EN-US">From:</span></b><span
                      style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"
                      lang="EN-US"> <a moz-do-not-send="true"
                        href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"
                        target="_blank">eprints-tech-bounces@ecs.<wbr>soton.ac.uk</a>
                      [mailto:<a moz-do-not-send="true"
                        href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"
                        target="_blank">eprints-tech-bounces@<wbr>ecs.soton.ac.uk</a>]
                      <b>On Behalf Of </b>Mitocariu Emilian<br>
                      <b>Sent:</b> 31 October 2017 06:54<br>
                      <b>To:</b> <a moz-do-not-send="true"
                        href="mailto:eprints-tech@ecs.soton.ac.uk"
                        target="_blank">eprints-tech@ecs.soton.ac.uk</a><br>
                      <b>Subject:</b> [EP-tech] Failed to find workflow:
                      file.default</span></p>
                  <div>
                    <div class="h5">
                      <p class="MsoNormal"> </p>
                      <div>
                        <p class="MsoNormal">Hi,</p>
                        <div>
                          <p class="MsoNormal"> </p>
                        </div>
                        <div>
                          <p class="MsoNormal">I recently migrated an
                            eprints server from version <span
                              style="font-size:9.5pt">3.3.7 to
                              version 3.3.15 and when I go to </span><i>Manage
                              records</i> -&gt; <i>Files</i> and click
                            View on one of the files I get this error:</p>
                        </div>
                        <p class="MsoNormal">EPrints System Error<br>
                          Failed to find workflow: file.default</p>
                        <div>
                          <p class="MsoNormal"> </p>
                        </div>
                        <div>
                          <p class="MsoNormal">This is what I found in
                            apache logs:</p>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------</p>
                          </div>
                          <div>
                            <p class="MsoNormal">----------------
                              EPrints System Error
                              ----------------------------</p>
                          </div>
                          <div>
                            <p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------</p>
                          </div>
                          <div>
                            <p class="MsoNormal">Failed to find
                              workflow: file.default</p>
                          </div>
                          <div>
                            <p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------</p>
                          </div>
                          <div>
                            <p class="MsoNormal"> at
                              /usr/share/eprints3/perl_lib/<wbr>EPrints/Workflow.pm
                              line 161.</p>
                          </div>
                          <div>
                            <p class="MsoNormal">       
                              EPrints::Workflow::new("<wbr>EPrints::Workflow",
                              EPrints::Repository=HASH(<wbr>0x558c15fabf88),
                              "default", "item",
                              EPrints::DataObj::File=HASH(<wbr>0x558c16b95e08),
                              "STAFF_ONLY", ARRAY(0x558c16b6c2b8),
                              "processor",
                              EPrints::ScreenProcessor=HASH(<wbr>0x558c16d59ff8),
                              ...) called at
                              /usr/share/eprints3/perl_lib/<wbr>EPrints/Plugin/Screen/<wbr>Workflow.pm
                              line 197</p>
                          </div>
                          <div>
                            <p class="MsoNormal">       
                              EPrints::Plugin::Screen::<wbr>Workflow::workflow(EPrints::<wbr>Plugin::Screen::Workflow::<wbr>Details=HASH(0x558c16b9a4b0))
                              called at /usr/share/eprints3/perl_lib/<wbr>EPrints/Plugin/Screen/<wbr>Workflow/Details.pm
                              line 116</p>
                          </div>
                          <div>
                            <p class="MsoNormal">       
                              EPrints::Plugin::Screen::<wbr>Workflow::Details::render(<wbr>EPrints::Plugin::Screen::<wbr>Workflow::Details=HASH(<wbr>0x558c16b9a4b0))
                              called at /usr/share/eprints3/perl_lib/<wbr>EPrints/Plugin/Screen/<wbr>Workflow/View.pm
                              line 172</p>
                          </div>
                          <div>
                            <p class="MsoNormal">       
                              EPrints::Plugin::Screen::<wbr>Workflow::View::render(<wbr>EPrints::Plugin::Screen::<wbr>Workflow::View=HASH(<wbr>0x558c16b8fe50))
                              called at /usr/share/eprints3/perl_lib/<wbr>EPrints/ScreenProcessor.pm
                              line 377</p>
                          </div>
                          <div>
                            <p class="MsoNormal">       
                              EPrints::ScreenProcessor::<wbr>process("EPrints::<wbr>ScreenProcessor",
                              "session", EPrints::Repository=HASH(<wbr>0x558c15fabf88),
                              "template", undef, "url",
                              "/cgi/users/home") called at
                              /usr/share/eprints3/cgi/users/<wbr>home
                              line 25</p>
                          </div>
                          <div>
                            <p class="MsoNormal">       
                              ModPerl::ROOT::ModPerl::<wbr>Registry::usr_share_eprints3_<wbr>cgi_users_home::handler(<wbr>Apache2::RequestRec=SCALAR(<wbr>0x558c1649a6f0))
                              called at /usr/lib/x86_64-linux-gnu/<wbr>perl5/5.22/ModPerl/<wbr>RegistryCooker.pm
                              line 207</p>
                          </div>
                          <div>
                            <p class="MsoNormal">        eval {...}
                              called at /usr/lib/x86_64-linux-gnu/<wbr>perl5/5.22/ModPerl/<wbr>RegistryCooker.pm
                              line 207</p>
                          </div>
                          <div>
                            <p class="MsoNormal">       
                              ModPerl::RegistryCooker::run(<wbr>ModPerl::Registry=HASH(<wbr>0x558c16bfd268))
                              called at /usr/lib/x86_64-linux-gnu/<wbr>perl5/5.22/ModPerl/<wbr>RegistryCooker.pm
                              line 173</p>
                          </div>
                          <div>
                            <p class="MsoNormal">       
                              ModPerl::RegistryCooker::<wbr>default_handler(ModPerl::<wbr>Registry=HASH(0x558c16bfd268))
                              called at /usr/lib/x86_64-linux-gnu/<wbr>perl5/5.22/ModPerl/Registry.pm
                              line 32</p>
                          </div>
                          <div>
                            <p class="MsoNormal">       
                              ModPerl::Registry::handler("<wbr>ModPerl::Registry",
                              Apache2::RequestRec=SCALAR(<wbr>0x558c1649a6f0))
                              called at -e line 0</p>
                          </div>
                          <div>
                            <p class="MsoNormal">        eval {...}
                              called at -e line 0</p>
                          </div>
                          <div>
                            <p class="MsoNormal">[Tue Oct 31
                              06:30:25.401013 2017] [:error] [pid
                              6269:tid 140362561611520]
                              EPrints::abort()\n</p>
                          </div>
                          <div>
                            <p class="MsoNormal"> </p>
                          </div>
                          <div>
                            <p class="MsoNormal">I couldn't find much
                              about this error, does anyone know how to
                              fix this?</p>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                -- The Open University is incorporated by Royal Charter
                (RC 000391), an exempt charity in England &amp; Wales
                and a charity registered in Scotland (SC 038302). The
                Open University is authorised and regulated by the
                Financial Conduct Authority in relation to its secondary
                activity of credit broking. </div>
              <br>
              *** Options: <a moz-do-not-send="true"
                href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"
                rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a><br>
              *** Archive: <a moz-do-not-send="true"
                href="http://www.eprints.org/tech.php/" rel="noreferrer"
                target="_blank">http://www.eprints.org/tech.<wbr>php/</a><br>
              *** EPrints community wiki: <a moz-do-not-send="true"
                href="http://wiki.eprints.org/" rel="noreferrer"
                target="_blank">http://wiki.eprints.org/</a><br>
              *** EPrints developers Forum: <a moz-do-not-send="true"
                href="http://forum.eprints.org/" rel="noreferrer"
                target="_blank">http://forum.eprints.org/</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">*** Options: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>