On Mon, Sep 21, 2009 at 9:29 AM, Michael DeHaan <[email protected]> wrote:

>  On 09/20/2009 09:44 PM, Jeremy Rosengren wrote:
>
> On Sun, Sep 20, 2009 at 6:34 PM, Michael DeHaan <[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 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 
> [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
>

/var/log/cobbler/cobbler.log:

[r...@srvr cobbler]# more cobbler.log
Sun Sep 20 04:02:09 2009 - DEBUG | API handle initialized
Sun Sep 20 04:02:10 2009 - DEBUG | XMLRPC running on 25151

/var/lib/cobbler/version:

[r...@srvr cobbler]# more version
builddate: Fri Sep 18 09:09:51 2009
gitdate: '?'
gitstamp: '?'
version: 2.0.0
version_tuple: [2, 0, 0]

OS is CentOS 5.3 with all CentOS-provided updates installed.

Thanks,

-- jeremy
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to