File "/home/novalis/nui/src/opencore/opencore/nui/wiki/README.txt", line 46, in README.txt
Failed example:
history()
Exception raised:
Traceback (most recent call last):
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[14]>", line 1, in ?
history()
File "/home/novalis/nui/zope/Products/Five/browser/metaconfigure.py", line 413, in __call__
return self.index(self, *args, **kw)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/Products/PageTemplates/PageTemplateFile.py", line 113, in _exec
return self.pt_render(extra_context=bound_names)
File "/home/novalis/nui/zope/Products/CacheSetup/patch_cmf.py", line 68, in PT_pt_render
return call_pattern(self, 'pt_render', '__CacheSetup_PageTemplate_%s__', source, extra_context)
File "/home/novalis/nui/zope/Products/CacheSetup/patch_utils.py", line 9, in call_pattern
return getattr(self, pattern % __name__)(*args, **kw)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
tal=not source, strictinsert=0)()
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/TAL/TALInterpreter.py", line 238, in __call__
self.interpret(self.program)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/TAL/TALInterpreter.py", line 281, in interpret
handlers[opcode](self, args)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/TAL/TALInterpreter.py", line 749, in do_useMacro
self.interpret(macro)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/TAL/TALInterpreter.py", line 281, in interpret
handlers[opcode](self, args)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/TAL/TALInterpreter.py", line 457, in do_optTag_tal
self.do_optTag(stuff)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/TAL/TALInterpreter.py", line 442, in do_optTag
return self.no_tag(start, program)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/TAL/TALInterpreter.py", line 437, in no_tag
self.interpret(program)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/TAL/TALInterpreter.py", line 281, in interpret
handlers[opcode](self, args)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/TAL/TALInterpreter.py", line 772, in do_defineSlot
self.interpret(slot)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/TAL/TALInterpreter.py", line 281, in interpret
handlers[opcode](self, args)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/TAL/TALInterpreter.py", line 507, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
return self._eval(econtext)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
return render(ob, econtext.vars)
File "/home/novalis/nui/src/Zope-2.9-branch/lib/python/Products/PageTemplates/Expressions.py", line 85, in render
ob = ob()
File "/home/novalis/nui/src/opencore/opencore/nui/wiki/historyview.py", line 29, in get_versions
return self.pr.getHistory(self.context, countPurged=False)
File "/home/novalis/nui/zope/Products/CMFEditions/CopyModifyMergeRepositoryTool.py", line 374, in getHistory
self._assertAuthorized(obj, AccessPreviousVersions, 'getHistory')
File "/home/novalis/nui/zope/Products/CMFEditions/CopyModifyMergeRepositoryTool.py", line 396, in _assertAuthorized
raise Unauthorized(name)
Unauthorized: You are not allowed to access 'getHistory' in this context