
DETAIL: Traceback (most recent call last):

 "/usr/local/lib/python2.6/site-packages/wal_e/cmd.py", line 566, in main
external_program_check(external_programs)

 "/usr/local/lib/python2.6/site-packages/wal_e/cmd.py", line 137, in external_program_check
psql_csv_run('SELECT 1', error_handler=psql_err_handler)

 "/usr/local/lib/python2.6/site-packages/wal_e/worker/pg/psql_worker.py", line 43, in psql_csv_run
csv_query.append('COPY ({}) TO STDOUT WITH CSV HEADER'.format(sql_command))
ValueError: zero length field name in format
Traceback (most recent call last):


 "./manage.py", line 46, in <module>

execute_from_command_line(sys.argv)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line

utility.execute()


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv

self.execute(*args, **cmd_options)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute

output = self.handle(*args, **options)


 "/home/zulip/deployments/2018-11-09-14-14-01/zerver/management/commands/convert_hipchat_data.py", line 77, in handle

masking_content=options.get('masking_content', False),


 "/home/zulip/deployments/2018-11-09-14-14-01/zerver/data_import/hipchat.py", line 696, in do_convert_data

realm_id=realm_id,


 "/home/zulip/deployments/2018-11-09-14-14-01/zerver/data_import/hipchat.py", line 151, in convert_user_data

user = process(raw_item)


 "/home/zulip/deployments/2018-11-09-14-14-01/zerver/data_import/hipchat.py", line 147, in process

timezone=timezone,


 "/home/zulip/deployments/2018-11-09-14-14-01/zerver/data_import/import_util.py", line 60, in build_user_profile

dct = model_to_dict(obj)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/forms/models.py", line 97, in model_to_dict

data[f.name] = f.value_from_object(instance)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/fields/related.py", line 1683, in value_from_object

return getattr(obj, self.attname).all()


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/manager.py", line 160, in all

return self.get_queryset()


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/fields/related_descriptors.py", line 883, in get_queryset

return self._apply_rel_filters(queryset)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/fields/related_descriptors.py", line 870, in _apply_rel_filters

return queryset._next_is_sticky().filter(**self.core_filters)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/query.py", line 787, in filter

return self._filter_or_exclude(False, *args, **kwargs)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/query.py", line 805, in _filter_or_exclude

clone.query.add_q(Q(*args, **kwargs))


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1250, in add_q

clause, _ = self._add_q(q_object, self.used_aliases)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1276, in _add_q

allow_joins=allow_joins, split_subq=split_subq,


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1210, in build_filter

condition = self.build_lookup(lookups, col, value)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1104, in build_lookup

return final_lookup(lhs, rhs)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/lookups.py", line 24, in __init__

self.rhs = self.get_prep_lookup()


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/lookups.py", line 74, in get_prep_lookup

return self.lhs.output_field.get_prep_value(self.rhs)


 "/home/zulip/deployments/2018-11-09-14-14-01/zulip-py3-venv/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 966, in get_prep_value

return int(value)
ValueError: invalid literal for int() with base 10: '557058:975d0e3c-f10d-42e9-9578-abcdef1234'
