paprika-to-obsidian-markdown
paprika-to-obsidian-markdown copied to clipboard
Error parsing ingredients
Every recipe in my database (as far as I can tell) is telling me "error parsing ingredients." I'm not sure what it's supposed to be doing, but I'm guessing based on the output that it's getting part of the processing done but not all of it. I don't know for sure what the output should look like, but this isn't what I would expect is intended.
The output image here is from processing it with the plain markdown template. (Although I'm getting the error regardless of which template I use.) The other is where a friend helped me remove the bit of the code that threw the error message and I ran it again so we could see more clearly what it's doing when it reaches that point.
@a2jc4life, the bit where it says '1/'
this looks to me like you have some ingredients with fractions in them - like 1/4. I'll have a check to see if I'm processing them or not, I thought I was.
The fractions are accounted for and working fine. I'm happy to try and fix this if you're able to send over a .paprikarecipes file with one or two recipes that are causing this error for you. if you go into the list view you should be able to select recipes without entering them, right click and export.
It would also be useful to know which OS and which version of Python you're using (python -V
).