[Zope3-Users] Grant problem
Jonas Jarutis
jarutis at gmail.com
Tue Dec 19 17:15:59 EST 2006
Hello,
I get this error the i try to enter grant screen from ZMI:
Does anyone know what is the problem?
Traceback (most recent call last):
Module zope.publisher.publish, line 133, in publish
result = publication.callObject(request, obj)
Module zope.app.publication.zopepublication, line 161, in callObject
return mapply(ob, request.getPositionalArguments(), request)
Module zope.publisher.publish, line 108, in mapply
return debug_call(obj, args)
__traceback_info__: <security proxied
zope.app.pagetemplate.simpleviewclass.SimpleViewClass from
/usr/local/src/Zope3/src/zope/app/securitypolicy/browser/granting.pt
instance at 0xb49d112c>
Module zope.publisher.publish, line 114, in debug_call
return obj(*args)
Module zope.app.pagetemplate.simpleviewclass, line 44, in __call__
return self.index(*args, **kw)
Module zope.app.pagetemplate.viewpagetemplatefile, line 83, in __call__
return self.im_func(im_self, *args, **kw)
Module zope.app.pagetemplate.viewpagetemplatefile, line 51, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
Module zope.pagetemplate.pagetemplate, line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
Module zope.tal.talinterpreter, line 271, in __call__
self.interpret(self.program)
Module zope.tal.talinterpreter, line 346, in interpret
handlers[opcode](self, args)
Module zope.tal.talinterpreter, line 891, in do_useMacro
self.interpret(macro)
Module zope.tal.talinterpreter, line 346, in interpret
handlers[opcode](self, args)
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
self.do_optTag(stuff)
Module zope.tal.talinterpreter, line 521, in do_optTag
return self.no_tag(start, program)
Module zope.tal.talinterpreter, line 516, in no_tag
self.interpret(program)
Module zope.tal.talinterpreter, line 346, in interpret
handlers[opcode](self, args)
Module zope.tal.talinterpreter, line 861, in do_defineMacro
self.interpret(macro)
Module zope.tal.talinterpreter, line 346, in interpret
handlers[opcode](self, args)
Module zope.tal.talinterpreter, line 957, in do_defineSlot
self.interpret(block)
Module zope.tal.talinterpreter, line 346, in interpret
handlers[opcode](self, args)
Module zope.tal.talinterpreter, line 949, in do_defineSlot
self.interpret(slot)
Module zope.tal.talinterpreter, line 346, in interpret
handlers[opcode](self, args)
Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
Module zope.tales.tales, line 696, in evaluate
return expression(self)
/usr/local/src/Zope3/src/zope/app/securitypolicy/browser/granting.pt
Line 14, Column 4
Expression: <PathExpr standard:u'view/principal_widget'>
- Names:
{'args': (),
'context': <zope.app.folder.folder.Folder object at 0xb4ba8e6c>,
'default': <object object at 0xb7da1560>,
'loop': {},
'nothing': None,
'options': {},
'repeat': {},
'request': <zope.publisher.browser.BrowserRequest instance
URL=http://212.59.24.114:9673/@@grant.html>,
'template':
<zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile
object at 0xb61a968c>,
'view': <zope.app.pagetemplate.simpleviewclass.SimpleViewClass
from /usr/local/src/Zope3/src/zope/app/securitypolicy/browser/granting.pt
object at 0xb49d112c>,
'views':
<zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at
0xb49d1fcc>}
Module zope.tales.expressions, line 217, in __call__
return self._eval(econtext)
Module zope.tales.expressions, line 211, in _eval
return ob()
Module zope.app.form.browser.source, line 198, in __call__
value = self._value()
Module zope.app.form.browser.source, line 163, in _value
if token is not None:UnboundLocalError: local variable 'token'
referenced before assignment
More information about the Zope3-users
mailing list