Traceback (most recent call last):


 "/.pkg/software/python/3.6.0/lib/python3.6/threading.py", line 916, in _bootstrap_inner

self.run()


 "/usr2/shikhans/.local/lib/python3.6/site-packages/powerline_shell/segments/git_stash.py", line 22, in run

self.stash_count = get_stash_count()


 "/usr2/shikhans/.local/lib/python3.6/site-packages/powerline_shell/segments/git_stash.py", line 17, in get_stash_count

return pdata[0].count('\n')
TypeError: a bytes-like object is required, not 'str'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/lib/python3.7/site-packages/pandas/core/frame.py", line 6487, in apply

return op.get_result()


 "/usr/lib/python3.7/site-packages/pandas/core/apply.py", line 151, in get_result

return self.apply_standard()


 "/usr/lib/python3.7/site-packages/pandas/core/apply.py", line 257, in apply_standard

self.apply_series_generator()


 "/usr/lib/python3.7/site-packages/pandas/core/apply.py", line 286, in apply_series_generator

results[i] = self.f(v)


 "<stdin>", line 1, in <lambda>
TypeError: ('string indices must be integers', 'occurred at index 0')
