<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'code'
/home/into-the-light/site/py/lib/python2.5/site-packages/twisted/internet/defer.py, line 726 in _inlineCallbacks
724
result = g.throw(result.type, result.value, result.tb)
725
else:
726
result = g.send(result)
727
except StopIteration:
Locals
| result | List instance @ 0xa9b3aac <Product instance with id=371> |
| g | <generator object at 0xa95a42c> |
/home/nigelhalliwell/site/testing/share/basiccms/web/gallery.py, line 296 in data_navigation
294
l = len(products)
295
for n,product in enumerate(products):
296
if product.code == self.photo.code:
297
if self.command is not None:
Self
| photo | None |
| command | photo |
Locals
| product | <Product instance with id=371> |
| self | <basiccms.web.gallery.PhotoNavigationFragment object at 0xa826d2c> |
| l | 1 |
| n | 0 |
| products | List instance @ 0xa9b3aac <Product instance with id=371> |
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'code'
