SHARE
TWEET

Untitled

a guest Aug 28th, 2013 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Exception
  2. AttributeError: 'NoneType' object has no attribute '__name__'
  3.  
  4. Traceback
  5. File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 132, in publish
  6.   result = publication.callObject(request, obj)
  7. File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 207, in callObject
  8.   return mapply(ob, request.getPositionalArguments(), request)
  9. File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 107, in mapply
  10.   return debug_call(obj, args)
  11. Extra information: <schooltool.skin.flourish.zcml_content.ManageSchool_manage object at 0xac5152c>
  12. File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 113, in debug_call
  13.   return obj(*args)
  14. File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/page.py", line 93, in __call__
  15.   result = self.render(*args, **kw)
  16. File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/page.py", line 54, in render
  17.   return self.template(*args, **kw)
  18. File "/usr/lib/python2.7/dist-packages/zope/browserpage/viewpagetemplatefile.py", line 83, in __call__
  19.   return self.im_func(im_self, *args, **kw)
  20. File "/usr/lib/python2.7/dist-packages/zope/browserpage/viewpagetemplatefile.py", line 51, in __call__
  21.   sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  22. File "/usr/lib/python2.7/dist-packages/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
  23.   strictinsert=0, sourceAnnotations=sourceAnnotations
  24. Template "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/templates/main.pt"
  25. File "/usr/lib/python2.7/dist-packages/zope/pagetemplate/pagetemplate.py", line 240, in __call__
  26.   interpreter()
  27. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 271, in __call__
  28.   self.interpret(self.program)
  29. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 343, in interpret
  30.   handlers[opcode](self, args)
  31. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  32.   self.do_optTag(stuff)
  33. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 518, in do_optTag
  34.   return self.no_tag(start, program)
  35. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 513, in no_tag
  36.   self.interpret(program)
  37. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 343, in interpret
  38.   handlers[opcode](self, args)
  39. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 742, in do_insertStructure_tal
  40.   structure = self.engine.evaluateStructure(expr)
  41. File "/usr/lib/python2.7/dist-packages/zope/tales/tales.py", line 696, in evaluate
  42.   return expression(self)
  43. Template "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/templates/main.pt", line 79, column 8
  44.   Expression: <PathExpr standard:u'view/page_template|nothing'>
  45. File "/usr/lib/python2.7/dist-packages/zope/tales/expressions.py", line 217, in __call__
  46.   return self._eval(econtext)
  47. File "/usr/lib/python2.7/dist-packages/zope/tales/expressions.py", line 211, in _eval
  48.   return ob()
  49. File "/usr/lib/python2.7/dist-packages/zope/browserpage/viewpagetemplatefile.py", line 83, in __call__
  50.   return self.im_func(im_self, *args, **kw)
  51. File "/usr/lib/python2.7/dist-packages/zope/browserpage/viewpagetemplatefile.py", line 51, in __call__
  52.   sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  53. File "/usr/lib/python2.7/dist-packages/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
  54.   strictinsert=0, sourceAnnotations=sourceAnnotations
  55. Template "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/templates/page.pt"
  56. File "/usr/lib/python2.7/dist-packages/zope/pagetemplate/pagetemplate.py", line 240, in __call__
  57.   interpreter()
  58. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 271, in __call__
  59.   self.interpret(self.program)
  60. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 343, in interpret
  61.   handlers[opcode](self, args)
  62. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
  63.   self.engine.setLocal(name, self.engine.evaluateValue(expr))
  64. File "/usr/lib/python2.7/dist-packages/zope/tales/tales.py", line 696, in evaluate
  65.   return expression(self)
  66. Template "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/templates/page.pt", line 23, column 2
  67.   Expression: <PathExpr standard:u'view/providers/page_content|nothing'>
  68. File "/usr/lib/python2.7/dist-packages/zope/tales/expressions.py", line 217, in __call__
  69.   return self._eval(econtext)
  70. File "/usr/lib/python2.7/dist-packages/zope/tales/expressions.py", line 211, in _eval
  71.   return ob()
  72. File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/content.py", line 56, in __call__
  73.   return self.render(*args, **kw)
  74. File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/page.py", line 152, in render
  75.   result = ViewletManager.render(self, *args, **kw)
  76. File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/viewlet.py", line 236, in <lambda>
  77.   render = lambda self, *args, **kw: self.template(*args, **kw)
  78. File "/usr/lib/python2.7/dist-packages/zope/browserpage/viewpagetemplatefile.py", line 83, in __call__
  79.   return self.im_func(im_self, *args, **kw)
  80. File "/usr/lib/python2.7/dist-packages/schooltool/common/inlinept.py", line 110, in __call__
  81.   showtal=getattr(instance.request.debug, 'showTAL', False),
  82. File "/usr/lib/python2.7/dist-packages/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
  83.   strictinsert=0, sourceAnnotations=sourceAnnotations
  84. File "/usr/lib/python2.7/dist-packages/zope/pagetemplate/pagetemplate.py", line 240, in __call__
  85.   interpreter()
  86. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 271, in __call__
  87.   self.interpret(self.program)
  88. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 343, in interpret
  89.   handlers[opcode](self, args)
  90. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 821, in do_loop_tal
  91.   self.interpret(block)
  92. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 343, in interpret
  93.   handlers[opcode](self, args)
  94. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  95.   self.do_optTag(stuff)
  96. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 518, in do_optTag
  97.   return self.no_tag(start, program)
  98. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 513, in no_tag
  99.   self.interpret(program)
  100. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 343, in interpret
  101.   handlers[opcode](self, args)
  102. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
  103.   self.engine.setLocal(name, self.engine.evaluateValue(expr))
  104. File "/usr/lib/python2.7/dist-packages/zope/tales/tales.py", line 696, in evaluate
  105.   return expression(self)
  106. Template "None", line 3, column 10
  107.   Expression: <PathExpr standard:'viewlet'>
  108. File "/usr/lib/python2.7/dist-packages/zope/tales/expressions.py", line 217, in __call__
  109.   return self._eval(econtext)
  110. File "/usr/lib/python2.7/dist-packages/zope/tales/expressions.py", line 211, in _eval
  111.   return ob()
  112. File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/viewlet.py", line 74, in __call__
  113.   return self.render(*args, **kw)
  114. File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/page.py", line 183, in <lambda>
  115.   render = lambda self, *a, **kw: self.template(*a, **kw)
  116. File "/usr/lib/python2.7/dist-packages/zope/browserpage/viewpagetemplatefile.py", line 83, in __call__
  117.   return self.im_func(im_self, *args, **kw)
  118. File "/usr/lib/python2.7/dist-packages/zope/browserpage/viewpagetemplatefile.py", line 51, in __call__
  119.   sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  120. File "/usr/lib/python2.7/dist-packages/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
  121.   strictinsert=0, sourceAnnotations=sourceAnnotations
  122. Template "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/templates/page_content.pt"
  123. File "/usr/lib/python2.7/dist-packages/zope/pagetemplate/pagetemplate.py", line 240, in __call__
  124.   interpreter()
  125. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 271, in __call__
  126.   self.interpret(self.program)
  127. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 343, in interpret
  128.   handlers[opcode](self, args)
  129. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
  130.   self.engine.setLocal(name, self.engine.evaluateValue(expr))
  131. File "/usr/lib/python2.7/dist-packages/zope/tales/tales.py", line 696, in evaluate
  132.   return expression(self)
  133. Template "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/templates/page_content.pt", line 1, column 0
  134.   Expression: <PathExpr standard:u'view/body_template'>
  135. File "/usr/lib/python2.7/dist-packages/zope/tales/expressions.py", line 217, in __call__
  136.   return self._eval(econtext)
  137. File "/usr/lib/python2.7/dist-packages/zope/tales/expressions.py", line 211, in _eval
  138.   return ob()
  139. File "/usr/lib/python2.7/dist-packages/zope/browserpage/viewpagetemplatefile.py", line 83, in __call__
  140.   return self.im_func(im_self, *args, **kw)
  141. File "/usr/lib/python2.7/dist-packages/zope/browserpage/viewpagetemplatefile.py", line 51, in __call__
  142.   sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  143. File "/usr/lib/python2.7/dist-packages/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
  144.   strictinsert=0, sourceAnnotations=sourceAnnotations
  145. Template "/usr/lib/python2.7/dist-packages/schooltool/timetable/browser/templates/f_manage_timetables_overview.pt"
  146. File "/usr/lib/python2.7/dist-packages/zope/pagetemplate/pagetemplate.py", line 240, in __call__
  147.   interpreter()
  148. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 271, in __call__
  149.   self.interpret(self.program)
  150. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 343, in interpret
  151.   handlers[opcode](self, args)
  152. File "/usr/lib/python2.7/dist-packages/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
  153.   self.engine.setLocal(name, self.engine.evaluateValue(expr))
  154. File "/usr/lib/python2.7/dist-packages/zope/tales/tales.py", line 696, in evaluate
  155.   return expression(self)
  156. Template "/usr/lib/python2.7/dist-packages/schooltool/timetable/browser/templates/f_manage_timetables_overview.pt", line 1, column 0
  157.   Expression: <PathExpr standard:u'view/timetables_url'>
  158. File "/usr/lib/python2.7/dist-packages/zope/tales/expressions.py", line 217, in __call__
  159.   return self._eval(econtext)
  160. File "/usr/lib/python2.7/dist-packages/zope/tales/expressions.py", line 211, in _eval
  161.   return ob()
  162. File "/usr/lib/python2.7/dist-packages/schooltool/timetable/browser/app.py", line 286, in timetables_url
  163.   self.schoolyear.__name__)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top