Advertisement
Guest User

Untitled

a guest
Sep 17th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 62.85 KB | None | 0 0
  1. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 129, in TATKCoachingPrograms.txt
  2. Failed example:
  3.     browser.open(viewer.absolute_url())
  4. Exception raised:
  5.     Traceback (most recent call last):
  6.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  7.         compileflags, 1) in test.globs
  8.       File "<doctest TATKCoachingPrograms.txt[62]>", line 1, in <module>
  9.         browser.open(viewer.absolute_url())
  10.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 240, in open
  11.         self.mech_browser.open(url, data)
  12.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
  13.         return self._mech_open(url, data, timeout=timeout)
  14.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
  15.         response = UserAgentBase.open(self, request, data)
  16.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
  17.         response = urlopen(self, req, data)
  18.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
  19.         '_open', req)
  20.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
  21.         result = func(*args)
  22.       File "/home/alepereira/dev/takt/buildout-cache/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/_z2_testbrowser.py", line 64, in http_open
  23.         return self.do_open(connectionFactory, req)
  24.       File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
  25.         h.request(req.get_method(), req.get_selector(), req.data, headers)
  26.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
  27.         self.response = self.caller(request_string, handle_errors)
  28.       File "/home/alepereira/dev/takt/buildout-cache/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/_z2_testbrowser.py", line 122, in wrapped_func
  29.         return func(*args, **kw)
  30.       File "/home/alepereira/dev/takt/buildout-cache/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/_z2_testbrowser.py", line 218, in __call__
  31.         debug=not handle_errors,
  32.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Test.py", line 202, in publish_module
  33.         response = publish(request, module_name, after_list, debug=debug)
  34.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 126, in publish
  35.         request, bind=1)
  36.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
  37.         if debug is not None: return debug(object,args,context)
  38.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 46, in call_object
  39.         result=apply(object,args) # Type s<cr> to step into published object.
  40.       File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/TATKCoachingProgramsView.py", line 174, in __call__
  41.         return self.template()
  42.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
  43.         return self.im_func(im_self, *args, **kw)
  44.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
  45.         sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  46.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.pagetemplate-3.5.2-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 113, in pt_render
  47.         strictinsert=0, sourceAnnotations=sourceAnnotations)()
  48.        - Warning: Macro expansion failed
  49.        - Warning: <type 'exceptions.KeyError'>: 'COLHeaders'
  50.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 271, in __call__
  51.         self.interpret(self.program)
  52.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  53.         handlers[opcode](self, args)
  54.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
  55.         self.interpret(macro)
  56.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  57.         handlers[opcode](self, args)
  58.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  59.         self.do_optTag(stuff)
  60.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  61.         return self.no_tag(start, program)
  62.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  63.         self.interpret(program)
  64.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  65.         handlers[opcode](self, args)
  66.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
  67.         self.interpret(block)
  68.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  69.         handlers[opcode](self, args)
  70.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  71.         self.do_optTag(stuff)
  72.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  73.         return self.no_tag(start, program)
  74.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  75.         self.interpret(program)
  76.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  77.         handlers[opcode](self, args)
  78.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
  79.         self.interpret(macro)
  80.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  81.         handlers[opcode](self, args)
  82.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
  83.         self.interpret(block)
  84.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  85.         handlers[opcode](self, args)
  86.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  87.         self.do_optTag(stuff)
  88.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  89.         return self.no_tag(start, program)
  90.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  91.         self.interpret(program)
  92.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  93.         handlers[opcode](self, args)
  94.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
  95.         self.interpret(slot)
  96.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  97.         handlers[opcode](self, args)
  98.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
  99.         self.interpret(macro)
  100.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  101.         handlers[opcode](self, args)
  102.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  103.         self.do_optTag(stuff)
  104.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  105.         return self.no_tag(start, program)
  106.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  107.         self.interpret(program)
  108.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  109.         handlers[opcode](self, args)
  110.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 852, in do_condition
  111.         self.interpret(block)
  112.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  113.         handlers[opcode](self, args)
  114.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  115.         self.do_optTag(stuff)
  116.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  117.         return self.no_tag(start, program)
  118.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  119.         self.interpret(program)
  120.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  121.         handlers[opcode](self, args)
  122.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 852, in do_condition
  123.         self.interpret(block)
  124.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  125.         handlers[opcode](self, args)
  126.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  127.         self.do_optTag(stuff)
  128.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  129.         return self.no_tag(start, program)
  130.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  131.         self.interpret(program)
  132.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  133.         handlers[opcode](self, args)
  134.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 852, in do_condition
  135.         self.interpret(block)
  136.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  137.         handlers[opcode](self, args)
  138.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  139.         self.do_optTag(stuff)
  140.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  141.         return self.no_tag(start, program)
  142.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  143.         self.interpret(program)
  144.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  145.         handlers[opcode](self, args)
  146.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
  147.         self.engine.setLocal(name, self.engine.evaluateValue(expr))
  148.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
  149.         return expression(self)
  150.        - /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/./templates/TATKCoachingProgramsView.pt
  151.        - Line 50, Column 28
  152.        - Expression: <PythonExpr (view.initialize_program_lists(show_all))>
  153.        - Names:
  154.           {'args': (),
  155.            'container': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
  156.            'context': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
  157.            'default': <object object at 0x7fcfd14a4420>,
  158.            'here': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
  159.            'loop': {},
  160.            'nothing': None,
  161.            'options': {},
  162.            'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7fcfc0dc1e10>,
  163.            'request': <HTTPRequest, URL=None>,
  164.            'root': <Application at >,
  165.            'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7fcfc23d3650>,
  166.            'traverse_subpath': [],
  167.            'user': <PloneUser 'amember'>,
  168.            'view': <Products.Five.metaclass.SimpleViewClass from /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/templates/TATKCoachingProgramsView.pt object at 0x7fcfc0dae910>,
  169.            'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7fcfc29c42d0>}
  170.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/pythonexpr.py", line 59, in __call__
  171.         return eval(self._code, vars)
  172.        - __traceback_info__: (view.initialize_program_lists(show_all))
  173.       File "<string>", line 1, in <module>
  174.       File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/devsrc/Products.CACoachingPrograms/src/Products/CACoachingPrograms/browser/CACoachingProgramView.py", line 454, in initialize_program_lists
  175.         self.countActionSequences = len(programObj.getTotalNumberOfActionSequences())
  176.     TypeError: object of type 'int' has no len()
  177. ----------------------------------------------------------------------
  178. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 130, in TATKCoachingPrograms.txt
  179. Failed example:
  180.     "Sequence AM_1" in browser.contents
  181. Exception raised:
  182.     Traceback (most recent call last):
  183.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  184.         compileflags, 1) in test.globs
  185.       File "<doctest TATKCoachingPrograms.txt[63]>", line 1, in <module>
  186.         "Sequence AM_1" in browser.contents
  187.     TypeError: argument of type 'NoneType' is not iterable
  188. ----------------------------------------------------------------------
  189. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 141, in TATKCoachingPrograms.txt
  190. Failed example:
  191.     browser.getControl(name=targetDate).value = "11/24/2010"
  192. Exception raised:
  193.     Traceback (most recent call last):
  194.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  195.         compileflags, 1) in test.globs
  196.       File "<doctest TATKCoachingPrograms.txt[67]>", line 1, in <module>
  197.         browser.getControl(name=targetDate).value = "11/24/2010"
  198.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
  199.         label, name, self.mech_browser.forms(), include_subcontrols=True)
  200.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
  201.         if not self.viewing_html():
  202.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
  203.         raise BrowserStateError("not viewing any document")
  204.     BrowserStateError: not viewing any document
  205. ----------------------------------------------------------------------
  206. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 142, in TATKCoachingPrograms.txt
  207. Failed example:
  208.     browser.getControl(label="Save").click()
  209. Exception raised:
  210.     Traceback (most recent call last):
  211.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  212.         compileflags, 1) in test.globs
  213.       File "<doctest TATKCoachingPrograms.txt[68]>", line 1, in <module>
  214.         browser.getControl(label="Save").click()
  215.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
  216.         label, name, self.mech_browser.forms(), include_subcontrols=True)
  217.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
  218.         if not self.viewing_html():
  219.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
  220.         raise BrowserStateError("not viewing any document")
  221.     BrowserStateError: not viewing any document
  222. ----------------------------------------------------------------------
  223. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 143, in TATKCoachingPrograms.txt
  224. Failed example:
  225.     "Changes Saved at" in browser.contents
  226. Exception raised:
  227.     Traceback (most recent call last):
  228.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  229.         compileflags, 1) in test.globs
  230.       File "<doctest TATKCoachingPrograms.txt[69]>", line 1, in <module>
  231.         "Changes Saved at" in browser.contents
  232.     TypeError: argument of type 'NoneType' is not iterable
  233. ----------------------------------------------------------------------
  234. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 145, in TATKCoachingPrograms.txt
  235. Failed example:
  236.     "11/24/2010" in browser.contents
  237. Exception raised:
  238.     Traceback (most recent call last):
  239.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  240.         compileflags, 1) in test.globs
  241.       File "<doctest TATKCoachingPrograms.txt[70]>", line 1, in <module>
  242.         "11/24/2010" in browser.contents
  243.     TypeError: argument of type 'NoneType' is not iterable
  244. ----------------------------------------------------------------------
  245. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 147, in TATKCoachingPrograms.txt
  246. Failed example:
  247.     browser.getLink('Read More').click()
  248. Exception raised:
  249.     Traceback (most recent call last):
  250.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  251.         compileflags, 1) in test.globs
  252.       File "<doctest TATKCoachingPrograms.txt[71]>", line 1, in <module>
  253.         browser.getLink('Read More').click()
  254.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 328, in getLink
  255.         return Link(self.mech_browser.find_link(**args), self)
  256.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 618, in find_link
  257.         return self._filter_links(self._factory.links(), **kwds).next()
  258.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 639, in _filter_links
  259.         if not self.viewing_html():
  260.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
  261.         raise BrowserStateError("not viewing any document")
  262.     BrowserStateError: not viewing any document
  263. ----------------------------------------------------------------------
  264. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 148, in TATKCoachingPrograms.txt
  265. Failed example:
  266.     'Item AM_0_0' in browser.contents
  267. Exception raised:
  268.     Traceback (most recent call last):
  269.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  270.         compileflags, 1) in test.globs
  271.       File "<doctest TATKCoachingPrograms.txt[72]>", line 1, in <module>
  272.         'Item AM_0_0' in browser.contents
  273.     TypeError: argument of type 'NoneType' is not iterable
  274. ----------------------------------------------------------------------
  275. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 153, in TATKCoachingPrograms.txt
  276. Failed example:
  277.     browser.getLink('Log out').click()
  278. Exception raised:
  279.     Traceback (most recent call last):
  280.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  281.         compileflags, 1) in test.globs
  282.       File "<doctest TATKCoachingPrograms.txt[73]>", line 1, in <module>
  283.         browser.getLink('Log out').click()
  284.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 328, in getLink
  285.         return Link(self.mech_browser.find_link(**args), self)
  286.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 618, in find_link
  287.         return self._filter_links(self._factory.links(), **kwds).next()
  288.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 639, in _filter_links
  289.         if not self.viewing_html():
  290.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
  291.         raise BrowserStateError("not viewing any document")
  292.     BrowserStateError: not viewing any document
  293. ----------------------------------------------------------------------
  294. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 154, in TATKCoachingPrograms.txt
  295. Failed example:
  296.     'You are now logged out' in browser.contents
  297. Exception raised:
  298.     Traceback (most recent call last):
  299.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  300.         compileflags, 1) in test.globs
  301.       File "<doctest TATKCoachingPrograms.txt[74]>", line 1, in <module>
  302.         'You are now logged out' in browser.contents
  303.     TypeError: argument of type 'NoneType' is not iterable
  304. ----------------------------------------------------------------------
  305. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 189, in TATKCoachingPrograms.txt
  306. Failed example:
  307.     browser.open(viewer.absolute_url())
  308. Exception raised:
  309.     Traceback (most recent call last):
  310.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  311.         compileflags, 1) in test.globs
  312.       File "<doctest TATKCoachingPrograms.txt[91]>", line 1, in <module>
  313.         browser.open(viewer.absolute_url())
  314.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 240, in open
  315.         self.mech_browser.open(url, data)
  316.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
  317.         return self._mech_open(url, data, timeout=timeout)
  318.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
  319.         response = UserAgentBase.open(self, request, data)
  320.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
  321.         response = urlopen(self, req, data)
  322.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
  323.         '_open', req)
  324.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
  325.         result = func(*args)
  326.       File "/home/alepereira/dev/takt/buildout-cache/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/_z2_testbrowser.py", line 64, in http_open
  327.         return self.do_open(connectionFactory, req)
  328.       File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
  329.         h.request(req.get_method(), req.get_selector(), req.data, headers)
  330.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
  331.         self.response = self.caller(request_string, handle_errors)
  332.       File "/home/alepereira/dev/takt/buildout-cache/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/_z2_testbrowser.py", line 122, in wrapped_func
  333.         return func(*args, **kw)
  334.       File "/home/alepereira/dev/takt/buildout-cache/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/_z2_testbrowser.py", line 218, in __call__
  335.         debug=not handle_errors,
  336.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Test.py", line 202, in publish_module
  337.         response = publish(request, module_name, after_list, debug=debug)
  338.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 126, in publish
  339.         request, bind=1)
  340.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
  341.         if debug is not None: return debug(object,args,context)
  342.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 46, in call_object
  343.         result=apply(object,args) # Type s<cr> to step into published object.
  344.       File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/TATKCoachingProgramsView.py", line 174, in __call__
  345.         return self.template()
  346.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
  347.         return self.im_func(im_self, *args, **kw)
  348.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
  349.         sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  350.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.pagetemplate-3.5.2-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 113, in pt_render
  351.         strictinsert=0, sourceAnnotations=sourceAnnotations)()
  352.        - Warning: Macro expansion failed
  353.        - Warning: <type 'exceptions.KeyError'>: 'COLHeaders'
  354.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 271, in __call__
  355.         self.interpret(self.program)
  356.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  357.         handlers[opcode](self, args)
  358.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
  359.         self.interpret(macro)
  360.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  361.         handlers[opcode](self, args)
  362.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  363.         self.do_optTag(stuff)
  364.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  365.         return self.no_tag(start, program)
  366.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  367.         self.interpret(program)
  368.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  369.         handlers[opcode](self, args)
  370.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
  371.         self.interpret(block)
  372.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  373.         handlers[opcode](self, args)
  374.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  375.         self.do_optTag(stuff)
  376.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  377.         return self.no_tag(start, program)
  378.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  379.         self.interpret(program)
  380.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  381.         handlers[opcode](self, args)
  382.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
  383.         self.interpret(macro)
  384.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  385.         handlers[opcode](self, args)
  386.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
  387.         self.interpret(block)
  388.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  389.         handlers[opcode](self, args)
  390.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  391.         self.do_optTag(stuff)
  392.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  393.         return self.no_tag(start, program)
  394.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  395.         self.interpret(program)
  396.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  397.         handlers[opcode](self, args)
  398.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
  399.         self.interpret(slot)
  400.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  401.         handlers[opcode](self, args)
  402.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
  403.         self.interpret(macro)
  404.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  405.         handlers[opcode](self, args)
  406.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  407.         self.do_optTag(stuff)
  408.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  409.         return self.no_tag(start, program)
  410.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  411.         self.interpret(program)
  412.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  413.         handlers[opcode](self, args)
  414.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 852, in do_condition
  415.         self.interpret(block)
  416.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  417.         handlers[opcode](self, args)
  418.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  419.         self.do_optTag(stuff)
  420.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  421.         return self.no_tag(start, program)
  422.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  423.         self.interpret(program)
  424.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  425.         handlers[opcode](self, args)
  426.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 852, in do_condition
  427.         self.interpret(block)
  428.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  429.         handlers[opcode](self, args)
  430.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  431.         self.do_optTag(stuff)
  432.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  433.         return self.no_tag(start, program)
  434.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  435.         self.interpret(program)
  436.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  437.         handlers[opcode](self, args)
  438.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 852, in do_condition
  439.         self.interpret(block)
  440.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  441.         handlers[opcode](self, args)
  442.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  443.         self.do_optTag(stuff)
  444.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  445.         return self.no_tag(start, program)
  446.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  447.         self.interpret(program)
  448.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  449.         handlers[opcode](self, args)
  450.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
  451.         self.engine.setLocal(name, self.engine.evaluateValue(expr))
  452.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
  453.         return expression(self)
  454.        - /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/./templates/TATKCoachingProgramsView.pt
  455.        - Line 50, Column 28
  456.        - Expression: <PythonExpr (view.initialize_program_lists(show_all))>
  457.        - Names:
  458.           {'args': (),
  459.            'container': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
  460.            'context': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
  461.            'default': <object object at 0x7fcfd14a4420>,
  462.            'here': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
  463.            'loop': {},
  464.            'nothing': None,
  465.            'options': {},
  466.            'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7fcfc1af0d60>,
  467.            'request': <HTTPRequest, URL=None>,
  468.            'root': <Application at >,
  469.            'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7fcfc23d3650>,
  470.            'traverse_subpath': [],
  471.            'user': <PloneUser 'xmember'>,
  472.            'view': <Products.Five.metaclass.SimpleViewClass from /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/templates/TATKCoachingProgramsView.pt object at 0x7fcfc1e2d590>,
  473.            'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7fcfc18c6590>}
  474.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/pythonexpr.py", line 59, in __call__
  475.         return eval(self._code, vars)
  476.        - __traceback_info__: (view.initialize_program_lists(show_all))
  477.       File "<string>", line 1, in <module>
  478.       File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/devsrc/Products.CACoachingPrograms/src/Products/CACoachingPrograms/browser/CACoachingProgramView.py", line 454, in initialize_program_lists
  479.         self.countActionSequences = len(programObj.getTotalNumberOfActionSequences())
  480.     TypeError: object of type 'int' has no len()
  481. ----------------------------------------------------------------------
  482. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 190, in TATKCoachingPrograms.txt
  483. Failed example:
  484.     "Sequence AM_1" in browser.contents
  485. Exception raised:
  486.     Traceback (most recent call last):
  487.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  488.         compileflags, 1) in test.globs
  489.       File "<doctest TATKCoachingPrograms.txt[92]>", line 1, in <module>
  490.         "Sequence AM_1" in browser.contents
  491.     TypeError: argument of type 'NoneType' is not iterable
  492. ----------------------------------------------------------------------
  493. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 194, in TATKCoachingPrograms.txt
  494. Failed example:
  495.     "11/24/2010" in browser.contents
  496. Exception raised:
  497.     Traceback (most recent call last):
  498.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  499.         compileflags, 1) in test.globs
  500.       File "<doctest TATKCoachingPrograms.txt[93]>", line 1, in <module>
  501.         "11/24/2010" in browser.contents
  502.     TypeError: argument of type 'NoneType' is not iterable
  503. ----------------------------------------------------------------------
  504. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 198, in TATKCoachingPrograms.txt
  505. Failed example:
  506.     browser.open(viewer.absolute_url())
  507. Exception raised:
  508.     Traceback (most recent call last):
  509.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  510.         compileflags, 1) in test.globs
  511.       File "<doctest TATKCoachingPrograms.txt[94]>", line 1, in <module>
  512.         browser.open(viewer.absolute_url())
  513.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 240, in open
  514.         self.mech_browser.open(url, data)
  515.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
  516.         return self._mech_open(url, data, timeout=timeout)
  517.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
  518.         response = UserAgentBase.open(self, request, data)
  519.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
  520.         response = urlopen(self, req, data)
  521.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
  522.         '_open', req)
  523.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
  524.         result = func(*args)
  525.       File "/home/alepereira/dev/takt/buildout-cache/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/_z2_testbrowser.py", line 64, in http_open
  526.         return self.do_open(connectionFactory, req)
  527.       File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
  528.         h.request(req.get_method(), req.get_selector(), req.data, headers)
  529.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
  530.         self.response = self.caller(request_string, handle_errors)
  531.       File "/home/alepereira/dev/takt/buildout-cache/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/_z2_testbrowser.py", line 122, in wrapped_func
  532.         return func(*args, **kw)
  533.       File "/home/alepereira/dev/takt/buildout-cache/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/_z2_testbrowser.py", line 218, in __call__
  534.         debug=not handle_errors,
  535.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Test.py", line 202, in publish_module
  536.         response = publish(request, module_name, after_list, debug=debug)
  537.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 126, in publish
  538.         request, bind=1)
  539.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
  540.         if debug is not None: return debug(object,args,context)
  541.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 46, in call_object
  542.         result=apply(object,args) # Type s<cr> to step into published object.
  543.       File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/TATKCoachingProgramsView.py", line 174, in __call__
  544.         return self.template()
  545.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
  546.         return self.im_func(im_self, *args, **kw)
  547.       File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
  548.         sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  549.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.pagetemplate-3.5.2-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 113, in pt_render
  550.         strictinsert=0, sourceAnnotations=sourceAnnotations)()
  551.        - Warning: Macro expansion failed
  552.        - Warning: <type 'exceptions.KeyError'>: 'COLHeaders'
  553.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 271, in __call__
  554.         self.interpret(self.program)
  555.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  556.         handlers[opcode](self, args)
  557.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
  558.         self.interpret(macro)
  559.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  560.         handlers[opcode](self, args)
  561.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  562.         self.do_optTag(stuff)
  563.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  564.         return self.no_tag(start, program)
  565.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  566.         self.interpret(program)
  567.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  568.         handlers[opcode](self, args)
  569.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
  570.         self.interpret(block)
  571.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  572.         handlers[opcode](self, args)
  573.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  574.         self.do_optTag(stuff)
  575.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  576.         return self.no_tag(start, program)
  577.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  578.         self.interpret(program)
  579.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  580.         handlers[opcode](self, args)
  581.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
  582.         self.interpret(macro)
  583.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  584.         handlers[opcode](self, args)
  585.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
  586.         self.interpret(block)
  587.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  588.         handlers[opcode](self, args)
  589.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  590.         self.do_optTag(stuff)
  591.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  592.         return self.no_tag(start, program)
  593.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  594.         self.interpret(program)
  595.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  596.         handlers[opcode](self, args)
  597.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
  598.         self.interpret(slot)
  599.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  600.         handlers[opcode](self, args)
  601.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
  602.         self.interpret(macro)
  603.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  604.         handlers[opcode](self, args)
  605.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  606.         self.do_optTag(stuff)
  607.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  608.         return self.no_tag(start, program)
  609.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  610.         self.interpret(program)
  611.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  612.         handlers[opcode](self, args)
  613.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 852, in do_condition
  614.         self.interpret(block)
  615.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  616.         handlers[opcode](self, args)
  617.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  618.         self.do_optTag(stuff)
  619.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  620.         return self.no_tag(start, program)
  621.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  622.         self.interpret(program)
  623.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  624.         handlers[opcode](self, args)
  625.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 852, in do_condition
  626.         self.interpret(block)
  627.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  628.         handlers[opcode](self, args)
  629.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  630.         self.do_optTag(stuff)
  631.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  632.         return self.no_tag(start, program)
  633.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  634.         self.interpret(program)
  635.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  636.         handlers[opcode](self, args)
  637.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 852, in do_condition
  638.         self.interpret(block)
  639.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  640.         handlers[opcode](self, args)
  641.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
  642.         self.do_optTag(stuff)
  643.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
  644.         return self.no_tag(start, program)
  645.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
  646.         self.interpret(program)
  647.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
  648.         handlers[opcode](self, args)
  649.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
  650.         self.engine.setLocal(name, self.engine.evaluateValue(expr))
  651.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
  652.         return expression(self)
  653.        - /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/./templates/TATKCoachingProgramsView.pt
  654.        - Line 50, Column 28
  655.        - Expression: <PythonExpr (view.initialize_program_lists(show_all))>
  656.        - Names:
  657.           {'args': (),
  658.            'container': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
  659.            'context': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
  660.            'default': <object object at 0x7fcfd14a4420>,
  661.            'here': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
  662.            'loop': {},
  663.            'nothing': None,
  664.            'options': {},
  665.            'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7fcfc1019db8>,
  666.            'request': <HTTPRequest, URL=None>,
  667.            'root': <Application at >,
  668.            'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7fcfc23d3650>,
  669.            'traverse_subpath': [],
  670.            'user': <PloneUser 'xmember'>,
  671.            'view': <Products.Five.metaclass.SimpleViewClass from /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/templates/TATKCoachingProgramsView.pt object at 0x7fcfc0f04910>,
  672.            'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7fcfc1dd7390>}
  673.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/pythonexpr.py", line 59, in __call__
  674.         return eval(self._code, vars)
  675.        - __traceback_info__: (view.initialize_program_lists(show_all))
  676.       File "<string>", line 1, in <module>
  677.       File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/devsrc/Products.CACoachingPrograms/src/Products/CACoachingPrograms/browser/CACoachingProgramView.py", line 454, in initialize_program_lists
  678.         self.countActionSequences = len(programObj.getTotalNumberOfActionSequences())
  679.     TypeError: object of type 'int' has no len()
  680. ----------------------------------------------------------------------
  681. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 199, in TATKCoachingPrograms.txt
  682. Failed example:
  683.     "Sequence AM_2" in browser.contents
  684. Exception raised:
  685.     Traceback (most recent call last):
  686.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  687.         compileflags, 1) in test.globs
  688.       File "<doctest TATKCoachingPrograms.txt[95]>", line 1, in <module>
  689.         "Sequence AM_2" in browser.contents
  690.     TypeError: argument of type 'NoneType' is not iterable
  691. ----------------------------------------------------------------------
  692. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 206, in TATKCoachingPrograms.txt
  693. Failed example:
  694.     browser.getControl(name=seqPass).value = [u"selected"]
  695. Exception raised:
  696.     Traceback (most recent call last):
  697.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  698.         compileflags, 1) in test.globs
  699.       File "<doctest TATKCoachingPrograms.txt[98]>", line 1, in <module>
  700.         browser.getControl(name=seqPass).value = [u"selected"]
  701.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
  702.         label, name, self.mech_browser.forms(), include_subcontrols=True)
  703.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
  704.         if not self.viewing_html():
  705.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
  706.         raise BrowserStateError("not viewing any document")
  707.     BrowserStateError: not viewing any document
  708. ----------------------------------------------------------------------
  709. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 207, in TATKCoachingPrograms.txt
  710. Failed example:
  711.     browser.getControl(label="Save").click()
  712. Exception raised:
  713.     Traceback (most recent call last):
  714.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  715.         compileflags, 1) in test.globs
  716.       File "<doctest TATKCoachingPrograms.txt[99]>", line 1, in <module>
  717.         browser.getControl(label="Save").click()
  718.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
  719.         label, name, self.mech_browser.forms(), include_subcontrols=True)
  720.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
  721.         if not self.viewing_html():
  722.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
  723.         raise BrowserStateError("not viewing any document")
  724.     BrowserStateError: not viewing any document
  725. ----------------------------------------------------------------------
  726. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 208, in TATKCoachingPrograms.txt
  727. Failed example:
  728.     "Changes Saved at" in browser.contents
  729. Exception raised:
  730.     Traceback (most recent call last):
  731.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  732.         compileflags, 1) in test.globs
  733.       File "<doctest TATKCoachingPrograms.txt[100]>", line 1, in <module>
  734.         "Changes Saved at" in browser.contents
  735.     TypeError: argument of type 'NoneType' is not iterable
  736. ----------------------------------------------------------------------
  737. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 212, in TATKCoachingPrograms.txt
  738. Failed example:
  739.     "Sequence AM_2" in browser.contents
  740. Exception raised:
  741.     Traceback (most recent call last):
  742.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  743.         compileflags, 1) in test.globs
  744.       File "<doctest TATKCoachingPrograms.txt[101]>", line 1, in <module>
  745.         "Sequence AM_2" in browser.contents
  746.     TypeError: argument of type 'NoneType' is not iterable
  747. ----------------------------------------------------------------------
  748. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 214, in TATKCoachingPrograms.txt
  749. Failed example:
  750.     "Sequence AM_0" in browser.contents
  751. Exception raised:
  752.     Traceback (most recent call last):
  753.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  754.         compileflags, 1) in test.globs
  755.       File "<doctest TATKCoachingPrograms.txt[102]>", line 1, in <module>
  756.         "Sequence AM_0" in browser.contents
  757.     TypeError: argument of type 'NoneType' is not iterable
  758. ----------------------------------------------------------------------
  759. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 219, in TATKCoachingPrograms.txt
  760. Failed example:
  761.     "Item AM_0_3" in browser.contents
  762. Exception raised:
  763.     Traceback (most recent call last):
  764.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  765.         compileflags, 1) in test.globs
  766.       File "<doctest TATKCoachingPrograms.txt[103]>", line 1, in <module>
  767.         "Item AM_0_3" in browser.contents
  768.     TypeError: argument of type 'NoneType' is not iterable
  769. ----------------------------------------------------------------------
  770. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 224, in TATKCoachingPrograms.txt
  771. Failed example:
  772.     browser.getControl(name=itemPass).value = [u"selected"]
  773. Exception raised:
  774.     Traceback (most recent call last):
  775.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  776.         compileflags, 1) in test.globs
  777.       File "<doctest TATKCoachingPrograms.txt[107]>", line 1, in <module>
  778.         browser.getControl(name=itemPass).value = [u"selected"]
  779.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
  780.         label, name, self.mech_browser.forms(), include_subcontrols=True)
  781.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
  782.         if not self.viewing_html():
  783.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
  784.         raise BrowserStateError("not viewing any document")
  785.     BrowserStateError: not viewing any document
  786. ----------------------------------------------------------------------
  787. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 225, in TATKCoachingPrograms.txt
  788. Failed example:
  789.     browser.getControl(label="Save").click()
  790. Exception raised:
  791.     Traceback (most recent call last):
  792.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  793.         compileflags, 1) in test.globs
  794.       File "<doctest TATKCoachingPrograms.txt[108]>", line 1, in <module>
  795.         browser.getControl(label="Save").click()
  796.       File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
  797.         label, name, self.mech_browser.forms(), include_subcontrols=True)
  798.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
  799.         if not self.viewing_html():
  800.       File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
  801.         raise BrowserStateError("not viewing any document")
  802.     BrowserStateError: not viewing any document
  803. ----------------------------------------------------------------------
  804. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 226, in TATKCoachingPrograms.txt
  805. Failed example:
  806.     "Changes Saved at" in browser.contents
  807. Exception raised:
  808.     Traceback (most recent call last):
  809.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  810.         compileflags, 1) in test.globs
  811.       File "<doctest TATKCoachingPrograms.txt[109]>", line 1, in <module>
  812.         "Changes Saved at" in browser.contents
  813.     TypeError: argument of type 'NoneType' is not iterable
  814. ----------------------------------------------------------------------
  815. File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 228, in TATKCoachingPrograms.txt
  816. Failed example:
  817.     "Item AM_0_3" in browser.contents
  818. Exception raised:
  819.     Traceback (most recent call last):
  820.       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
  821.         compileflags, 1) in test.globs
  822.       File "<doctest TATKCoachingPrograms.txt[110]>", line 1, in <module>
  823.         "Item AM_0_3" in browser.contents
  824.     TypeError: argument of type 'NoneType' is not iterable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement