Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 129, in TATKCoachingPrograms.txt
- Failed example:
- browser.open(viewer.absolute_url())
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[62]>", line 1, in <module>
- browser.open(viewer.absolute_url())
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 240, in open
- self.mech_browser.open(url, data)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
- return self._mech_open(url, data, timeout=timeout)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
- response = UserAgentBase.open(self, request, data)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
- response = urlopen(self, req, data)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
- '_open', req)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
- result = func(*args)
- 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
- return self.do_open(connectionFactory, req)
- File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
- h.request(req.get_method(), req.get_selector(), req.data, headers)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
- self.response = self.caller(request_string, handle_errors)
- 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
- return func(*args, **kw)
- 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__
- debug=not handle_errors,
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Test.py", line 202, in publish_module
- response = publish(request, module_name, after_list, debug=debug)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 126, in publish
- request, bind=1)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
- if debug is not None: return debug(object,args,context)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 46, in call_object
- result=apply(object,args) # Type s<cr> to step into published object.
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/TATKCoachingProgramsView.py", line 174, in __call__
- return self.template()
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
- return self.im_func(im_self, *args, **kw)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
- sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
- 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
- strictinsert=0, sourceAnnotations=sourceAnnotations)()
- - Warning: Macro expansion failed
- - Warning: <type 'exceptions.KeyError'>: 'COLHeaders'
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 271, in __call__
- self.interpret(self.program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(macro)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(macro)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(slot)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(macro)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.engine.setLocal(name, self.engine.evaluateValue(expr))
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
- return expression(self)
- - /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/./templates/TATKCoachingProgramsView.pt
- - Line 50, Column 28
- - Expression: <PythonExpr (view.initialize_program_lists(show_all))>
- - Names:
- {'args': (),
- 'container': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
- 'context': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
- 'default': <object object at 0x7fcfd14a4420>,
- 'here': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
- 'loop': {},
- 'nothing': None,
- 'options': {},
- 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7fcfc0dc1e10>,
- 'request': <HTTPRequest, URL=None>,
- 'root': <Application at >,
- 'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7fcfc23d3650>,
- 'traverse_subpath': [],
- 'user': <PloneUser 'amember'>,
- 'view': <Products.Five.metaclass.SimpleViewClass from /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/templates/TATKCoachingProgramsView.pt object at 0x7fcfc0dae910>,
- 'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7fcfc29c42d0>}
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/pythonexpr.py", line 59, in __call__
- return eval(self._code, vars)
- - __traceback_info__: (view.initialize_program_lists(show_all))
- File "<string>", line 1, in <module>
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/devsrc/Products.CACoachingPrograms/src/Products/CACoachingPrograms/browser/CACoachingProgramView.py", line 454, in initialize_program_lists
- self.countActionSequences = len(programObj.getTotalNumberOfActionSequences())
- TypeError: object of type 'int' has no len()
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 130, in TATKCoachingPrograms.txt
- Failed example:
- "Sequence AM_1" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[63]>", line 1, in <module>
- "Sequence AM_1" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 141, in TATKCoachingPrograms.txt
- Failed example:
- browser.getControl(name=targetDate).value = "11/24/2010"
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[67]>", line 1, in <module>
- browser.getControl(name=targetDate).value = "11/24/2010"
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
- label, name, self.mech_browser.forms(), include_subcontrols=True)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
- if not self.viewing_html():
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
- raise BrowserStateError("not viewing any document")
- BrowserStateError: not viewing any document
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 142, in TATKCoachingPrograms.txt
- Failed example:
- browser.getControl(label="Save").click()
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[68]>", line 1, in <module>
- browser.getControl(label="Save").click()
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
- label, name, self.mech_browser.forms(), include_subcontrols=True)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
- if not self.viewing_html():
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
- raise BrowserStateError("not viewing any document")
- BrowserStateError: not viewing any document
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 143, in TATKCoachingPrograms.txt
- Failed example:
- "Changes Saved at" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[69]>", line 1, in <module>
- "Changes Saved at" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 145, in TATKCoachingPrograms.txt
- Failed example:
- "11/24/2010" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[70]>", line 1, in <module>
- "11/24/2010" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 147, in TATKCoachingPrograms.txt
- Failed example:
- browser.getLink('Read More').click()
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[71]>", line 1, in <module>
- browser.getLink('Read More').click()
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 328, in getLink
- return Link(self.mech_browser.find_link(**args), self)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 618, in find_link
- return self._filter_links(self._factory.links(), **kwds).next()
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 639, in _filter_links
- if not self.viewing_html():
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
- raise BrowserStateError("not viewing any document")
- BrowserStateError: not viewing any document
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 148, in TATKCoachingPrograms.txt
- Failed example:
- 'Item AM_0_0' in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[72]>", line 1, in <module>
- 'Item AM_0_0' in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 153, in TATKCoachingPrograms.txt
- Failed example:
- browser.getLink('Log out').click()
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[73]>", line 1, in <module>
- browser.getLink('Log out').click()
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 328, in getLink
- return Link(self.mech_browser.find_link(**args), self)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 618, in find_link
- return self._filter_links(self._factory.links(), **kwds).next()
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 639, in _filter_links
- if not self.viewing_html():
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
- raise BrowserStateError("not viewing any document")
- BrowserStateError: not viewing any document
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 154, in TATKCoachingPrograms.txt
- Failed example:
- 'You are now logged out' in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[74]>", line 1, in <module>
- 'You are now logged out' in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 189, in TATKCoachingPrograms.txt
- Failed example:
- browser.open(viewer.absolute_url())
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[91]>", line 1, in <module>
- browser.open(viewer.absolute_url())
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 240, in open
- self.mech_browser.open(url, data)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
- return self._mech_open(url, data, timeout=timeout)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
- response = UserAgentBase.open(self, request, data)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
- response = urlopen(self, req, data)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
- '_open', req)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
- result = func(*args)
- 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
- return self.do_open(connectionFactory, req)
- File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
- h.request(req.get_method(), req.get_selector(), req.data, headers)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
- self.response = self.caller(request_string, handle_errors)
- 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
- return func(*args, **kw)
- 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__
- debug=not handle_errors,
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Test.py", line 202, in publish_module
- response = publish(request, module_name, after_list, debug=debug)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 126, in publish
- request, bind=1)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
- if debug is not None: return debug(object,args,context)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 46, in call_object
- result=apply(object,args) # Type s<cr> to step into published object.
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/TATKCoachingProgramsView.py", line 174, in __call__
- return self.template()
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
- return self.im_func(im_self, *args, **kw)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
- sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
- 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
- strictinsert=0, sourceAnnotations=sourceAnnotations)()
- - Warning: Macro expansion failed
- - Warning: <type 'exceptions.KeyError'>: 'COLHeaders'
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 271, in __call__
- self.interpret(self.program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(macro)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(macro)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(slot)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(macro)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.engine.setLocal(name, self.engine.evaluateValue(expr))
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
- return expression(self)
- - /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/./templates/TATKCoachingProgramsView.pt
- - Line 50, Column 28
- - Expression: <PythonExpr (view.initialize_program_lists(show_all))>
- - Names:
- {'args': (),
- 'container': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
- 'context': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
- 'default': <object object at 0x7fcfd14a4420>,
- 'here': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
- 'loop': {},
- 'nothing': None,
- 'options': {},
- 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7fcfc1af0d60>,
- 'request': <HTTPRequest, URL=None>,
- 'root': <Application at >,
- 'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7fcfc23d3650>,
- 'traverse_subpath': [],
- 'user': <PloneUser 'xmember'>,
- 'view': <Products.Five.metaclass.SimpleViewClass from /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/templates/TATKCoachingProgramsView.pt object at 0x7fcfc1e2d590>,
- 'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7fcfc18c6590>}
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/pythonexpr.py", line 59, in __call__
- return eval(self._code, vars)
- - __traceback_info__: (view.initialize_program_lists(show_all))
- File "<string>", line 1, in <module>
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/devsrc/Products.CACoachingPrograms/src/Products/CACoachingPrograms/browser/CACoachingProgramView.py", line 454, in initialize_program_lists
- self.countActionSequences = len(programObj.getTotalNumberOfActionSequences())
- TypeError: object of type 'int' has no len()
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 190, in TATKCoachingPrograms.txt
- Failed example:
- "Sequence AM_1" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[92]>", line 1, in <module>
- "Sequence AM_1" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 194, in TATKCoachingPrograms.txt
- Failed example:
- "11/24/2010" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[93]>", line 1, in <module>
- "11/24/2010" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 198, in TATKCoachingPrograms.txt
- Failed example:
- browser.open(viewer.absolute_url())
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[94]>", line 1, in <module>
- browser.open(viewer.absolute_url())
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 240, in open
- self.mech_browser.open(url, data)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
- return self._mech_open(url, data, timeout=timeout)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
- response = UserAgentBase.open(self, request, data)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
- response = urlopen(self, req, data)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
- '_open', req)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
- result = func(*args)
- 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
- return self.do_open(connectionFactory, req)
- File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
- h.request(req.get_method(), req.get_selector(), req.data, headers)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
- self.response = self.caller(request_string, handle_errors)
- 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
- return func(*args, **kw)
- 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__
- debug=not handle_errors,
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Test.py", line 202, in publish_module
- response = publish(request, module_name, after_list, debug=debug)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 126, in publish
- request, bind=1)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
- if debug is not None: return debug(object,args,context)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/ZPublisher/Publish.py", line 46, in call_object
- result=apply(object,args) # Type s<cr> to step into published object.
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/TATKCoachingProgramsView.py", line 174, in __call__
- return self.template()
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
- return self.im_func(im_self, *args, **kw)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
- sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
- 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
- strictinsert=0, sourceAnnotations=sourceAnnotations)()
- - Warning: Macro expansion failed
- - Warning: <type 'exceptions.KeyError'>: 'COLHeaders'
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 271, in __call__
- self.interpret(self.program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(macro)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(macro)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(slot)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(macro)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.interpret(block)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.do_optTag(stuff)
- 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
- return self.no_tag(start, program)
- 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
- self.interpret(program)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
- handlers[opcode](self, args)
- 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
- self.engine.setLocal(name, self.engine.evaluateValue(expr))
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
- return expression(self)
- - /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/./templates/TATKCoachingProgramsView.pt
- - Line 50, Column 28
- - Expression: <PythonExpr (view.initialize_program_lists(show_all))>
- - Names:
- {'args': (),
- 'container': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
- 'context': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
- 'default': <object object at 0x7fcfd14a4420>,
- 'here': <TATKProgramViewer at /plone/coaching/team_programs/51938e5b21b24d2089902b77139abf3a>,
- 'loop': {},
- 'nothing': None,
- 'options': {},
- 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7fcfc1019db8>,
- 'request': <HTTPRequest, URL=None>,
- 'root': <Application at >,
- 'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7fcfc23d3650>,
- 'traverse_subpath': [],
- 'user': <PloneUser 'xmember'>,
- 'view': <Products.Five.metaclass.SimpleViewClass from /home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/browser/templates/TATKCoachingProgramsView.pt object at 0x7fcfc0f04910>,
- 'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7fcfc1dd7390>}
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.tales-3.5.2-py2.7.egg/zope/tales/pythonexpr.py", line 59, in __call__
- return eval(self._code, vars)
- - __traceback_info__: (view.initialize_program_lists(show_all))
- File "<string>", line 1, in <module>
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/devsrc/Products.CACoachingPrograms/src/Products/CACoachingPrograms/browser/CACoachingProgramView.py", line 454, in initialize_program_lists
- self.countActionSequences = len(programObj.getTotalNumberOfActionSequences())
- TypeError: object of type 'int' has no len()
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 199, in TATKCoachingPrograms.txt
- Failed example:
- "Sequence AM_2" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[95]>", line 1, in <module>
- "Sequence AM_2" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 206, in TATKCoachingPrograms.txt
- Failed example:
- browser.getControl(name=seqPass).value = [u"selected"]
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[98]>", line 1, in <module>
- browser.getControl(name=seqPass).value = [u"selected"]
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
- label, name, self.mech_browser.forms(), include_subcontrols=True)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
- if not self.viewing_html():
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
- raise BrowserStateError("not viewing any document")
- BrowserStateError: not viewing any document
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 207, in TATKCoachingPrograms.txt
- Failed example:
- browser.getControl(label="Save").click()
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[99]>", line 1, in <module>
- browser.getControl(label="Save").click()
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
- label, name, self.mech_browser.forms(), include_subcontrols=True)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
- if not self.viewing_html():
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
- raise BrowserStateError("not viewing any document")
- BrowserStateError: not viewing any document
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 208, in TATKCoachingPrograms.txt
- Failed example:
- "Changes Saved at" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[100]>", line 1, in <module>
- "Changes Saved at" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 212, in TATKCoachingPrograms.txt
- Failed example:
- "Sequence AM_2" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[101]>", line 1, in <module>
- "Sequence AM_2" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 214, in TATKCoachingPrograms.txt
- Failed example:
- "Sequence AM_0" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[102]>", line 1, in <module>
- "Sequence AM_0" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 219, in TATKCoachingPrograms.txt
- Failed example:
- "Item AM_0_3" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[103]>", line 1, in <module>
- "Item AM_0_3" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 224, in TATKCoachingPrograms.txt
- Failed example:
- browser.getControl(name=itemPass).value = [u"selected"]
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[107]>", line 1, in <module>
- browser.getControl(name=itemPass).value = [u"selected"]
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
- label, name, self.mech_browser.forms(), include_subcontrols=True)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
- if not self.viewing_html():
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
- raise BrowserStateError("not viewing any document")
- BrowserStateError: not viewing any document
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 225, in TATKCoachingPrograms.txt
- Failed example:
- browser.getControl(label="Save").click()
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[108]>", line 1, in <module>
- browser.getControl(label="Save").click()
- File "/home/alepereira/dev/takt/buildout-cache/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
- label, name, self.mech_browser.forms(), include_subcontrols=True)
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
- if not self.viewing_html():
- File "/home/alepereira/dev/takt/buildout-cache/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
- raise BrowserStateError("not viewing any document")
- BrowserStateError: not viewing any document
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 226, in TATKCoachingPrograms.txt
- Failed example:
- "Changes Saved at" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[109]>", line 1, in <module>
- "Changes Saved at" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
- ----------------------------------------------------------------------
- File "/home/alepereira/dev/takt/Products.TATKCoachingPrograms/src/Products/TATKCoachingPrograms/tests/dtf/TATKCoachingPrograms.txt", line 228, in TATKCoachingPrograms.txt
- Failed example:
- "Item AM_0_3" in browser.contents
- Exception raised:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/doctest.py", line 1315, in __run
- compileflags, 1) in test.globs
- File "<doctest TATKCoachingPrograms.txt[110]>", line 1, in <module>
- "Item AM_0_3" in browser.contents
- TypeError: argument of type 'NoneType' is not iterable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement