All pastes #948132 Raw Edit

Someone

public text v1 · immutable
·published 2008-03-18 22:21 UTC
rendered paste body
 - - "GET /accounts/?tg_format=json HTTP/1.1" 200 53 "" "Python-urllib/2.4"
2008-03-18 22:20:03,977 cherrypy.msg INFO HTTP: Page handler: <bound method Group.apply of <fas.group.Group object at 0x8ad6e50>>
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 121, in _run
    self.main()
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 264, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in apply
  File "/usr/lib/python2.4/site-packages/turbogears/identity/conditions.py", line 242, in require
    return fn(self, *args, **kwargs)
  File "<string>", line 3, in apply
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 200, in validate
    return errorhandling.run_with_errors(errors, func, *args, **kw)
  File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py", line 110, in run_with_errors
    return func(self, *args, **kw)
  File "<string>", line 3, in apply
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 361, in expose
    output = database.run_with_transaction(
  File "<string>", line 5, in run_with_transaction
  File "/usr/lib/python2.4/site-packages/turbogears/database.py", line 405, in sa_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 378, in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 405, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py", line 72, in try_call
    return func(self, *args, **kw)
  File "/usr/lib/python2.4/site-packages/fas/group.py", line 283, in apply
    if not canApplyGroup(person, group, target):
  File "/usr/lib/python2.4/site-packages/fas/auth.py", line 157, in canApplyGroup
    turbogears.flash(_('%s membership required before application to this group is allowed') % prerequisite.name)
AttributeError: 'NoneType' object has no attribute 'name'

 - ricky "GET /accounts/group/apply/web?targetname=toshio HTTP/1.1" 500 791 "https://admin.fedoraproject.org/accounts/group/view/web" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080208 Fedora/2.0.0.12-1.fc8 Firefox/2.0.0.12"