ephes / kptncook

Fetch receipts from kptncook API and export them to mealie or paprika
MIT License
42 stars 4 forks source link

Error on mealie sync #36

Open dvogt23 opened 8 months ago

dvogt23 commented 8 months ago

Hey thanks for this great script 👋🏾 but since some days I getting following error:

Screenshot 2024-04-03 at 12 24 08

Do you have an idea whats wrong?

Error:

AttributeError: 'list' object has no attribute 'get'
barrio5 commented 7 months ago

same issue here :/

jdaberkow commented 7 months ago

Yes. This affects me as well... :(

alexdetsch commented 7 months ago

I "solved" the problem for me by inserting some try/except statements. I think, sometimes kptncook doesn't ship the image url, but I didn't debugged that further. If no one has a better idea, I can make a PR with that, but its not a particularly nice solution.

mainrs commented 7 months ago

I "solved" the problem for me by inserting some try/except statements. I think, sometimes kptncook doesn't ship the image url, but I didn't debugged that further. If no one has a better idea, I can make a PR with that, but its not a particularly nice solution.

Could you share your changes you made, please? Either as a PR or a patch file?

barrio5 commented 6 months ago

@alexdetsch do you have any updates on that?