auth and auth

2008-11-23 Thread Dalius Dobravolskas
Hello, All, I will rise old Auth&Auth problem in Pylons. I have written some middlewares and here is the reason why I have done that: http://trac.sandbox.lt/auth/wiki/WhyWsgiMiddleware What I need now is your opinion. Have I chosen the right path? What are you missing in my solution (both docume

Re: auth and auth

2008-11-23 Thread Gael Pasgrimaud
2008/11/23 Dalius Dobravolskas <[EMAIL PROTECTED]>: > > Hello, All, > > I will rise old Auth&Auth problem in Pylons. I have written some > middlewares and here is the reason why I have done that: > http://trac.sandbox.lt/auth/wiki/WhyWsgiMiddleware > > What I need now is your opinion. Have I chose

Pylons & Eclipse Pydev

2008-11-23 Thread SystemicPlural
I am trying to get Pylons working in Eclipse with Pydev (Ubuntu) I can't get it to run or debug. I've re-imported the python interpreter. In the run dialog I have the main module as: /usr/bin/paster and program arguments as serve --reload /home/sky/www/PylonTest/ development.ini but when I run I j

simplejson install error, need help

2008-11-23 Thread Rod Morison
I'm starting a new project and am trying to install Pylons 0.9.7 on a fresh install of Windows Vista/64 with Python 2.6. Easy install quits on an error installing simplejson. I see a thread on the subject (http://groups.google.com/group/pylons-discuss/browse_thread/thread/48d0a48a5ccc4a6e/22f12c

Re: Pylons & Eclipse Pydev

2008-11-23 Thread Dalius Dobravolskas
On Sun, Nov 23, 2008 at 6:48 PM, SystemicPlural <[EMAIL PROTECTED]> wrote: > > I am trying to get Pylons working in Eclipse with Pydev (Ubuntu) > I can't get it to run or debug. > I've re-imported the python interpreter. > In the run dialog I have the main module as: /usr/bin/paster and > program

Re: simplejson install error, need help

2008-11-23 Thread Dalius Dobravolskas
Hi, > building 'simplejson._speedups' extension > error: Setup script exited with error: None It failed to build speedups. The main point is that speedups are not required and you can avoid them. Try to follow this advice: http://www.gossamer-threads.com/lists/python/python/635113#635113 I don't

Re: problem with AuthKit conf Pylons 0.9.7

2008-11-23 Thread Tomasz Narloch
Maciej Dziergwa pisze: > Hi, > > When I put > > authkit.cookie.params = expires: 10 > comment: test comment > > > Try something like: authkit.cookie.secret = secret_string authkit.cookie.signoutpath = /signout authkit.cookie.params.expires = 60 authkit.cookie.includeip

Re: auth and auth

2008-11-23 Thread Dalius Dobravolskas
Hi, >> What I need now is your opinion. Have I chosen the right path? What >> are you missing in my solution (both documentation and code)? >> Definetly there are some bugs/problems as well. >> > > Why don't you use repose.who ? There are several reasons: 1) It is historical reason. If you searc

mixing authorised/unauthorised contents from controller actions

2008-11-23 Thread lorenzo
Hi all, I'm a pylons newbie, and I'm trying to wrestle with A/A options. >From what I've understood, both repoze.who and authkit are meant to be used as some sort of gatekeepers in front of "private" controllers/ actions. I'd be grateful if someone would point me to some instructions for

Re: mixing authorised/unauthorised contents from controller actions

2008-11-23 Thread Eric Ongerth
Hi Lorenzo, The following can give you a lot of good ideas about the process even if you're not using AuthKit. http://pylonsbook.com/alpha1/authentication_and_authorization On Nov 23, 4:53 pm, lorenzo <[EMAIL PROTECTED]> wrote: > Hi all, >         I'm a pylons newbie, and I'm trying to wrestle

Re: simplejson install error, need help

2008-11-23 Thread Rod Morison
Solved! (though with a wrinkle) I went ahead and installed Visual Studio 2008 and ran the easy install from a vs2008 shell (i.e., ran C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat in the shell before the easy install). simplejson _was_ able to install, I assume