Closed arun-gupta closed 1 month ago
pymupdf.FileDataError: Failed to open file './uploaded_files/nke-10k-2023.pdf'.
Can you check this path './uploaded_files/nke-10k-2023.pdf' in your docker container ?
Can you provide command for checking this path? @feng-intel
I suppose your docker image was built from ->
docker build --no-cache -t opea/dataprep-redis:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/dataprep/redis/langchain/docker/Dockerfile .
The docker file is here From this Dockerfile, the workdir is "/home/user/comps/dataprep/redis/langchain" You can
$ docker exec -it the_id_of_container_opea/dataprep-redis:latest /bin/bash
and to check if there is './uploaded_files/nke-10k-2023.pdf' under '/home/user/comps/dataprep/redis/langchain'
Hi Arun, We reorg the path of opea in the days, could you please try the latest main branch and let us know if it works now? fixed the nke-10k-2023.pdf path issue by #804
Close issue. @arun-gupta Please open it if you still have the issue. Thanks.
Priority
Undecided
OS type
Other (Please let us know in description)
Hardware type
Xeon-SPR
Installation method
Deploy method
Running nodes
Single Node
What's the version?
Amazon Linux 2023 AMI v0.9 of Docker images
Description
Following the steps at https://github.com/opea-project/GenAIExamples/tree/main/ChatQnA/docker/xeon
DataPrep microservice gives
Internal Server Error
The file exists on the local file system.
Reproduce steps
Get all the services running by following the steps at https://gist.github.com/arun-gupta/7e9f080feff664fbab878b26d13d83d7
Raw log