Hi, I'm working to export the datastore entities to csv, something too
simple like that take me a long of time, and I still can't solve it.

My app it's developed with GAE/J , but I follow a few posts and google
documentation to deploy an python app to run the script.

Finally I got the script running, but I notice that the export file it's not
csv valid file, (it's seem a kind of SQLite file), these is the command..
./bulkloader.py --dump --kind=Company --url=
http://sandbox-getsense-it.appspot.com/remote_api --filename=pepe.csv

I tried with appcfg with this command..

./appcfg.py download_data latamvalley --url=
http://sandbox-getsense-it.appspot.com/remote_api --filename=pepe.csv
--kind=Company --config_file latamvalley/app.yaml

but I have this..

./appcfg.py:41: DeprecationWarning: the sha module is deprecated; use the
hashlib module instead
  os.path.join(DIR_PATH, 'lib', 'antlr3'),
Application: sandbox-getsense-it; version: python.
Downloading data records.
[INFO    ] Logging to bulkloader-log-20100126.162956
Traceback (most recent call last):
  File "./appcfg.py", line 67, in <module>
    run_file(__file__, globals())
  File "./appcfg.py", line 63, in run_file
    execfile(script_path, globals_)
  File "/home/getsense/appengine_pyton/google/appengine/tools/appcfg.py",
line 2548, in <module>
    main(sys.argv)
  File "/home/getsense/appengine_pyton/google/appengine/tools/appcfg.py",
line 2539, in main
    result = AppCfgApp(argv).Run()
  File "/home/getsense/appengine_pyton/google/appengine/tools/appcfg.py",
line 1640, in Run
    self.action(self)
  File "/home/getsense/appengine_pyton/google/appengine/tools/appcfg.py",
line 2427, in __call__
    return method()
  File "/home/getsense/appengine_pyton/google/appengine/tools/appcfg.py",
line 2293, in PerformDownload
    run_fn(args)
  File "/home/getsense/appengine_pyton/google/appengine/tools/appcfg.py",
line 2215, in RunBulkloader
    sys.exit(bulkloader.Run(arg_dict))
  File
"/home/getsense/appengine_pyton/google/appengine/tools/bulkloader.py", line
3940, in Run
    return _PerformBulkload(arg_dict)
  File
"/home/getsense/appengine_pyton/google/appengine/tools/bulkloader.py", line
3763, in _PerformBulkload
    LoadConfig(config_file)
  File
"/home/getsense/appengine_pyton/google/appengine/tools/bulkloader.py", line
3517, in LoadConfig
    ('', 'r', imp.PY_SOURCE))
  File "latamvalley/app.yaml", line 1
    application: sandbox-getsense-it
               ^
SyntaxError: invalid syntax

Can you help me?, how can I export to csv or another readable format ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to