attribute errors when koji login

陈鲍孜 chenbaozi at gmail.com
Wed Feb 25 01:45:02 UTC 2009


Hello,

After fighting with my carelessness, I finished configuring koji and made it
run. Thanks a lot.

Now, here comes another problem. When I click the  "login link" on the
kojiweb, it returns an error such as below:

Traceback (most recent call last):

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299,
in HandlerDispatch
    result = object(req)

  File "/usr/lib64/python2.4/site-packages/mod_python/publisher.py", line
213, in handler
    published = publish_object(req, object)

  File "/usr/lib64/python2.4/site-packages/mod_python/publisher.py", line
412, in publish_object
    return publish_object(req,util.apply_fs_data(object, req.form, req=req))

  File "/usr/lib64/python2.4/site-packages/mod_python/util.py", line 439, in
apply_fs_data
    return object(**args)

  File "/usr/share/koji-web/scripts/index.py", line 155, in login
    _redirectBack(req, dest, forceSSL=True)

  File "/usr/share/koji-web/scripts/index.py", line 134, in _redirectBack
    page = _getBaseURL(req) + '/' + page

  File "/usr/share/koji-web/scripts/index.py", line 117, in _getBaseURL
    return req.construct_url(base)

AttributeError: 'mp_request' object has no attribute 'construct_url'

I searched google. There are some results, but still not clear for me. Is it
a bug or something due to some wrong configuration? I was run koji on CentOS
with EPEL packages.

Chen Baozi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-buildsys-list/attachments/20090225/814234fe/attachment.htm>


More information about the Fedora-buildsys-list mailing list