Can't upload data to dev datastore: says dev app can't access app's data

128 views
Skip to first unread message

fhuddles

unread,
Mar 9, 2012, 3:49:25 PM3/9/12
to google-a...@googlegroups.com
Greetings,

  I recently upgraded to version 1.6.3 (from 1.5.1) of the GAE SDK, and, because it seems that every time I start my development appserver, I have to reload my development datastore (I am NOT specifying the option to clear the datastore upon starting), I am trying to run the python program to reload the data.
However, I get the following error( the application name is "family-tourt-hudd"):
ApplicationError: ApplicationError: 1 app "dev~family-tourt-hudd" cannot access app "family-tourt-hudd"'s data
It appears that it's prepending the "dev" in front of my app name. 
I see that the development console says it's for the app "dev-family-tourt-hudd", but can't see anywhere where I've specified this.
Apparently it thinks I'm dealing with two different apps. I saw in the release notes that "dev" would be 
appended to an environment variable. I've tried specifying the "dev" app name when running the upload app:
I get the same error, but this time it's got the same app name and says it can't access the information. 
Here's how I start the dev_appserver:
dev_appserver.py --high_replication --datastore_path=/usr/local/apps/gae/fam/fam.datastore --debug /usr/local/apps/gae/fam
and here's how I run the data upload program:
python dbload-fams.py family-tourt-hudd localhost:8080

What's going on here, and what can I do to make it work? 

Thanks

Andreas

unread,
Mar 9, 2012, 4:01:00 PM3/9/12
to google-a...@googlegroups.com
start your dev_appserver.py with the --default-partition option

dev_appserver.py --default-partition='' 

pass an empty string as the default partition

--
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/-/EcUk_1Yx-VUJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Frank Huddleston

unread,
Mar 9, 2012, 4:09:08 PM3/9/12
to google-a...@googlegroups.com
That worked! Except it's an underscore: --default_partition
Thanks!

Andreas

unread,
Mar 9, 2012, 4:18:40 PM3/9/12
to google-a...@googlegroups.com
typo :)
Reply all
Reply to author
Forward
0 new messages