On Fri, Sep 18, 2009 at 12:24 PM, Michael DeHaan <mdehaan(a)redhat.com> wrote:
On 09/18/2009 12:54 PM, Jeremy Rosengren wrote:
Attempting to access the management page gives me the error pasted below.
I'm running CentOS 5.3 with a stock /etc/cobbler/modules.conf file except
that I'm using authn_configfile.
Thanks!
-- jeremy
Strange, I have this in utils.py:
def uniquify(seq, idfun=None):
I wonder if there's some way another utils is found in sys.path in your
case? I can't see how that would be the case though.
*thinking*
--Michael
Mod_python error: "PythonAuthenHandler cobbler_web.views"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 287, in
HandlerDispatch
log=debug)
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 464, in
import_module
module = imp.load_module(mname, f, p, d)
File "/usr/share/cobbler/web/cobbler_web/views.py", line 16, in ?
import cobbler.item_distro as item_distro
File "/usr/lib/python2.4/site-packages/cobbler/item_distro.py", line 95, in
?
FIELDS = [
File "/usr/lib/python2.4/site-packages/cobbler/codes.py", line 67, in
get_all_os_versions
results = utils.uniquify(results)
AttributeError: 'module' object has no attribute 'uniquify'
Restarting Apache took care of this problem, but now I can't seem to
authenticate - it keeps asking for my login credentials. I'll try to get
more information about that one.
Thanks,
-- jeremy