<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 @ 0xaab6aec <Product instance with id=381> <Product instance with id=378> <Product instance with id=382> <Product instance with id=380> <Product instance with id=379> <Product instance with id=383> |
| g | <generator object at 0xa70ca4c> |
/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=381> |
| self | <basiccms.web.gallery.PhotoNavigationFragment object at 0xaab6dcc> |
| l | 6 |
| n | 0 |
| products | List instance @ 0xaab6aec <Product instance with id=381> <Product instance with id=378> <Product instance with id=382> <Product instance with id=380> <Product instance with id=379> <Product instance with id=383> |
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'code'
