Traceback (most recent call last):


 "/home/tblamer/repos/mtools/.venv/mtools/bin/mlogvis", line 11, in <module>

load_entry_point('mtools', 'console_scripts', 'mlogvis')()


 "/home/tblamer/repos/mtools/mtools/mlogvis/mlogvis.py", line 114, in main

tool.run()


 "/home/tblamer/repos/mtools/mtools/mlogvis/mlogvis.py", line 87, in run

json_docs = self._export(True)


 "/home/tblamer/repos/mtools/mtools/mlogvis/mlogvis.py", line 45, in _export

for line_no, logevent in enumerate(self.args['logfile']):


 "/home/tblamer/repos/mtools/mtools/util/logfile.py", line 248, in __iter__

le = self.next()


 "/home/tblamer/repos/mtools/mtools/util/logfile.py", line 215, in next

line = line.decode('utf-8', 'replace')
AttributeError: 'str' object has no attribute 'decode'

Traceback (most recent call last):


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3296, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-21-71ba78ae2b82>", line 13, in <module>

ddf.map_partitions(lambda df: df["A"].sum(), meta=meta).values.compute()


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/base.py", line 175, in compute

(result,) = compute(self, traverse=False, **kwargs)


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/base.py", line 446, in compute

results = schedule(dsk, keys, **kwargs)


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/threaded.py", line 82, in get

**kwargs


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/local.py", line 491, in get_async

raise_exception(exc, tb)


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/compatibility.py", line 130, in reraise

raise exc


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/local.py", line 233, in execute_task

result = _execute_task(task, data)


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/core.py", line 119, in _execute_task

return func(*args2)


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/optimization.py", line 1059, in __call__

return core.get(self.dsk, self.outkey, dict(zip(self.inkeys, args)))


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/core.py", line 149, in get

result = _execute_task(task, cache)


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/core.py", line 119, in _execute_task

return func(*args2)


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/compatibility.py", line 107, in apply

return func(*args, **kwargs)


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/dataframe/core.py", line 4829, in apply_and_enforce

df = func(*args, **kwargs)


 "/Users/xrzq/miniconda3/envs/py36/lib/python3.6/site-packages/dask/dataframe/methods.py", line 274, in values

return df.values
AttributeError: 'numpy.int64' object has no attribute 'values'
