<div dir="ltr"><div>It seems to be okay in the upstream specfile.<br></div>I suppose there&#39;s some specfile drift between downstream and upstream?<br><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Aug 13, 2014 at 11:46 PM, Orion Poplawski <span dir="ltr">&lt;<a href="mailto:orion@cora.nwra.com" target="_blank">orion@cora.nwra.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 08/13/2014 10:18 AM, Phil Edwards wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Just stumbled across a problem that had me resorting to the power of<br>
Google for a fix today...<br>
<br>
Cobbler server OS is CentOS 6.5 x86_64<br>
<br>
Cobbler itself is installed from the packages in the EPEL repository and<br>
was upgraded from 2.4 to 2.6 overnight.<br>
<br>
# rpm -qa|grep -i cobbler<br>
cobbler-web-2.6.3-1.el6.noarch<br>
cobbler-2.6.3-1.el6.noarch<br>
<br>
On restarting httpd and cobblerd, I was getting an exception when<br>
accessingthe web interface:<br>
<br>
Exception Type: ImportError<br>
Exception Value: cannot import name patterns<br>
Exception Location: /usr/share/cobbler/web/<u></u>cobbler_web/urls.py in<br>
&lt;module&gt;, line 1<br>
Python Executable: /usr/bin/python<br>
Python Version: 2.6.6<br>
<br>
It turns out that this is caused by the fact that the Django package<br>
version in EPEL is still at 1.3.7. The fix is to change the line at the<br>
top of /usr/share/cobbler/web/<u></u>cobbler_web/urls.py from:<br>
<br>
from django.conf.urls import patterns<br>
<br>
to:<br>
<br>
from django.conf.urls.defaults import *<br>
<br>
And, of course, wait for the EPEL maintainers to get Django 1.4<br>
packaged! The only question I have is whether there s nay other<br>
functionality in v2.6 that relies upon something specific to Django 1.4?<br>
</blockquote>
<br></div></div>
Django 1.4 is packaged as Django14 for EPEL.  I suppose we should change the requires for the EPEL package.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Orion Poplawski<br>
Technical Manager                     303-415-9701 x222<br>
NWRA, Boulder/CoRA Office             FAX: 303-415-9702<br>
3380 Mitchell Lane                       <a href="mailto:orion@nwra.com" target="_blank">orion@nwra.com</a><br>
Boulder, CO 80301                   <a href="http://www.nwra.com" target="_blank">http://www.nwra.com</a></font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
cobbler mailing list<br>
<a href="mailto:cobbler@lists.fedorahosted.org" target="_blank">cobbler@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/cobbler" target="_blank">https://lists.fedorahosted.<u></u>org/mailman/listinfo/cobbler</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Grtz,<br>Jörgen Maas
</div>