Traceback (most recent call last):

 "/opt/**PGUSER**/venv-pupa//bin/pupa", line 11, in <module>
load_entry_point('pupa', 'console_scripts', 'pupa')()

 "/opt/**PGUSER**/venv-pupa/src/pupa/pupa/cli/__main__.py", line 68, in main
subcommands[args.subcommand].handle(args, other)

 "/opt/**PGUSER**/venv-pupa/src/pupa/pupa/cli/commands/update.py", line 278, in handle
return self.do_handle(args, other, juris)

 "/opt/**PGUSER**/venv-pupa/src/pupa/pupa/cli/commands/update.py", line 329, in do_handle
report['import'] = self.do_import(juris, args)

 "/opt/**PGUSER**/venv-pupa/src/pupa/pupa/cli/commands/update.py", line 219, in do_import
report.update(bill_importer.import_directory(datadir))

 "/opt/**PGUSER**/venv-pupa/src/pupa/pupa/importers/base.py", line 196, in import_directory
return self.import_data(json_stream())

 "/opt/**PGUSER**/venv-pupa/src/pupa/pupa/importers/base.py", line 233, in import_data
obj_id, what = self.import_item(data)

 "/opt/**PGUSER**/venv-pupa/src/pupa/pupa/importers/base.py", line 279, in import_item
updated = self._update_related(obj, related, self.related_models)

 "/opt/**PGUSER**/venv-pupa/src/pupa/pupa/importers/base.py", line 367, in _update_related
self._create_related(obj, {field: items}, subfield_dict)

 "/opt/**PGUSER**/venv-pupa/src/pupa/pupa/importers/base.py", line 403, in _create_related
raise DataImportError('{} while importing {} as {}'.format(e, subobjects, Subtype))

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/models/base.py", line 503, in __repr__
return '<%s: %s>' % (self.__class__.__name__, self)

 "/opt/**PGUSER**/venv-pupa/src/opencivicdata/opencivicdata/legislative/models/bill.py", line 102, in __str__
return '{0} action on {1}'.format(self.bill.identifier, self.date)

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/models/fields/related_descriptors.py", line 177, in __get__
rel_obj = self.get_object(instance)

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/models/fields/related_descriptors.py", line 144, in get_object
return qs.get(self.field.get_reverse_related_filter(instance))

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/models/query.py", line 393, in get
num = len(clone)

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/models/query.py", line 250, in __len__
self._fetch_all()

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/models/query.py", line 1186, in _fetch_all
self._result_cache = list(self._iterable_class(self))

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/models/query.py", line 54, in __iter__
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1065, in execute_sql
cursor.execute(sql, params)

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/backends/utils.py", line 68, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
return executor(sql, params, many, context)

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/backends/utils.py", line 80, in _execute
self.db.validate_no_broken_transaction()

 "/opt/**PGUSER**/venv-pupa/lib/python3.6/site-packages/django/db/backends/base/base.py", line 437, in validate_no_broken_transaction
"An error occurred in the current transaction. You can't "django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.
Traceback (most recent call last):


 "/home/kdadi/.local/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 74, in execfile_

code = compile(source, filepath_enc, 'exec')


 "/home/kdadi/dev/nilearn/doc/conf.py", line 231

ur"""Ga\xebl Varoquaux and Alexandre Abraham"""

^
SyntaxError: invalid syntax
