All pastes #709523 Raw Edit

Unnamed

public text v1 · immutable
#709523 ·published 2007-09-24 19:17 UTC
rendered paste body
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
 /var/www/cgi-bin/cobbler/webui.cgi in ()
  106     print
  107     print content
  108 
  109 main()
  110 
main = <function main at 0x987abfc>
 /var/www/cgi-bin/cobbler/webui.cgi in main()
   90     if path in cw.modes():
   91         func = getattr( cw, path )
   92         content = func( **form )
   93             
   94     # handle invalid paths gracefully
content = "Something went wrong and I couldn't generate any content for you!", func = <bound method CobblerWeb.system_edit of <cobbler.webui.CobblerWeb.CobblerWeb object at 0xb7e8fdac>>, form = {}
 /usr/lib/python2.5/site-packages/cobbler/webui/CobblerWeb.py in system_edit(self=<cobbler.webui.CobblerWeb.CobblerWeb object at 0xb7e8fdac>, name=None)
  460             input_system = self.remote.get_system(name,True)
  461 
  462         input_system['netboot_enabled'] = self.__truth(input_system['netboot_enabled'])
  463 
  464         return self.__render( 'system_edit.tmpl', {
input_system = None, self = <cobbler.webui.CobblerWeb.CobblerWeb object at 0xb7e8fdac>, self.__truth undefined

<type 'exceptions.TypeError'>: 'NoneType' object is unsubscriptable