--> -->
 
 
TypeError
Python 2.4.4: /usr/local/bin/python
Thu Sep 9 13:05:15 2010

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/websites/jameshardie/homeowner/locateARemodeler.py
  232 
  233 if form.has_key("zip"):
  234         getClosestList(zipcode, isID)
  235 else:
  236         page = "locateARemodeler.tmpl"
getClosestList = <function getClosestList>, zipcode = '60025', isID = '24550'
 /usr/websites/jameshardie/homeowner/locateARemodeler.py in getClosestList(number='60025', isID='24550')
  167         elif len(allrows) > 0 and isID != "0":
  168                 allrows = [list(c) for c in allrows]
  169                 showSingle(allrows, row)
  170         elif len(allrows) == 0:
  171                 if (isID != "0"):
global showSingle = <function showSingle>, allrows = [['26304', '60025', '26304', 'AB Edward Enterprises INC', '10350 Dearlove Rd #D', '', 'Glenview', 'IL', '60025', '(847) 827-1605', '', 'www.abedward.com', '', '', '', '', 'SF', 0L], ['18511', '60025', '18511', 'Pro-Line Exteriors Inc.', '1152 Rose Rd', '', 'Lake Zurich', 'IL', '60047', '(847) 710-9996', '', 'www.prolineexteriors.com', '', '', '', '', 'SF', 0L], ['25586', '60025', '25586', 'Siding & Windows Group', '1229 Greenbay Road', '', 'Wilmette', 'IL', '60091', '(847) 251-4200', '', 'www.sidinggroup.com', '', '', '', '', 'SF', 0L]], row = None
 /usr/websites/jameshardie/homeowner/locateARemodeler.py in showSingle(allrows=[['26304', '60025', '26304', 'AB Edward Enterprises INC', '10350 Dearlove Rd #D', '', 'Glenview', 'IL', '60025', '(847) 827-1605', '', 'www.abedward.com', '', '', '', '', 'SF', 0L], ['18511', '60025', '18511', 'Pro-Line Exteriors Inc.', '1152 Rose Rd', '', 'Lake Zurich', 'IL', '60047', '(847) 710-9996', '', 'www.prolineexteriors.com', '', '', '', '', 'SF', 0L], ['25586', '60025', '25586', 'Siding & Windows Group', '1229 Greenbay Road', '', 'Wilmette', 'IL', '60091', '(847) 251-4200', '', 'www.sidinggroup.com', '', '', '', '', 'SF', 0L]], row=None)
  110         cnt = 0
  111         for i, id in enumerate(ids):
  112                 if id[0] == row[0]:
  113                         id.append("1")
  114                         if i > 0:
id = ['26304'], row = None

TypeError: unsubscriptable object
      args = ('unsubscriptable object',)