What I've been doing is using a different config file for running the paster shell.
eg. shell.ini: [DEFAULT] debug = true email_to = [EMAIL PROTECTED] smtp_server = localhost error_email_from = [EMAIL PROTECTED] #sqlalchemy.default.echo = True [server:main] use = egg:Paste#http host = 0.0.0.0 port = 5000 [app:main] use = config:development.ini *# AuthKit Config # disable authkit for paster shell* *authkit.setup.enable = false* "authkit.setup.enable = false" will disable authkit for you. Then run `paster shell shell.ini`. Hope this helps in the short run. -r. On Tue, Aug 26, 2008 at 4:35 PM, Mark <[EMAIL PROTECTED]> wrote: > > I installed authkit into my pylons app so it works across all requests > of my site. Unfortunately, this makes the paster shell command not > work with the following error: > > paste.fixture.AppError: Bad response: 401 Unauthorized (not 200 OK or > 3xx redirect for /_test_vars) > > (It's trying to HTTP GET /_test_vars which is protected by authkit on > my site). > > Is there a way to pass in authentication details? I've seen previous > postings on this before but with no resolution (there was resolution > for test fixture support but not for paster shell)... > > Thanks, > > -Mark > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
