[albatross-users] Redirect problems continue...

Sheila King sheila at thinkspot.net
Sun Jul 13 15:57:48 EST 2003


OK, thanks for the really quick release of patches for the issues with 
redirect and not saving the cookie etc...

I've installed the pre3 release and tried again with the stripped down 
application code I shared last night. As a reminder, code is available here:
http://mathxy.com/temp/

Unfortunately, the code, when I attempt to run it, now generates a 500 
Internal Server error. Here is the error entry from the logs:

%% [Sun Jul 13 01:37:59 2003] GET /cgi-bin/test/mgr.py HTTP/1.1
%% 500 /big/dom/xexample/cgi-bin/test/mgr.py
%request
Accept: 
application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xm
l,text/html;q=0.9,text/pl 
ain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip,deflate,compress;q=0.9
Accept-Language: en-us,en;q=0.5
Cache-Control: max-age=0
Connection: keep-alive
Host: example.com
Keep-Alive: 300
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) 
Gecko/20030312
%response
%stderr
Traceback (most recent call last):
File "mgr.py", line 60, in ?
app.run(qaRequest())
File "/big/dom/xexample/lib/python2.2/site-packages/albatross/app.py", line 
253, in run
return ctx.redirect(e.loc)
File "/big/dom/xexample/lib/python2.2/site-packages/albatross/app.py", line 
217, in redirect
raise Redirect(loc)
albatross.app.Redirect: <albatross.app.Redirect instance at 0x82716e4>


I'm looking at the app.py file, and I don't see what the problem is. The 
code from app.py involved in raising the redirect exception appears to me 
to be unchanged between 1.01 and 1.10pre3.

???


-- 
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org




More information about the Albatross-users mailing list