Ronald J. Yacketta wrote:
> Looks like this is only happening when the users attempt to edit a 
> KickStart file, everything else appears to work and provides a nice 
> warning indicating that the user doe snot have permissions.
>
>
> -Ron
>
> Ronald J. Yacketta wrote:
>> Hello all!
>>
>> Now that I have things working as I wish from the command line I set 
>> out to dabble in the webui side of cobbler. Currently have cobbler 
>> set to-do ldap authentication via modules.conf as well as added my 
>> ldap uid to users.conf [admins] section. This works like a champ, 
>> but, did notice that if I do not put a uid in the users.conf the 
>> following exception is thrown:
>>
>>
>> Traceback (most recent call last):
>>
>>   File "/usr/lib/python2.5/site-packages/mod_python/importer.py", 
>> line 1537, in HandlerDispatch
>>     default=default_handler, arg=req, silent=hlist.silent)
>>
>>   File "/usr/lib/python2.5/site-packages/mod_python/importer.py", 
>> line 1229, in _process_target
>>     result = _execute_target(config, req, object, arg)
>>
>>   File "/usr/lib/python2.5/site-packages/mod_python/importer.py", 
>> line 1128, in _execute_target
>>     result = object(arg)
>>
>>   File "/var/www/cobbler/web/index.py", line 123, in handler
>>     content = func( **form )
>>
>>   File 
>> "/usr/lib/python2.5/site-packages/cobbler/webui/CobblerWeb.py", line 
>> 768, in ksfile_edit
>>     'deleteable' : not self.remote.is_kickstart_in_use(name,self.token),
>>
>>   File "/usr/lib/python2.5/xmlrpclib.py", line 1150, in __call__
>>     return self.__send(self.__name, args)
>>
>>   File "/usr/lib/python2.5/xmlrpclib.py", line 1440, in __request
>>     verbose=self.__verbose
>>
>>   File "/usr/lib/python2.5/xmlrpclib.py", line 1204, in request
>>     return self._parse_response(h.getfile(), sock)
>>
>>   File "/usr/lib/python2.5/xmlrpclib.py", line 1343, in _parse_response
>>     return u.close()
>>
>>   File "/usr/lib/python2.5/xmlrpclib.py", line 790, in close
>>     raise Fault(**self._stack[0])
>>
>> Fault: <Fault 1: "<type 'exceptions.NameError'>:global name '_' is 
>> not defined">
>>
>> I searched the wiki and google without any luck :(
>>
>> -Ron
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> cobbler mailing list
>> [email protected]
>> https://fedorahosted.org/mailman/listinfo/cobbler
>>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

This is related to the message I previously shared about error reporting 
and the missing "import" line in remote.py

This is not the actual error message but is representative of Cobbler 
not being able to give you the correct message.

This is fixed in later versions.

As for your users file, it would only make sense that it would need to 
be in a valid format.

--Michael


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

Reply via email to