<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>did GeoNode work before you tried that command?</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">When you do pip freeze, do you see the polymorphic app?<br><br>-a</div><div><br>On Feb 20, 2017, at 12:39 PM, Paul Knight <<a href="mailto:PaulKnight@redcross.org.uk">PaulKnight@redcross.org.uk</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 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";
color:black;}
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;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
-->@-ms-viewport {
width: device-width;
}
</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]-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody><tr><td style="max-width: 100%; height: auto;"></td></tr></tbody></table><table cellpadding="0" cellspacing="0" border="0">
<tbody><tr><td style="max-width: 100%; height: auto;" valign="top"><table cellpadding="0" cellspacing="0" border="0" width="100%"><tbody><tr><td style="max-width: 100%; height: auto;"><br>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Hi Angelos,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Thanks for the advice. We have already installed GeoNode and it works successfully. We are now trying to customise it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">I’m not sure if a full reinstall is necessary?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">We are not very familiar with Ansible.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">I am also working on Ubuntu 14.04, your Ansible link works on 16.04.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Does this matter?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Paul<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #FFFFFF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<br><table id="rs-bottom-banner" cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody><tr><td style="max-width: 100%; height: auto;"></td></tr></tbody></table><p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"> Angelos Tzotsos [<a href="mailto:gcpp.kalxas@gmail.com">mailto:gcpp.kalxas@gmail.com</a>]
<br>
<b>Sent:</b> 20 February 2017 16:25<br>
<b>To:</b> Paul Knight <<a href="mailto:PaulKnight@redcross.org.uk">PaulKnight@redcross.org.uk</a>>; <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [GeoNode-users] manage.py migrate error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Paul,<br>
<br>
I would recommend using the ansible role to install GeoNode.<br>
<a href="https://github.com/GeoNode/ansible-geonode">https://github.com/GeoNode/ansible-geonode</a><br>
<br>
I hope that helps.<br>
<br>
Best,<br>
Angelos<br>
<br>
On 02/20/2017 05:52 PM, Paul Knight wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Hi,<o:p></o:p></pre>
<pre>I wonder if anyone can assist with an error that I am getting when working through the setup steps of the 'customise the look and feel' section (<a href="http://docs.geonode.org/en/latest/tutorials/admin/customize_lookfeel/customize/setup_admin.html">http://docs.geonode.org/en/latest/tutorials/admin/customize_lookfeel/customize/setup_admin.html</a>).<o:p></o:p></pre>
<pre>When running<o:p></o:p></pre>
<pre>$ python manage.py migrate<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I get the following ImportError message:<o:p></o:p></pre>
<pre>Traceback (most recent call last):<o:p></o:p></pre>
<pre> File "manage.py", line 11, in <module><o:p></o:p></pre>
<pre> execute_from_command_line(sys.argv)<o:p></o:p></pre>
<pre> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line<o:p></o:p></pre>
<pre> utility.execute()<o:p></o:p></pre>
<pre> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 328, in execute<o:p></o:p></pre>
<pre> django.setup()<o:p></o:p></pre>
<pre> File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup<o:p></o:p></pre>
<pre> apps.populate(settings.INSTALLED_APPS)<o:p></o:p></pre>
<pre> File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in populate<o:p></o:p></pre>
<pre> app_config.import_models(all_models)<o:p></o:p></pre>
<pre> File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 198, in import_models<o:p></o:p></pre>
<pre> self.models_module = import_module(models_module_name)<o:p></o:p></pre>
<pre> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module<o:p></o:p></pre>
<pre> __import__(name)<o:p></o:p></pre>
<pre> File "/home/geonode/geonode/geonode/base/models.py", line 22, in <module><o:p></o:p></pre>
<pre> from polymorphic import PolymorphicModel, PolymorphicManager<o:p></o:p></pre>
<pre>ImportError: cannot import name PolymorphicModel<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I have installed Geonode using the full installation on Ubuntu version 14.04<o:p></o:p></pre>
<pre>If anyone could help it would be greatly appreciated!<o:p></o:p></pre>
<pre>Paul<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre> <o:p></o:p></pre>
<pre> This email is for the intended recipient only. It may contain information that is privileged, confidential and/or subject to copyright. If you are not the intended recipient, please delete this email and any attachments immediately. You may not present this message or any part of it to another party without consent from the sender. <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Although the British Red Cross has taken steps to ensure this email and any attachments are virus-free, we do not accept any responsibility for viruses, or for inaccurate or incomplete information or failure to deliver information. It is your responsibility to scan the email and any attachments to ensure they are virus-free. <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>The British Red Cross may monitor the content of emails sent or received by its employees.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>The British Red Cross Society, incorporated by Royal Charter 1908, is a charity registered in England and Wales (220949), Scotland (SC037738) and Isle of Man (0752).<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>The red cross emblem is a protective symbol, the use of which is restricted by international and national law. It may not be reproduced without prior authorisation. For more information, about the emblem, please go to <a href="http://www.redcross.org.uk/About-us/Who-we-are/The-international-Movement/The-emblem">www.redcross.org.uk/About-us/Who-we-are/The-international-Movement/The-emblem</a>. <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>If you need to contact the British Red Cross, please go to <a href="http://www.redcross.org.uk/About-us/Contact-and-help/Contact-us">www.redcross.org.uk/About-us/Contact-and-help/Contact-us</a> and select the best option for you.<o:p></o:p></pre>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>geonode-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><o:p></o:p></pre>
<pre><a href="https://lists.osgeo.org/mailman/listinfo/geonode-users">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
<p><o:p> </o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Angelos Tzotsos, PhD<o:p></o:p></pre>
<pre>Charter Member<o:p></o:p></pre>
<pre>Open Source Geospatial Foundation<o:p></o:p></pre>
<pre><a href="http://users.ntua.gr/tzotsos">http://users.ntua.gr/tzotsos</a><o:p></o:p></pre>
</div>
</td></tr></tbody></table></td></tr><tr><td style="max-width: 100%; height: auto;"><br></td></tr></tbody></table><table id="rs-disclaimer" cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody><tr><td style="max-width: 100%; height: auto;"><br><table border="0" cellpadding="0" cellspacing="0" width="650">
<tbody><tr><td style="max-width: 100%; height: auto;"><p style="margin:0" align="full"><font face="arial,helvetica,sans-serif" size="1">This email is for the intended recipient only. It may contain information that is privileged, confidential and/or subject to copyright. If you are not the intended recipient, please delete this email and any attachments immediately. You may not present this message or any part of it to another party without consent from the sender. </font><br><br><font face="arial,helvetica,sans-serif" size="1">Although the British Red Cross has taken steps to ensure this email and any attachments are virus-free, we do not accept any responsibility for viruses, or for inaccurate or incomplete information or failure to deliver information. It is your responsibility to scan the email and any attachments to ensure they are virus-free. </font><br><br><font face="arial,helvetica,sans-serif" size="1">The British Red Cross may monitor the content of emails sent or received by its employees.</font><br><br><font face="arial,helvetica,sans-serif" size="1">The British Red Cross Society, incorporated by Royal Charter 1908, is a charity registered in England and Wales (220949), Scotland (SC037738) and Isle of Man (0752).</font><br><br><font face="arial,helvetica,sans-serif" size="1">The red cross emblem is a protective symbol, the use of which is restricted by international and national law. It may not be reproduced without prior authorisation. For more information, about the emblem, please go to <a href="http://www.redcross.org.uk/About-us/Who-we-are/The-international-Movement/The-emblem">www.redcross.org.uk/About-us/Who-we-are/The-international-Movement/The-emblem</a>. </font><br><br><font face="arial,helvetica,sans-serif" size="1">If you need to contact the British Red Cross, please go to <a href="http://www.redcross.org.uk/About-us/Contact-and-help/Contact-us">www.redcross.org.uk/About-us/Contact-and-help/Contact-us</a> and select the best option for you.</font></p></td></tr></tbody></table></td></tr></tbody></table><br><br>
<p align="left"><font style="BACKGROUND-COLOR: #ffffff"><span style="FONT-SIZE: 11pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><a href="http://www.redcross.org.uk/appealweek"><font color="#0000ff"></font></a></span></font></p><font style="BACKGROUND-COLOR: #ffffff">
</font><div><font style="BACKGROUND-COLOR: #ffffff"><span style="FONT-SIZE: 11pt; FONT-FAMILY: Arial; mso-bidi-font-size: 8.0pt"></span><font face="MS Sans Serif" size="1">
</font></font><div><font style="BACKGROUND-COLOR: #ffffff"><font face="MS Sans Serif" size="1"></font><font size="2"><font size="1"><span style="FONT-SIZE: 9.5pt; COLOR: black; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">
</span></font></font><div><font size="2"><font size="1"><font size="1"><span lang="EN-GB"><font size="1"><span lang="EN-GB">
</span></font></span></font></font></font><p><font size="2"><font size="1"><font size="1"><font size="1"></font></font></font></font> </p>
<p> </p></div>
<p><font size="2"><font face="Tahoma"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">This email is for the intended recipient only. It may contain information that is privileged, confidential and/or subject to copyright. If you are not the intended</span></font></font></p><font size="2">
<div>
<div><font face="Tahoma"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"> recipient, please delete this email and any attachments and notify </span></font><font face="Tahoma"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"> </span><u><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><a href="mailto:mailadmin@redcross.org.uk"><font color="#0000ff">mailadmin@redcross.org.uk</font></a></span></u></font><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><font face="Tahoma">. You may not present this message or any part of it to</font></span></div>
<div><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><font face="Tahoma">another party without consent from the sender. </font></span></div>
<div><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><font face="Tahoma"><br>Although the British Red Cross has taken steps to ensure this email and any attachments are virus-free, we do not accept any responsibility for viruses, or for </font></span></div>
<div><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><font face="Tahoma">inaccurate or incomplete information or failure to deliver information. It is your responsibility to scan the email and any attachments to ensure they are virus-free. </font></span></div>
<div><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><font face="Tahoma"></font></span> </div>
<div><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><font face="Tahoma">The British Red Cross may monitor the content of emails sent or received by its employees.</font></span></div><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><font face="Tahoma">
<div><br>The British Red Cross Society, incorporated by Royal Charter 1908, is a charity registered in England and Wales (220949) and Scotland (SC037738). <br></div>
<div> </div>
</font><div><font face="Tahoma">The red cross emblem is a protective symbol, the use of which is restricted by international and national law. It may not be reproduced without prior authorisation. </font></div>
<div><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><a href="http://www.redcross.org.uk/standard.asp?id=35289"><font face="Tahoma" color="#0000ff">Click here for more information</font></a><font face="Tahoma">.</font></span></div>
<div><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"></span> </div></span></div>
</font></font><p><font style="BACKGROUND-COLOR: #ffffff"><font size="2"></font></font><font style="BACKGROUND-COLOR: #ffffff"><font size="2"><span class="Normal--Char" style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial', 'Arial'"> <br></span></font></font></p></div></div><font style="BACKGROUND-COLOR: #ffffff">
</font><p align="left"><font style="BACKGROUND-COLOR: #ffffff"><font size="2"><br><br><br><br>This message has been scanned for viruses by </font></font><a href="http://www.blackspider.com/"><font style="BACKGROUND-COLOR: #ffffff" color="#000000" size="2">BlackSpider MailControl</font></a></p>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>geonode-users mailing list</span><br><span><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a></span><br><span><a href="https://lists.osgeo.org/mailman/listinfo/geonode-users">https://lists.osgeo.org/mailman/listinfo/geonode-users</a></span><br></div></blockquote></body></html>