--> -->
 
 
<type 'exceptions.AttributeError'>
Python 2.7.6: /usr/bin/python
Tue Oct 17 03:51:07 2017

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/lib/cgi-bin/listing.cgi in ()
     22                 ListingEngine.web_remove(form)
     23         elif mode == 'view':
=>   24                 ListingEngine.web_view(form)
     25         else:
     26                 ListingTemplate.simple_page("Invalid Mode", "Sorry, that is not a supported mode: " + mode)
ListingEngine = <module 'ListingEngine' from '/usr/lib/cgi-bin/ListingEngine.pyc'>, ListingEngine.web_view = <function web_view>, form = FieldStorage(None, None, [MiniFieldStorage('mode', 'view'), MiniFieldStorage('id', '204')])
 /usr/lib/cgi-bin/ListingEngine.py in web_view(form=FieldStorage(None, None, [MiniFieldStorage('mode', 'view'), MiniFieldStorage('id', '204')]))
    153                 return
    154         
=>  155         ListingTemplate.display_item(data.by_id[int(form['id'].value)])
    156         
    157 def check_id(form, data):
global ListingTemplate = <module 'ListingTemplate' from '/usr/lib/cgi-bin/ListingTemplate.pyc'>, ListingTemplate.display_item = <function display_item>, data = <ListingEngine.ListingStorage instance>, data.by_id = [None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, ...], builtin int = <type 'int'>, form = FieldStorage(None, None, [MiniFieldStorage('mode', 'view'), MiniFieldStorage('id', '204')]), ].value = [MiniFieldStorage('mode', 'view'), MiniFieldStorage('id', '204')]
 /usr/lib/cgi-bin/ListingTemplate.py in display_item(item=None)
    129         print '<TABLE WIDTH="85%">'
    130         print '<TR><TD ROWSPAN=8 COLSPAN=4>'
=>  131         if(len(item.pictures)):
    132                 print '<IMG HEIGHT=410 WIDTH=550 ID=photo NAME=photo SRC="/images/uploads/' + item.pictures[0] + '">'
    133         else:
builtin len = <built-in function len>, item = None, item.pictures undefined

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'pictures'
      args = ("'NoneType' object has no attribute 'pictures'",)
      message = "'NoneType' object has no attribute 'pictures'"