| KeyError | Python 2.4.3: /usr/bin/python Wed May 22 20:37:04 2013 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/httpd/cgi-bin/oetoc |
| 4 |
| 5 sys.path.insert(0, '/ums1/lib/python') |
| 6 import appw3 |
| 7 |
| 8 appw3.run_application('/ums1/OEUVRES', 'oetoc') |
| appw3 = <module 'appw3' from '/ums1/lib/python/appw3.pyc'>, appw3.run_application = <function run_application> |
| /ums1/lib/python/appw3.py in run_application(app_root='/ums1/OEUVRES', name='oetoc', debug=1) |
| 104 app_class = getattr(module, classname) |
| 105 app = app_class(name) |
| 106 app.run() |
| 107 |
| 108 def make_link(text, *args, **kwargs): |
| app = <oew3.OETOC instance>, app.run = <bound method OETOC.run of <oew3.OETOC instance>> |
| /home/httpd/cgi-bin/oew3.py in run(self=<oew3.OETOC instance>) |
| 210 pass |
| 211 def run(self): |
| 212 id = form['id'] |
| 213 db = xmldb.getDb(app_config.get('general', 'xmlstore')) |
| 214 v = db.volumes[id] |
| builtin id = <built-in function id>, global form = {'doi': 'OE_KLEIN__3'} |
KeyError: 'id'
args =
('id',)