Open
Description
Wizards broke the file format parsing again :-(
$ ProgramFiles=/mnt/windows/Program\ Files/ ./import-collection.py
Traceback (most recent call last):
File "/home/philip/mtga/mtga-utils/mtga_log.py", line 107, in get_last_json_block
return self._list_to_json(block)
File "/home/philip/mtga/mtga-utils/mtga_log.py", line 114, in _list_to_json
return json.loads(json_string)
File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/philip/mtga/mtga-utils/./import-collection.py", line 24, in <module>
main()
File "/home/philip/mtga/mtga-utils/./import-collection.py", line 16, in main
for mtga_id, card, count in log.get_collection():
File "/home/philip/mtga/mtga-utils/mtga_log.py", line 145, in get_collection
collection = self.get_last_json_block('<== ' + MTGA_COLLECTION_KEYWORD)
File "/home/philip/mtga/mtga-utils/mtga_log.py", line 109, in get_last_json_block
raise MtgaLogParsingError(exception)
mtga_log.MtgaLogParsingError: Expecting value: line 1 column 1 (char 0)
I will investigate, but due to Real Life I won't have a chance to look at it properly until Monday 2021-08-30. This has broken a number of the trackers as well, so it's not just us...
Metadata
Metadata
Assignees
Labels
No labels