Unstructured-IO / unstructured-api-tools

Apache License 2.0
28 stars 10 forks source link

Package not found at temporary directory #170

Closed kravetsmic closed 1 year ago

kravetsmic commented 1 year ago

Failed test: test_unstructured_api_tools/api/test_file_apis.py::test_process_file_1[test_files19-test_params19-text/csv-200-None]

Error: docx.opc.exceptions.PackageNotFoundError: Package not found at '/var/folders/cx/92j0_3qj0ynf345j2cphf7wc0000gp/T/tmp4vp124xp/fake.docx'

Ways to reproduce:

  1. pip install "unstructured[local-inference]"
  2. Install next packages:
    • libmagic-dev
    • poppler-utils
    • tesseract-ocr
  3. pip install "detectron2@git+https://github.com/facebookresearch/detectron2.git@e2ce8dc#egg=detectron2"
  4. make test