Skip to content

Bug: Upgrade to 0.6.3 produces Nltk Lookup Error #553

@Franzl-Alm

Description

@Franzl-Alm

Is this urgent?

No

What parts are affected

Backend

What is the server version

0.6.3

What is the client version

0.6.3

What platform are you using

No response

What's the problem 🤔

Container does not start due to:

[nltk_data] Downloading package averaged_perceptron_tagger_eng to
[nltk_data]     /nltk_data...
Downloading required NLTK resource: averaged_perceptron_tagger_eng
Traceback (most recent call last):
  File "/opt/venv/lib/python3.12/site-packages/ingredient_parser/_common.py", line 103, in download_nltk_resources
    nltk.data.find(
  File "/opt/venv/lib/python3.12/site-packages/nltk/data.py", line 579, in find
    raise LookupError(resource_not_found)
LookupError: 
**********************************************************************
  Resource averaged_perceptron_tagger_eng not found.
  Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
>>> nltk.download('averaged_perceptron_tagger_eng')
  
  For more information see: https://www.nltk.org/data.html

  Attempted to load taggers/averaged_perceptron_tagger_eng/averaged_perceptron_tagger_eng.classes.json

  Searched in:
    - '/nltk_data'
    - '/opt/venv/nltk_data'
    - '/opt/venv/share/nltk_data'
    - '/opt/venv/lib/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/local/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/local/lib/nltk_data'
**********************************************************************

Any help would be appreciated.
Thanks again for the app!

Share your logs

see above

Share your configuration

BACK_URL: kitchenowl-backend.default.svc.cluster.local:5000
FRONT_URL: https://groceries.example.com
JWT_SECRET_KEY: asdf1234asdf1234asdf1234asdf1234asdf1234asdf1234asdf1234asdf1234asdf1
OIDC_ISSUER: https://authentication.example.com
OIDC_CLIENT_ID: kitchenowl
OIDC_CLIENT_SECRET: asdf1234asdf1234asdf1234asdf1234asdf12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions