[Grok-dev] recent changes broke my app
Wichert Akkerman
wichert at wiggy.net
Mon Aug 20 08:43:11 EDT 2007
I was working on a grok app last week but after an svn up today it
broke. Trying to view http://localhost:8080/ now gets me this:
2007-08-20T14:42:01 INFO root Startup time: 3.074 sec real, 2.990 sec CPU
zope.security.interfaces.Unauthorized:
(<grok.admin.view.Index object at 0x9b0534c>, '__call__', 'grok.ManageApplicatio
ns')
> /local/buildout/eggs/zope.security-3.4.0b4-py2.4-linux-i686.egg/zope/security/
checker.py(206)check()
-> raise Unauthorized(object, name, permission)
(Pdb) cont
Traceback (most recent call last):
File "threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/local/buildout/eggs/zope.app.twisted-3.4.0b1_r76119-py2.4.egg/twisted/p
ython/threadpool.py", line 148, in _worker
context.call(ctx, function, *args, **kwargs)
File "/local/buildout/eggs/zope.app.twisted-3.4.0b1_r76119-py2.4.egg/twisted/p
ython/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/local/buildout/eggs/zope.app.twisted-3.4.0b1_r76119-py2.4.egg/twisted/p
ython/context.py", line 37, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/local/buildout/eggs/zope.app.twisted-3.4.0b1_r76119-py2.4.egg/twisted/w
eb2/wsgi.py", line 198, in run
result = self.application(self.environment, self.startWSGIResponse)
File "/local/buildout/eggs/zope.app.wsgi-3.4.0b1dev_r75415-py2.4.egg/zope/app/
wsgi/__init__.py", line 72, in __call__
return app.__call__(environ, start_response)
File "/local/buildout/eggs/zope.app.wsgi-3.4.0b1dev_r75415-py2.4.egg/zope/app/
wsgi/__init__.py", line 54, in __call__
request = publish(request, handle_errors=handle_errors)
File "/local/buildout/eggs/zope.publisher-3.5.0a1.dev_r78727-py2.4.egg/zope/pu
blisher/publish.py", line 133, in publish
result = publication.callObject(request, obj)
File "/local/simplon/project/saturn/src/grok/src/grok/publication.py", line 40
, in callObject
checker.check(ob, '__call__')
File "/local/buildout/eggs/zope.security-3.4.0b4-py2.4-linux-i686.egg/zope/sec
urity/checker.py", line 206, in check
raise Unauthorized(object, name, permission)
zope.security.interfaces.Unauthorized: (<grok.admin.view.Index object at 0x9b053
4c>, '__call__', 'grok.ManageApplications')
Wichert.
--
Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the Grok-dev
mailing list