| AttributeError | Python 2.2.3+: /usr/bin/python2.2 Wed Jan 7 03:16:55 2009 |
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/.farukin/singleshotu/demo.singleshot.org/albums/singleshot/singleshot.py |
| 43 print ix.href |
| 44 |
| 45 if item.isdir: |
| 46 directory = item |
| 47 image = None |
| item = None, item.isdir undefined |
AttributeError: 'NoneType' object has no attribute 'isdir'
__doc__ =
'Attribute not found.'
__getitem__ =
<bound method AttributeError.__getitem__ of <exceptions.AttributeError instance>>
__init__ =
<bound method AttributeError.__init__ of <exceptions.AttributeError instance>>
__module__ =
'exceptions'
__str__ =
<bound method AttributeError.__str__ of <exceptions.AttributeError instance>>
args =
("'NoneType' object has no attribute 'isdir'",)