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 1233 Expected a reference to an existing File/Folder #31

Closed netcosi closed 2 years ago

netcosi commented 3 years ago

Hello! Sorry if this has been asked before, but I am encountering this issue if I try to render planeswalkers or saga cards. These scripts work amazing for any other card type, but if you could direct me to a fix this would be incredible. Thanks!

Error 1233: Expected a reference to an existing File/Folder

Line: 389 -> app.load(file)

It seems to be coming from the paste_file() function in helpers.jsx

ndepaola commented 2 years ago

if you had to modify the python call in render.jsx you'll also need to update the other python call in helpers.jsx on line 418

ndepaola commented 2 years ago

this commit https://github.com/chilli-axe/mtg-photoshop-automation/commit/1d2890c3b2b604110c3b4862ae10c42117e6c408 means you only need to change the python system call in one place now, so hopefully this issue won't happen for people as much going forward :)