Hey,
  Super, glad that helped you.  The code I posted can be used to
convert the keys though, in my example "bad_key"is really just
db.Key('basdkeystring').

Robert



On Thu, Jan 26, 2012 at 20:02, Nevada County Makes
<[email protected]> wrote:
> You were right, Robert. I was storing a key as a StringProperty in
> the  Community.featured_maker. That key was no longer valid on HRD.
> The key.to_path() didn't help, because the old key was an encoded key
> from the old appid.
> I manually looked up the right key and set the featured_maker and now
> everything seems to be working. I'll have to comb through the rest of
> the code for any similar cases, but I believe that was the only key in
> a StringProperty.
>
> --
> 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.
>

-- 
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