17 Apr
2003
17 Apr
'03
5:11 p.m.
On Thu, 2003-04-17 at 08:01, Ashley Lloyd wrote:
Error Type: AttributeError Error Value: __getitem__
This error is typical when the object you're trying to iterate over isn't a sequence. Most likely, something you've done on lines 2-27 has changed the value of lines to None. Look extra carefully at any and all assignments you make in the external method. In particular, it's possible you may have committed a common error with lists, ex: a = [1,2.3] b = a b = None # now the value of a is None! HTH, Dylan