On 09/29/2009 01:27 PM, Bryan Schneiders wrote:
> cobbler-2.0.0-1.fc10.noarch
> cobbler-web-2.0.0-1.fc10.noarch
>
>
> I can access the Settings, Events, Distros, Profiles, Systems, Repos, Images, 
> Kickstart Templates and Snippets fine.
> But when I try to visit the "Check", "Sync", "Reposync" or "Build ISO" pages 
> in the new web interface, I get the following error.
>
>
>
> Fault at /cobbler_web/check
>
> <Fault 1: "<type 'exceptions.AttributeError'>:'NoneType' object has no 
> attribute 'can_access'">
>
> Request Method:       GET
> Request URL:  http://fs1.woti.com/cobbler_web/check
> Exception Type:       Fault
> Exception Value:      
>
> <Fault 1: "<type 'exceptions.AttributeError'>:'NoneType' object has no 
> attribute 'can_access'">
>
> Exception Location:   /usr/lib/python2.5/xmlrpclib.py in close, line 790
> Python Executable:    /usr/bin/python
> Python Version:       2.5.2
> Python Path:  ['/usr/share/cobbler/web/', 
> '/usr/lib/python2.5/site-packages/cobbler/modules', 
> '/usr/lib/python2.5/site-packages/cobbler', '/usr/lib/python25.zip', 
> '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', 
> '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', 
> '/usr/lib/python2.5/site-packages', 
> '/usr/lib/python2.5/site-packages/Numeric', 
> '/usr/lib/python2.5/site-packages/PIL', 
> '/usr/lib/python2.5/site-packages/gtk-2.0', '/var/www/cobbler/svc/']
> Server time:  Tue, 29 Sep 2009 17:26:28 +0000
>
> Environment:
>
> Request Method: GET
> Request URL: http://fs1.woti.com/cobbler_web/check
> Django Version: 1.0.3
> Python Version: 2.5.2
> 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.5/site-packages/django/core/handlers/base.py" in 
> get_response
>    91.                 response = callback(request, *callback_args, 
> **callback_kwargs)
> File "/usr/share/cobbler/web/cobbler_web/views.py" in check
>    506.    results = remote.check(token)
> File "/usr/lib/python2.5/xmlrpclib.py" in __call__
>    1150.         return self.__send(self.__name, args)
> File "/usr/lib/python2.5/xmlrpclib.py" in __request
>    1440.             verbose=self.__verbose
> File "/usr/lib/python2.5/xmlrpclib.py" in request
>    1204.         return self._parse_response(h.getfile(), sock)
> File "/usr/lib/python2.5/xmlrpclib.py" in _parse_response
>    1343.         return u.close()
> File "/usr/lib/python2.5/xmlrpclib.py" in close
>    790.             raise Fault(**self._stack[0])
>
> Exception Type: Fault at /cobbler_web/check
> Exception Value:<Fault 1: "<type 'exceptions.AttributeError'>:'NoneType' 
> object has no attribute 'can_access'">
>
>    

Are you by chance using authz_configfile in /etc/cobbler/modules.conf? 
It seems that is the only place in Cobbler that references it from what 
I see... if not, I'll need a bit more info (and can tell you what if so).

For tracking purposes: https://fedorahosted.org/cobbler/ticket/505#preview

Thanks again!

--Michael

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to