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
First time user, attempted to build a spreadsheet and it failed with an invalid enum in legalities:
Reading data from scryfall
Fetched https://api.scryfall.com/bulk-data
Fetched https://api.scryfall.com/sets
Fetched https://api.scryfall.com/migrations
Fetched https://api.scryfall.com/migrations?page=2
Fetched https://data.scryfall.io/default-cards/default-cards-20230316210924.json
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Python311\Scripts\mtg-ssm.exe\__main__.py", line 7, in <module>
File "C:\Python311\Lib\site-packages\mtg_ssm\ssm.py", line 290, in main
oracle = get_oracle(
^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\mtg_ssm\ssm.py", line 195, in get_oracle
scrydata = fetcher.scryfetch()
^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\mtg_ssm\scryfall\fetcher.py", line 77, in scryfetch
cards_data = msgspec.json.decode(
^^^^^^^^^^^^^^^^^^^^
msgspec.ValidationError: Invalid enum value 'oathbreaker' - at `key` in `$[0].legalities`
Apparently a new format was endorsed by WOTC. Seems to be fixed by adding Oathbreaker to models.py
The text was updated successfully, but these errors were encountered:
First time user, attempted to build a spreadsheet and it failed with an invalid enum in legalities:
Apparently a new format was endorsed by WOTC. Seems to be fixed by adding Oathbreaker to models.py
The text was updated successfully, but these errors were encountered: