Akhet 2.0 does not allow permissions

24 views
Skip to first unread message

Jason

unread,
May 28, 2012, 2:28:42 PM5/28/12
to pylons-...@googlegroups.com
Looks like Akhet 2.0 changed the add_static_route function to add the route and then add the view. When calling add_route it raises an exception pyramid.exceptions.ConfigurationError: view_permission argument not permitted without view argument. I don't know if Akhet is still maintained and the source code on bit bucket doesn't show the same code as the installed version from pypi. 

I'm going to stop using Akhet (it's so small that I might as well make my own static view overlay), so this is just an FYI.


--Jason

Mike Orr

unread,
May 29, 2012, 1:49:16 PM5/29/12
to pylons-...@googlegroups.com
The current repository is the Github one: https://github.com/Pylons/akhet
I'll delete the Bitbucket one to avoid confusion.

I switched to add_route/add_view because the view args on 'add_route'
got deprecated. It took some time to get it to work and I got a
similar error in the interim but I thought it was fixed. In any case,
I'll fiix it if I can or document the problem. Akhet has become a
minor collection of add-ons so it's not worth fussing a lot with.
Right now I'm focusing on the Pyramid/Pylons guide in the Cookbook.
Mike Orr <slugg...@gmail.com>
Reply all
Reply to author
Forward
0 new messages