chilli-axe / mtg-photoshop-automation

Photoshop scripting to generate high-quality Magic card renders, inserting Scryfall data into Photoshop frame templates.
GNU General Public License v3.0
60 stars 39 forks source link

Error 23: ) does not have a value #3

Closed Splatypus closed 4 years ago

Splatypus commented 4 years ago

image

Im getting this error when running anything that runs proxy.jsx. Did some logging and it seems to happen on line 43:

var jsonParsed = JSON.parse(JSON.parse(cardJSON));

Any log before this will print fine, any log after will not.

Splatypus commented 4 years ago

Fixed: Issue was due to JSON.parse not having a proper object to parse. This was because get_card_info.py was failing to run due to "requests" not being installed.
If anyone else runs into this, you can fix it with a simple pip install requests