Open a web browser and navigate to http://localhost:8501/RAG_Google_Drive.
Observe the Error:
You should see the following error message:
Error: could not locate runnable browser
The error traceback indicates that the issue occurs when the application tries to authenticate with Google:
File "/app/otimati_app/pages/2_RAG_Google_Drive.py", line 225, in <module> main()
File "/app/otimati_app/pages/2_RAG_Google_Drive.py", line 176, in main creds = authenticate_with_google()
File "/app/otimati_app/pages/2_RAG_Google_Drive.py", line 52, in authenticate_with_google creds = flow.run_local_server()
Expected Result:
The Google Drive file upload functionality should work correctly, allowing the user to authenticate with Google and upload files from Google Drive.
Actual Result:
The application throws an error stating "could not locate runnable browser" during the Google authentication process.
Additional Information
Docker version: Docker version 26.1.4, build 5650f9b
This issue is caused by the fact that the Docker container does not have a graphical environment to run a browser for Google authentication. @mtch3n Please check this issue.
Description of the bug
Steps To Reproduce
Build Docker Image:
Run Docker Container:
Access the Application:
http://localhost:8501/RAG_Google_Drive
.Observe the Error:
Expected Result:
Actual Result:
Additional Information