Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'modules'
- /usr/lib/python2.6/dist-packages/twisted/internet/defer.py, line 893 in _inlineCallbacks
- 891
- result = result.throwExceptionIntoGenerator(g)
- 892
- else:
- 893
- result = g.send(result)
- 894
- except StopIteration:
- Locals
- result None
- g <generator object childFactory at 0x63afc80>
- /home/akottukkai/code/df/befit/activelife/pages.py, line 502 in childFactory
- 500
- index = int(name) - 1
- 501
- module = None
- 502
- for m in self.program.template.modules:
- 503
- if m.index == index:
- Locals
- index 0
- self <activelife.pages.ActiveProgramSummaryPage object at 0x5fd2d10>
- name '1'
- module None
- Globals
- program <module 'activelife.program' from '/home/akottukkai/code/df/befit/activelife/program.pyc'>
- <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'modules'
Add Comment
Please, Sign In to add comment