daily pastebin goal
96%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'modules'
  2. /usr/lib/python2.6/dist-packages/twisted/internet/defer.py, line 893 in _inlineCallbacks
  3. 891
  4.  
  5.                 result = result.throwExceptionIntoGenerator(g)
  6.  
  7. 892
  8.  
  9.             else:
  10.  
  11. 893
  12.  
  13.                 result = g.send(result)
  14.  
  15. 894
  16.  
  17.         except StopIteration:
  18.  
  19. Locals
  20. result  None
  21. g   <generator object childFactory at 0x63afc80>
  22. /home/akottukkai/code/df/befit/activelife/pages.py, line 502 in childFactory
  23. 500
  24.  
  25.             index = int(name) - 1
  26.  
  27. 501
  28.  
  29.             module = None
  30.  
  31. 502
  32.  
  33.             for m in self.program.template.modules:
  34.  
  35. 503
  36.  
  37.                 if m.index == index:
  38.  
  39. Locals
  40. index   0
  41. self    <activelife.pages.ActiveProgramSummaryPage object at 0x5fd2d10>
  42. name    '1'
  43. module  None
  44. Globals
  45. program <module 'activelife.program' from '/home/akottukkai/code/df/befit/activelife/program.pyc'>
  46.  
  47. <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'modules'
RAW Paste Data
Top