--> -->
 
 
<type 'exceptions.KeyError'>
Python 2.5.2: /usr/bin/python
Mon May 21 20:18:38 2012

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/home/wattersm/public_html/viewtag.py in ()
   39         common.show_stories(tagname)
   40 
   41         print "</div>\n"
   42 
   43 main()
main = <function main at 0x82718ec>
 /usr/home/wattersm/public_html/viewtag.py in main()
   22 
   23         input = cgi.FieldStorage()
   24         tagname = input['tag'].value
   25 
   26         print_header()
tagname undefined, input = FieldStorage(None, None, []), ].value = []
 /usr/lib/python2.5/cgi.py in __getitem__(self=FieldStorage(None, None, []), key='tag')
  565             if item.name == key: found.append(item)
  566         if not found:
  567             raise KeyError, key
  568         if len(found) == 1:
  569             return found[0]
builtin KeyError = <type 'exceptions.KeyError'>, key = 'tag'

<type 'exceptions.KeyError'>: 'tag'
      args = ('tag',)
      message = 'tag'