On 09/20/2009 09:44 PM, Jeremy Rosengren wrote:
On Sun, Sep 20, 2009 at 6:34 PM, Michael DeHaan <[email protected]
<mailto:[email protected]>> wrote:
Jeremy Rosengren wrote:
> Upon connecting to http://<server>/cobbler_web, I'm seeing an error.
> I couldn't find anything relevant in the mailing lists leading
up to
> 2.0 release, so I've probably got something wacky in my setup. Can
> anyone shed any light on what's going on here?
>
> (Apologies in advance if copy-n-paste blows up the error page below.
> If it does, I'll resend a copy that's not formatted.)
>
> Thanks,
>
> -- jeremy
>
>
Please paste the "copy and paste" view version of this traceback. The
HTML below does not contain the full text.
Also, did you install from the RPM?
The copy and paste version is copied below.
I tried building the RPM from the source RPM you have in your
people.redhat.com <http://people.redhat.com> directory, but that
source RPM gave an MD5 mismatch error, so I built RPMs from git.
Thanks,
-- jeremy
Environment:
Request Method: GET
Request URL: http://srvr/cobbler_web/
Django Version: 1.1
Python Version: 2.4.3
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'cobbler_web']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware')
Traceback:
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py"
in get_response
92. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/share/cobbler/web/cobbler_web/views.py" in index
58. html = t.render(Context({
Exception Type: AttributeError at /cobbler_web/
Exception Value: 'NoneType' object has no attribute 'version'
------------------------------------------------------------------------
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler
Appears to be refering to the remote (XMLRPC) version method. Can you
check /var/log/cobbler/cobbler.log to see if you see any other
references to version?
That's a remote API call that has been in for a long time and is pretty
simple. Since you built things from git also make sure you have a
/var/lib/cobbler/version file.
You should though.
(Also, what OS were you running this on?)
--Michael
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler