Hi Ikai, I followed the instructions in the cook book for the python uploader/ downloader in order to be able to download and backup the data of my java application.
As already posted in the cook book article, I got the following situation: "I would love to be able to download data in order to backup the data of my application and I tried your steps. One thing that didn't work for me was the line appcfg.py --server=python.latest.appid.appspot.com download_data exporter --filename=data.csv --kind=Thing --config_file=exporter/ thing_exporter.py but had to write appcfg.py --server=python.latest.xelavos.appspot.com download_data -- filename=data.csv --kind=Thing --config_file=exporter/ thing_exporter.py path/to/my/pythondirectory Then after being able to launch the exporter i got the following error after a while of downloading .[INFO ] Product: No descending index on __key__, performing serial download ......................................... Traceback (most recent call last): File "/usr/local/bin/appcfg.py", line 60, in run_file(__file__, globals()) File "/usr/local/bin/appcfg.py", line 57, in run_file execfile(script_path, globals_) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py", line 2548, in main(sys.argv) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py", line 2539, in main result = AppCfgApp(argv).Run() File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py", line 1640, in Run self.action(self) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py", line 2427, in __call__ return method() File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py", line 2293, in PerformDownload run_fn(args) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py", line 2215, in RunBulkloader sys.exit(bulkloader.Run(arg_dict)) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 3894, in Run return _PerformBulkload(arg_dict) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 3800, in _PerformBulkload return_code = app.Run() File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 3158, in Run self.progress_thread.WorkFinished() File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 2207, in WorkFinished exporter.output_entities(self.result_db.AllEntities()) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 2788, in output_entities for entity in entity_generator) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 2788, in for entity in entity_generator) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 2769, in __SerializeEntity encoding = self.__EncodeEntity(entity) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 2757, in __EncodeEntity writer.writerow(self.__ExtractProperties(entity)) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 2738, in __ExtractProperties encoding.append(fn(entity[name])) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 7: ordinal not in range(128) " Do you know what this error means and how i can fix it? Thanks for any help Dominik -- 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.
