Thanks, Robert.   I double checked and had edited one field in one
datastore entity and it was probably the culprit.  I think a "user"
field reverted to being a "string" field by accident.

All set here, app is running fine again.



On Jun 27, 2:15 am, Robert Kluin <[email protected]> wrote:
> Hi Scott,
>   The only thing I can tell you from your partial stack trace is that
> "Property user must be a User," and what ever you set it to, it wasn't
> a user.
>
>   You'll probably need to give us some more information to help you
> debug.  My first thoughts: Perhaps a user took a non-typical path
> through the code?  Maybe the first request to an instance was
> different than typical?
>
> Robert
>
>
>
>
>
>
>
> On Sun, Jun 26, 2011 at 13:26, Scott <[email protected]> wrote:
>
> > In the last week or two, one part of my app stopped working.  I
> > haven't looked at the code in months.   Did something change that
> > broke my "old" code?
>
> > The end of the traceback shows:
> > BadValueError: Property user must be a User
>
> > Where to look?  This app has worked flawlessly for a couple years now.
>
> > Top of the traceback:
>
> >  line 389, in get
> >    self.response.out.write(template.render(path, template_values))
> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > ext/webapp/template.py", line 73, in render
> >    return t.render(Context(template_dict))
> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > ext/webapp/template.py", line 115, in wrap_render
> >    return orig_render(context)
> >  File "/base/python_runtime/python_lib/versions/third_party/
> > django-0.96/django/template/__init__.py", line 168, in render
> >    return self.nodelist.render(context)
>
> > .... ***** ....
>
> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > ext/db/__init__.py", line 3172, in validate
> >    raise BadValueError('Property %s must be a User' % self.name)
> > BadValueError: Property user must be a User
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" 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 
> > athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en.

Reply via email to