Hi, On the local dev server keys are prefixed with dev~, if I recall correctly. With the Python dev_appserver this can be changed with the "--default_partition" flag. Perhaps this is your issue.
Alternatively you might consider recasting all of your keys as you import the data. Robert On Sat, Feb 18, 2012 at 13:11, Mos <[email protected]> wrote: > Hello, > > I'm wondering if it is possible to export Entities from the GAE BigTable > into the local development server. > It should be a usual use-case for all people how like to test locally with > production data. > > I'm doing the export with serialized Json. The GAE keys are serialized and > unserialized via KeyFactory.stringToKey.... methods. > > Hence the export looks like: > {"key":"ag1zfmtyaXNlbi10YWxrcg8LEgdBcnRpY2xlGMnfAgw","createDate":1329587740394, > ......... > > The import works fine if the export was done on the same system: > Export from "Local Development" and import to "Local Development" > Export from "GAE" and import to "GAE" > > But from "GAE" to "Local Dev" and vice versa it doesn't work. > Import runs, no error messages, but the entities are not visible. > > I think it has something to do with the namespaces. > I'm using no explicit namespace. > > Are there different default namespace between dev-server and GAE > environment? > > How can I import Entities from the GAE into the local dev-server? > > Thanks and Cheers > Mos > > > > > -- > 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.
