Hello,

I configured WebAccess so that only users attached to our "cleo" role can submit or modify records of the "CLEO" doctype, as instructed in the WebSubmit Admin Guide. The restriction seems to work properly, as users not attached to the "cleo" role are not able to submit or modify these records. However, we get the following "too many values to unpack" error when a user who *is* connected to the "cleo" role (and should have permission) tries to submit a new "CLEO" record.

Any help or suggestions would be greatly appreciated, and please let me know if there are any other details I can provide.

Many thanks,
Devin


Begin forwarded message:
Hello:

The following problem occurred on <https://edms.classe.cornell.edu> (https://edms.classe.cornell.edu )

Registered exception

2008-06-27 10:59:14 -> ValueError: too many values to unpack

User details

agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_3; en- us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 Safari/525.20
apache_group: []
apache_user: None
      email: [email protected]
      group: ['CLEO', 'Theses viewers']
      guest: 0
   language: en
 last_login: 2008-06-27 10:59:10
login_method: W4restrict
   nickname: twiki
referer: <https://edms.classe.cornell.edu/submit?doctype=CLEO&ln=en > (https://edms.classe.cornell.edu/submit?doctype=CLEO&amp;ln=en)
remote_host:
  remote_ip: 192.168.213.159
        uid: 21
uri: </submit? doctype = CLEO&indir=running&access=1214578752_4417&act=SBI&startPg=1&mainmenu= %2Fsubmit%3Fdoctype%3DCLEO%26ln%3Den&ln=en&comboCLEO=CPDRAFT>

Traceback details

Forced 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/invenio/ webinterface_handler.py", line 288, in _profiler
   return _handler(req)
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/invenio/ webinterface_handler.py", line 304, in _handler
   return root._traverse(req, path)
File "/usr/lib/python2.4/site-packages/invenio/ webinterface_handler.py", line 210, in _traverse
   result = obj(req, form)
File "/usr/lib/python2.4/site-packages/invenio/ websubmit_webinterface.py", line 533, in index
   return _index(req, **args)
File "/usr/lib/python2.4/site-packages/invenio/ websubmit_webinterface.py", line 527, in _index
   nbPg, curpage)
File "/usr/lib/python2.4/site-packages/invenio/ websubmit_engine.py", line 297, in interface (auth_code, auth_message) = acc_authorize_action(req, "submit", verbose=0, doctype=doctype, act=act) File "/usr/lib/python2.4/site-packages/invenio/ access_control_engine.py", line 384, in acc_authorize_action for (role, action, arglistid, arg, keyword, val) in res5 + [(-1, -1, -1, -1, -1, -1)]:
ValueError: too many values to unpack

Best regards
--
CLASSE EDMS <https://edms.classe.cornell.edu> (https://edms.classe.cornell.edu )

Reply via email to