Hi, Have you been using the sqlite stub? If so, you need to call --clear_datastore to clear it.
The error you're getting occurs when the standard datastore stub can't read the datastore file (for example, because it's corrupted, or because it's actually an sqlite database). Clearing it will fix this. -Nick Johnson On Tue, Mar 30, 2010 at 3:58 AM, arifba <[email protected]> wrote: > Hi all, > When attempting to start my dev server, app name is butterstats, with > this command: > sudo dev_appserver.py --port=80 --datastore=./butterstats_docs/data/ > dirty/dev_appserver.datastore butterstats > > I am getting the following error: > ERROR 2010-03-30 02:51:23,536 dev_appserver_main.py:380] <class > 'google.appengine.api.datastore_errors.InternalError'>: Could not read > data from /Users/arifbandali/projects/butterstats_docs/data/dirty/ > dev_appserver.datastore. Try running with the --clear_datastore flag. > Cause: > ValueError('insecure string pickle',) > > Has anyone run into this before? > > For what it's worth, I was having trouble exporting the production > datastore and it did not work until I included the --num_threads=1 > flag to the bulkloader.py call. > > If there is no solution to this particular issue, is there any other > way to develop locally with local data without touching production > data? > > Thanks guys. > > -- > 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]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- 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.
