Hi,

I'm trying to upload a CSV file to the datastore. I created the model and
bulkloader. However when I run the "appcfg.py upload_data" command I get
this error:

...[ERROR   ] [Thread-7] WorkerThread:
Traceback (most recent call last):
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/adaptive_thread_pool.py",
line 150, in WorkOnItems
    status, instruction = item.PerformWork(self.__thread_pool)
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
line 671, in PerformWork
    transfer_time = self._TransferItem(thread_pool)
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
line 826, in _TransferItem
    self.content = self.request_manager.EncodeContent(self.rows)
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
line 1226, in EncodeContent
    entity = loader.create_entity(values, key_name=key, parent=parent)
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
line 2443, in create_entity
    properties[name] = converter(val)
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/datastore_types.py",
line 1055, in __new__
    return super(Text, cls).__new__(cls, arg, encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 511:
ordinal not in range(128)
[ERROR   ] [Thread-5] WorkerThread:
Traceback (most recent call last):
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/adaptive_thread_pool.py",
line 150, in WorkOnItems
    status, instruction = item.PerformWork(self.__thread_pool)
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
line 671, in PerformWork
    transfer_time = self._TransferItem(thread_pool)
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
line 826, in _TransferItem
    self.content = self.request_manager.EncodeContent(self.rows)
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
line 1226, in EncodeContent
    entity = loader.create_entity(values, key_name=key, parent=parent)
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
line 2443, in create_entity
    properties[name] = converter(val)
  File
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/datastore_types.py",
line 1055, in __new__
    return super(Text, cls).__new__(cls, arg, encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 51:
ordinal not in range(128)


Your help would be greatly appreciated.

-Gezim

Gezim Hoxha (aka Gizmo)
http://www.gizmobooks.com -- buy/sell your textbooks

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to