[Grok-dev] Authorization issue With grokproject created instance and wsgi

Michael Haubenwallner michael at d2m.at
Wed Mar 4 13:58:08 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martijn Faassen wrote:
> Hey,
> 
> zope at kevinkal.com wrote:
>>   I've come across a slightly annoying issue when working with grokproject.
>>
>>   With a new project, I  'bin/paster serve etc/debug.ini', open the 
>> browser to localhost:8080 and receive an unauthorized error.
>>
>>    If I start with bin/myproject-ctl start and visit localhost:8080 I 
>> receive the basic auth prompt and login, with no problem.
>>
>>   Then I can bin/myproject-ctl stop , and bin/paster serve etc/debug.ini 
>> and am logged in because I haven't closed my browser.
>>
>>   Is there something I am doing wrong or could something have possibly 
>> changed?
>>
>>   Also, is this the best list to ask about such issues or is there a 
>> non-dev list that is more suited?
> 
> This is the right place.
> 
> We have an outstanding launchpad issue for this bug.
> 
> https://bugs.launchpad.net/grok/+bug/332061
> 
> We haven't had action on fixing it though, so thanks for reminding us! 
> Does this exception formatting middleware really not allow us to exclude 
> certain exceptions?
> 
> If not, I think we should change debug.ini so it doesn't include the 
> middleware anymore - too bad no exception formatter for now.
> 

Same debug.ini works fine with zopeproject.
It simply calls @@login.html.
Maybe we could look into what exactly happens inside grokui.admin?

Regards
Michael

- --
http://blog.d2m.at
http://planetzope.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJrs9Al0uAvQJUKVYRApb4AJ42feN6vphlRCRAQKElSZ8qbvohdgCeLOyS
pZAJGLWz1MylrFdVlZWQsus=
=6FHg
-----END PGP SIGNATURE-----


More information about the Grok-dev mailing list