Something didn’t work. I don’t think this was user error. (I wasn’t 100% sure if the filenames were literally supposed to be enclosed in quotes, but it looks like it found them, so I assume yes. And it looks like what it had a problem with was parsing the database.)
FOR USERS:
I’m on Windows, and the hardest part for me was installing Python. LOL For newbies like me, make sure you tick the PATH checkbox during installation. Then you can enter “cmd” into the Windows search bar to open a command line. “cd directoryname” (where directoryname is whatever your folder is called) will navigate you to the “repo folder,” as the GitHub instructions call it, so you can proceed.
FOR THE DEVELOPER:
I’m not sure what went wrong, but it did try to run and it didn’t actually (as far as I can tell) output anything. (The only thing that’s in that folder is what was in the folder before.)
I’m not sure where to go from here.
UPDATE:
Me again; sorry. I’m using Quinn’s update now – not sure if that’s what fixed the original glitch or not. I have a very large recipe database (13,165 recipes) and it’s running into issues with recipe titles that contain a pipe (|), a question mark (?), asterisk ( * ), or a colon ( : ). That I can tell so far.
If it hits one of these it throws up an error and stops the script. That’s mostly an FYI. I just have been changing the recipe title and rerunning it. (This is actually quicker than scrolling through 13,000 recipes )
However…it’s giving me an “error parsing ingredients” for every recipe. This is what actually gets output in the final file if using the plain MD template:
So I’m not sure exactly what it’s doing/not doing, script-wise. I’m pretty sure this is not what’s supposed to be displaying. It looks like this is both the actual intended display output and a unit-based version that would be used for calculations. (Although this is what the output looks like with the plain MD template, the ingredient-parsing error is happening regardless of which template I use.)
UPDATE #2:
I still haven’t sorted out what the ingredient-parsing error is and am not sure if the output is what it’s supposed to be doing or not. But I also discovered that it can’t handle recipes that have the same title. This is a problem, because they aren’t necessarily the same. So if you have, say, “Peanut Butter Cookies” and “Peanut Butter Cookies,” it doesn’t keep them both and append a number or something to the second file; it just overwrites it or deletes it or skips it, or…something. I’m not sure what it’s doing to these files, exactly, but they’re missing from the final result.
It would be a lot easier to figure out what’s actually a duplicate and/or rename this after converting the files than have to do it beforehand, since one of the reasons for moving away from Paprika is that it’s so many steps to get “into” a recipe to edit it.