1

約 1300 レコードで構成されるファイルをアップロードすると、エラーが発生します。問題は、どのレコードに問題があるのか​​、どのフィールドに問題があるのか​​さえわからないことです。appspot.com のログ画面でこれに関する情報が得られず、エラーからの出力が以下に示されます。手動でデータを分割せずに、どのレコードに問題があるかを特定する方法 (cvs ファイル) はありますか?

エラーログは次のとおりです。

[DEBUG    2012-04-30 12:27:03,932 bulkloader.py] [WorkerThread-9] [151-160] Transferred 10 entities in 1.2 seconds
[DEBUG    2012-04-30 12:27:03,933 adaptive_thread_pool.py] [WorkerThread-9] WorkerThread: exiting
[ERROR    2012-04-30 12:27:03,933 adaptive_thread_pool.py] Error in WorkerThread-8: tag should be a string; received None (a NoneType):
[DEBUG    2012-04-30 12:27:03,933 adaptive_thread_pool.py] Traceback (most recent call last):
  File "/local/scratch/btd1y09/google_appengine/google/appengine/tools/adaptive_thread_pool.py", line 176, in WorkOnItems
    status, instruction = item.PerformWork(self.__thread_pool)
  File "/local/scratch/btd1y09/google_appengine/google/appengine/tools/bulkloader.py", line 764, in PerformWork
    transfer_time = self._TransferItem(thread_pool)
  File "/local/scratch/btd1y09/google_appengine/google/appengine/tools/bulkloader.py", line 933, in _TransferItem
    self.content = self.request_manager.EncodeContent(self.rows)
  File "/local/scratch/btd1y09/google_appengine/google/appengine/tools/bulkloader.py", line 1394, in EncodeContent
    entity = loader.create_entity(values, key_name=key, parent=parent)
  File "/local/scratch/btd1y09/google_appengine/google/appengine/ext/bulkload/bulkloader_config.py", line 445, in create_entity
    entity = self.dict_to_entity(input_dict, self.bulkload_state)
  File "/local/scratch/btd1y09/google_appengine/google/appengine/ext/bulkload/bulkloader_config.py", line 147, in dict_to_entity
    self.__run_import_transforms(input_dict, instance, bulkload_state_copy)
  File "/local/scratch/btd1y09/google_appengine/google/appengine/ext/bulkload/bulkloader_config.py", line 252, in __run_import_transforms
    value = self.__dict_to_prop(transform, input_dict, bulkload_state)
  File "/local/scratch/btd1y09/google_appengine/google/appengine/ext/bulkload/bulkloader_config.py", line 207, in __dict_to_prop
    value = transform.import_transform(value)
  File "/local/scratch/btd1y09/google_appengine/google/appengine/ext/bulkload/bulkloader_parser.py", line 111, in __call__
    return self.method(*args, **kwargs)
  File "/local/scratch/btd1y09/google_appengine/google/appengine/api/datastore_types.py", line 802, in __init__
    ValidateString(tag, 'tag')
  File "/local/scratch/btd1y09/google_appengine/google/appengine/api/datastore_types.py", line 164, in ValidateString
    (name, value, typename(value)))
BadValueError: tag should be a string; received None (a NoneType):

[DEBUG    2012-04-30 12:27:03,964 bulkloader.py] Waiting for progress_thread to terminate...
[DEBUG    2012-04-30 12:27:03,975 bulkloader.py] [Thread-11] ProgressTrackerThread: exiting
[DEBUG    2012-04-30 12:27:03,979 bulkloader.py] ... done.
[INFO     2012-04-30 12:27:03,979 bulkloader.py] 1210 entities total, 0 previously transferred
[INFO     2012-04-30 12:27:03,979 bulkloader.py] 190 entities (323188 bytes) transferred in 4.5 seconds
[INFO     2012-04-30 12:27:03,979 bulkloader.py] Some entities not successfully transferred

リモート API を bulkloader.yaml で使用しています。

ありがとう

4

0 に答える 0