Announcing FAS2 Tests!

susmit shannigrahi thinklinux.ssh at gmail.com
Wed Mar 5 17:27:52 UTC 2008


Invite a new community member! Clicking on "send" gives


500 Internal error

The server encountered an unexpected condition which prevented it from
fulfilling the request.

Page handler: <bound method Group.sendinvite of <fas.group.Group
object at 0x154cc90>>
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 sendinvite
  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 sendinvite
  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 sendinvite
  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 418, in _execute_func
    return _process_output(output, template, format, content_type,
mapping, fragment)
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py",
line 86, in _process_output
    fragment=fragment)
  File "/usr/lib/python2.4/site-packages/turbogears/view/base.py",
line 129, in render
    return engine.render(**kw)
  File "/usr/lib/python2.4/site-packages/genshi/template/plugin.py",
line 104, in render
    return self.transform(info, template).render(**kwargs)
  File "/usr/lib/python2.4/site-packages/genshi/core.py", line 154, in render
    return encode(generator, method=method, encoding=encoding)
  File "/usr/lib/python2.4/site-packages/genshi/output.py", line 45, in encode
    output = u''.join(list(iterator))
  File "/usr/lib/python2.4/site-packages/genshi/output.py", line 274,
in __call__
    for kind, data, pos in stream:
  File "/usr/lib/python2.4/site-packages/genshi/output.py", line 519,
in __call__
    for kind, data, pos in stream:
  File "/usr/lib/python2.4/site-packages/genshi/output.py", line 679,
in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "/usr/lib/python2.4/site-packages/genshi/output.py", line 459,
in __call__
    for ev in stream:
  File "/usr/lib/python2.4/site-packages/genshi/core.py", line 212, in _ensure
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/markup.py",
line 252, in _include
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/markup.py",
line 322, in _match
    content = list(self._include(content, ctxt))
  File "/usr/lib/python2.4/site-packages/genshi/template/markup.py",
line 252, in _include
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/markup.py",
line 297, in _match
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/markup.py",
line 286, in _strip
    event = stream.next()
  File "/usr/lib/python2.4/site-packages/genshi/template/markup.py",
line 242, in _exec
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/base.py",
line 411, in _eval
    ctxt):
  File "/usr/lib/python2.4/site-packages/genshi/template/base.py",
line 421, in _eval
    result = data.evaluate(ctxt)
  File "/usr/lib/python2.4/site-packages/genshi/template/eval.py",
line 136, in evaluate
    return eval(self.code, _globals, {'data': data})
  File "/srv/fedora-infrastructure/fas/fas/templates/group/invite.html",
line 11, in <Expression u"tg.url('/group/sendinvite/%s') %
group.name">
    <form method="post" action="${tg.url('/group/sendinvite/%s') % group.name}">
  File "/usr/lib/python2.4/site-packages/genshi/template/eval.py",
line 261, in lookup_name
    val = cls.undefined(name)
  File "/usr/lib/python2.4/site-packages/genshi/template/eval.py",
line 356, in undefined
    raise UndefinedError(key, owner=owner)
UndefinedError: "group" not defined



-- 
Regards,
Susmit.

======================================
ssh
0x86DD170A
http://www.fedoraproject.org/wiki/SusmitShannigrahi
======================================




More information about the infrastructure mailing list