Hello,

It looks like I receive a "list index out of range" error when adding the first authorization to a role. For example:
- Go to "Role Administration" in WebAccess Admin
- click on "Add Authorizathion" for the webaccessadmin role
- select the cfgwebaccess action
- After clicking on confirm, the following error is displayed. Despite the error, however, the addition does seem to work properly.

------
Mod_python error: "PythonHandler mod_python.publisher"

Traceback (most recent call last):

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

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

File "/usr/lib/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/lib/python2.4/site-packages/mod_python/util.py", line 439, in apply_fs_data
    return object(**args)

File "/opt/cds-invenio/var/www/admin/webaccess/webaccessadmin.py", line 305, in addauthorization
    confirm=confirm,

File "/usr/lib/python2.4/site-packages/invenio/ webaccessadmin_lib.py", line 2758, in perform_addauthorization
    new = [res2[0]]

IndexError: list index out of range
------

I would greatly appreciate knowing if there is anything I should do to avoid this error (or any problems it may cause).

Many thanks,
Devin

Reply via email to