In case anyone cares, turned out a decorator of mine for automatic
memcache usage was triggering this. I was never able to reproduce on
dev_appserver; trial and error by disabling Django apps led to the
discovery.

On Mar 22, 3:32 pm, "Brett C." <bcan...@gmail.com> wrote:
> I am getting a failure on deployment that I am not getting through the
> dev_appserver and for the life of me I can't figure out what the heck
> could be causing this.
>
> I had not touched my site prior to 1.1.9 and the released copy (r52)
> of the Django helper was obviously not working anymore against
> dev_appserver. So I grabbed svn (r76) of the Helper and Django 1.0.2,
> fixed my templates, and thought everything was great as everything ran
> fine locally.
>
> Then I deployed where I keep getting the following error:
>
> <type 'exceptions.AttributeError'>: 'HttpResponse' object has no
> attribute '_headers'
> Traceback (most recent call last):
>   File "/base/data/home/apps/dr-brett/4.332258713963491395/main.py",
> line 51, in <module>
>     main()
>   File "/base/data/home/apps/dr-brett/4.332258713963491395/main.py",
> line 48, in main
>     util.run_wsgi_app(application)
>   File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> util.py", line 76, in run_wsgi_app
>     result = application(env, _start_response)
>   File "/base/data/home/apps/dr-brett/4.332258713963491395/django.zip/
> django/core/handlers/wsgi.py", line 244, in __call__
>   File "/base/data/home/apps/dr-brett/4.332258713963491395/django.zip/
> django/core/handlers/base.py", line 174, in apply_response_fixes
>   File "/base/data/home/apps/dr-brett/4.332258713963491395/django.zip/
> django/http/utils.py", line 19, in fix_location_header
>   File "/base/data/home/apps/dr-brett/4.332258713963491395/django.zip/
> django/http/__init__.py", line 328, in has_header
>
> Has anyone run into this? Any changes happened deployment-side where
> run_wsgi_app could be the cause of this? I looked at the Django code I
> zipped up and _headers is set in the __init__ for HttpResponse so I
> can't think of what the heck could be triggering this error in a
> deployed app but not locally.
>
> -Brett
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to