<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">The deletion of the internal reg file on error is a bug (that should only happen when it has been imported from elsewhere, not when it is manually placed in
the registry folder). I’ve fixed this.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">The actual error message is,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">A data-directory path could not be found in the registry file for the CWB corpus you specified. Either the data-directory is unspecified,
or it is specified with a relative path (an absolute path is needed).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">So – the new path you entered for HOME in the reg file is not being found, which means either you entered it incorrectly, or you used a relative not absolute
path.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it]
<b>On Behalf Of </b>Daniel Renau<br>
<b>Sent:</b> 11 November 2015 21:18<br>
<b>To:</b> cwb@sslmit.unibo.it<br>
<b>Subject:</b> Re: [CWB] Migrating corpus to CQPwebInABox<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi again Andrew,<span lang="EN"><br>
<br>
beforehand I want to thank you for your time and knowledge.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN">I've tried your instructions, but I can't reproduce it.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN">I do this (screenshots at:
<a href="http://imgur.com/a/Wm4MZ">http://imgur.com/a/Wm4MZ</a>):</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN">(In my VM)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN">- run cqp, use "show corpora;" and see what corpus are installed.Use "locate" to know where the corpus are stored. (image 1)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN">- copy the folders that contain archives relative to the corpus (image 2)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN">(In your VM)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN">- run cqp. No corpus installed when use "show corpora". See in administration panel (CQPweb) the name of the corpus (e.g. lcmc), use "locate" to know where the corpus are stored (image 3)</span><o:p></o:p></p>
<div style="margin-left:30.0pt">
<p class="MsoNormal">· Are different registry folders between cqp & cqpweb?<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN">- copy "SUBALEORI" data folder to /home/user/ and modify the path inside the registry file. Copy "subaleor" registry file to /var/cqpweb/registry/</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN">- go to administration panel, fill the form and press install. This error shows (image 4-5)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN">- automatically the registry file disapears from the folder /var/cqpweb/registry/</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN">Any advice?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN">Thank you :)</span><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>