19/10/08 09:57:04 WARN TaskSetManager: Lost task 1.0 in stage 0.0 (TID 1, luca95-w3.tgcxxqymd3fejekkvr1k4kd3dg.fx.internal.cloudapp.net, executor 2): org.apache.spark.api.python.PythonException: Traceback (most recent call last):


 "/hadoopfs/fs2/yarn/nodemanager/usercache/cloudbreak/appcache/application_1570519936439_0018/container_e02_1570519936439_0018_01_000003/pyspark.zip/pyspark/worker.py", line 229, in main

process()


 "/hadoopfs/fs2/yarn/nodemanager/usercache/cloudbreak/appcache/application_1570519936439_0018/container_e02_1570519936439_0018_01_000003/pyspark.zip/pyspark/worker.py", line 224, in process

serializer.dump_stream(func(split_index, iterator), outfile)


 "/usr/hdp/current/spark2-client/python/lib/pyspark.zip/pyspark/rdd.py", line 2438, in pipeline_func


 "/usr/hdp/current/spark2-client/python/lib/pyspark.zip/pyspark/rdd.py", line 2438, in pipeline_func


 "/usr/hdp/current/spark2-client/python/lib/pyspark.zip/pyspark/rdd.py", line 2438, in pipeline_func

[Previous line repeated 1 more time]


 "/usr/hdp/current/spark2-client/python/lib/pyspark.zip/pyspark/rdd.py", line 362, in func


 "/usr/hdp/current/spark2-client/python/lib/pyspark.zip/pyspark/rdd.py", line 809, in func


 "/home/cloudbreak/Python3/lib/python3.6/site-packages/tensorflowonspark/TFSparkNode.py", line 365, in _mapfn


 "/home/cloudbreak/Python3/lib/python3.6/site-packages/tensorflowonspark/TFSparkNode.py", line 324, in wrapper_fn


 "/home/cloudbreak/mnist_tf.py", line 7, in main_fun


 "/hadoopfs/fs2/yarn/nodemanager/usercache/cloudbreak/appcache/application_1570519936439_0018/container_e02_1570519936439_0018_01_000003/Python3/lib/python3.6/site-packages/tensorflow_datasets/__init__.py", line 46, in <module>

from tensorflow_datasets.core import tf_compat


 "/hadoopfs/fs2/yarn/nodemanager/usercache/cloudbreak/appcache/application_1570519936439_0018/container_e02_1570519936439_0018_01_000003/Python3/lib/python3.6/site-packages/tensorflow_datasets/core/__init__.py", line 23, in <module>

from tensorflow_datasets.core.dataset_builder import BeamBasedBuilder
# pylint:disable=g-import-not-at-top


 "/hadoopfs/fs2/yarn/nodemanager/usercache/cloudbreak/appcache/application_1570519936439_0018/container_e02_1570519936439_0018_01_000003/Python3/lib/python3.6/site-packages/tensorflow_datasets/core/dataset_builder.py", line 35, in <module>

from tensorflow_datasets.core import download


 "/hadoopfs/fs2/yarn/nodemanager/usercache/cloudbreak/appcache/application_1570519936439_0018/container_e02_1570519936439_0018_01_000003/Python3/lib/python3.6/site-packages/tensorflow_datasets/core/download/__init__.py", line 19, in <module>

from tensorflow_datasets.core.download.download_manager import DownloadConfig


 "/hadoopfs/fs2/yarn/nodemanager/usercache/cloudbreak/appcache/application_1570519936439_0018/container_e02_1570519936439_0018_01_000003/Python3/lib/python3.6/site-packages/tensorflow_datasets/core/download/download_manager.py", line 35, in <module>

from tensorflow_datasets.core.download import extractor


 "/hadoopfs/fs2/yarn/nodemanager/usercache/cloudbreak/appcache/application_1570519936439_0018/container_e02_1570519936439_0018_01_000003/Python3/lib/python3.6/site-packages/tensorflow_datasets/core/download/extractor.py", line 40, in <module>

import bz2
# pylint:disable=g-import-not-at-top


 "/hadoopfs/fs2/yarn/nodemanager/usercache/cloudbreak/appcache/application_1570519936439_0018/container_e02_1570519936439_0018_01_000003/Python3/lib/python3.6/bz2.py", line 23, in <module>

**from _bz2 import BZ2Compressor, BZ2Decompressor
ModuleNotFoundError: No module named '_bz2'**

Traceback (most recent call last):


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/app.py", line 61, in application

response = frappe.handler.handle()


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle

data = execute_cmd(cmd)


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/handler.py", line 56, in execute_cmd

return frappe.call(method, **frappe.form_dict)


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/__init__.py", line 1027, in call

return fn(*args, **newargs)


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/desk/form/save.py", line 22, in savedocs

doc.save()


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/model/document.py", line 260, in save

return self._save(*args, **kwargs)


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/model/document.py", line 283, in _save

self.insert()


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/model/document.py", line 249, in insert

self.run_post_save_methods()


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/model/document.py", line 905, in run_post_save_methods

self.run_method("on_update")


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/model/document.py", line 772, in run_method

out = Document.hook(fn)(self, *args, **kwargs)


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/model/document.py", line 1048, in composer

return composed(self, method, *args, **kwargs)


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/model/document.py", line 1031, in runner

add_to_return_value(self, fn(self, *args, **kwargs))


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/model/document.py", line 766, in <lambda>

fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)


 "/home/cameron/development/frappe-bench/apps/erpnext/erpnext/setup/doctype/company/company.py", line 97, in on_update

install_country_fixtures(self.name)


 "/home/cameron/development/frappe-bench/apps/erpnext/erpnext/setup/doctype/company/company.py", line 400, in install_country_fixtures

.format(frappe.scrub(company_doc.country)))(company_doc, False)


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/__init__.py", line 1018, in get_attr

return getattr(get_module(modulename), methodname)


 "/home/cameron/development/frappe-bench/apps/frappe/frappe/__init__.py", line 799, in get_module

return importlib.import_module(modulename)


 "/home/cameron/development/frappe-bench/env/lib/python3.6/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 978, in _gcd_import


 "<frozen importlib._bootstrap>", line 961, in _find_and_load


 "<frozen importlib._bootstrap>", line 948, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'erpnext.regional.united_states.setup'
