
Traceback (most recent call last):

 "/usr/lib/python2.7/site-packages/powerline/bindings/zsh/__init__.py", line 97, in __str__
segment_info={'args': self.args, 'environ': environ}

 "/usr/lib/python2.7/site-packages/powerline/__init__.py", line 372, in render
return self.renderer.render(*args, **kwargs)

 "/usr/lib/python2.7/site-packages/powerline/renderer.py", line 185, in render
segments = theme.get_segments(side, self.get_segment_info(segment_info))

 "/usr/lib/python2.7/site-packages/powerline/renderer.py", line 153, in get_segment_info
if 'PWD' in r['environ']:

 "/usr/lib/python2.7/site-packages/powerline/bindings/zsh/__init__.py", line 68, in __getitem__
return string(zsh.getvalue(key))
TypeError: must be string, not int
Traceback (most recent call last):


 "/bot/bot/cogs/moderation/scheduler.py", line 415, in _scheduled_task

expiry = dateutil.parser.isoparse(infraction["expires_at"]).replace(tzinfo=None)


 "/usr/local/lib/python3.7/site-packages/dateutil/parser/isoparser.py", line 37, in func

return f(self, str_in, *args, **kwargs)


 "/usr/local/lib/python3.7/site-packages/dateutil/parser/isoparser.py", line 134, in isoparse

components, pos = self._parse_isodate(dt_str)


 "/usr/local/lib/python3.7/site-packages/dateutil/parser/isoparser.py", line 208, in _parse_isodate

return self._parse_isodate_common(dt_str)


 "/usr/local/lib/python3.7/site-packages/dateutil/parser/isoparser.py", line 213, in _parse_isodate_common

len_str = len(dt_str)
TypeError: object of type 'NoneType' has no len()
