[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors during Plan to Eat import #3297

Open
DenWav opened this issue Sep 8, 2024 · 1 comment
Open

Errors during Plan to Eat import #3297

DenWav opened this issue Sep 8, 2024 · 1 comment
Labels
bug Something isn't working [feat] App Import application importers

Comments

@DenWav
Copy link
DenWav commented Sep 8, 2024

Tandoor Version

1.5.19

Setup

Unraid

Reverse Proxy

Others (please state below)

Other

Local nginx

Bug description

During import I get a variety of errors:

value too long for type character varying(512)
Error parsing string , <text>, food cannot be empty

Examples:
Error parsing string , Dry Ingredients, food cannot be empty
Error parsing string , Lime wedge, food cannot be empty
Error parsing string , Cake, food cannot be empty
etc

Not an error, but I also notice Tandoor does not decode HTML escape codes, for example many recipe titles contain the character sequence &#39; (') as well as others like &amp;, etc.

Here is the import file: plantoeat-recipes-411575_09-08-2024.txt

Relevant logs

No response

@vabene1111 vabene1111 added [feat] App Import application importers bug Something isn't working labels Sep 9, 2024
@lyndametref
Copy link

Plant to eat generate a line without amount when you have "headings" in ingredients list. I workaround this by adding an amount to all of those heading lines (replace regex ^, with 1, ). By doing that the import process have created food with the plant to eat heading text which I need to clean up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working [feat] App Import application importers
Projects
None yet
Development

No branches or pull requests

3 participants