You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "python/convert.py", line 13, in <module>
main()
File "python/convert.py", line 9, in main
print(log_to_xml(f))
File "/home/benedict/Dokumente/HSReplay/python/hsreplay/__init__.py", line 314, in log_to_xml
root.append(game_element.xml())
File "/home/benedict/Dokumente/HSReplay/python/hsreplay/__init__.py", line 50, in xml
element.append(node.xml())
File "/home/benedict/Dokumente/HSReplay/python/hsreplay/__init__.py", line 50, in xml
element.append(node.xml())
File "/home/benedict/Dokumente/HSReplay/python/hsreplay/__init__.py", line 59, in xml
element.attrib["ts"] = self.ts.isoformat()
AttributeError: 'str' object has no attribute 'isoformat'
WARNING:root:python-dateutil is not installed. Timestamp parsing may not work properly.
Traceback (most recent call last):
File "./convert.py", line 13, in <module>
main()
File "./convert.py", line 9, in main
print(log_to_xml(f))
File "/home/benedict/Dokumente/HSReplay/python/hsreplay/__init__.py", line 302, in log_to_xml
parser.read(fp)
File "/home/benedict/Dokumente/HSReplay/python/src/hearthstone/hearthstone/hslog/parser.py", line 445, in read
self.read_line(line)
File "/home/benedict/Dokumente/HSReplay/python/src/hearthstone/hearthstone/hslog/parser.py", line 453, in read_line
ts = self.parse_timestamp(ts)
File "/home/benedict/Dokumente/HSReplay/python/src/hearthstone/hearthstone/hslog/parser.py", line 437, in parse_timestamp
ret = parse_timestamp(ts)
File "/home/benedict/Dokumente/HSReplay/python/src/hearthstone/hearthstone/hslog/parser.py", line 22, in parse_timestamp
return datetime.strptime(ts[:-1], self.timestamp_format)
NameError: name 'self' is not defined
Power.log.
The text was updated successfully, but these errors were encountered: