Uh oh. Yep, Tim is right. This happens because datastore keys embed
application IDs in them. When you do a migration, if you have something with
a List of Key objects, we will extract the app ID and rewrite them. However,
if your key object is encoded as a string, we don't do deep examination of
each String that is stored, so you are probably getting this error when you
try to convert a String key back into a value.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Fri, Aug 12, 2011 at 8:11 PM, Tim Hoffman <[email protected]> wrote:

> Hi
>
> It looks like you have a key reference to some dev data.  Appids are
> embedded in the keys of entities.
> dev~ is from the dev environment.  Have you harded coded a key
> (str(db.Key()) some where ?
>
> Have a look at the stack trace to see where in your code this is occurring.
> Is it in a consistent location ?
>
> Rgds
>
> T
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/n_fsVRWU4o8J.
>
> 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