This is my bulkloader.yaml file
# Autogenerated bulkloader.yaml file.
# You must edit this file before using it. TODO: Remove this line when
done.
# At a minimum address the items marked with TODO:
# * Fill in connector and connector_options
# * Review the property_map.
# - Ensure the 'external_name' matches the name of your CSV column,
# XML tag, etc.
# - Check that __key__ property is what you want. Its value will
become
# the key name on import, and on export the value will be the Key
# object. If you would like automatic key generation on import
and
# omitting the key on export, you can remove the entire __key__
# property from the property map.
# If you have module(s) with your model classes, add them here. Also
# change the kind properties to model_class.
python_preamble:
- import: base64
- import: re
- import: google.appengine.ext.bulkload.transform
- import: google.appengine.ext.bulkload.bulkloader_wizard
- import: google.appengine.ext.db
- import: google.appengine.api.datastore
- import: google.appengine.api.users
transformers:
- kind:Permission
connector:csv
property_map:
- property: __key__
external_name: key
export_transform: transform.key_id_or_name_as_string
- property: content
external_name: content
- property: date
external_name: date
export_transform: transform.export_date_time('%Y-%m-%dT%H:%M:%S')
- property: name
external_name: name
This is command line that I am using
C:\>appcfg.py download_data --config_file=bulkloader.yaml --filename
=test.csv --kind=Permission --url http://DCSA1234.appspot.com/remote_api
--app
lication=DCSA1234
This is an error that I am getting:
Downloading data records.
[INFO ] Logging to bulkloader-log-20100914.152423
[INFO ] Throttling transfers:
[INFO ] Bandwidth: 250000 bytes/second
[INFO ] HTTP connections: 8/second
[INFO ] Entities inserted/fetched/modified: 20/second
[INFO ] Batch Size: 10
Error parsing yaml file:
mapping values are not allowed here
in "bulkloader.yaml", line 29, column 19
Why I am getting this error ??? Any help greatly appreciated.
Thank you
Damian
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" 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-java?hl=en.