julianpoy / RecipeSage

A Collaborative Recipe Keeper, Meal Planner, and Shopping List Organizer in PWA form.
https://recipesage.com
571 stars 55 forks source link

Autofill from PDF error #1405

Open alxwlfe opened 1 week ago

alxwlfe commented 1 week ago

Describe the bug When trying to import / add a recipe from a scanned PDF, an error appears.

What page/area is the bug in? Create a new recipe page

To Reproduce Steps to reproduce the behavior:

  1. Click the '+' to add a new recipe
  2. Click on 'Autofill recipe from'
  3. Choose 'Scanned PDF'
  4. See error [screenshots below]

Expected behavior Text for recipe from PDF imported to recipe page.

Screenshots

image image
{
  "error": {
    "json": {
      "message": "No \"query\"-procedure on path \"ml.getRecipeFromPDF\"",
      "code": -32004,
      "data": {
        "code": "NOT_FOUND",
        "httpStatus": 404,
        "path": "ml.getRecipeFromPDF"
      }
    }
  }
}

Desktop (please complete the following information):

Recipe PDF Asparagus & Tomato Linguine.pdf

julianpoy commented 4 days ago

Thanks for the issue! I'll take a look this weekend.