Unable to resolve Permission Error - Python and AWS EB

0

I created a Dash application that has been deployed to AWS Elastic Beanstalk. The application relies on the user uploading an Excel sheet to get the desired output.

In another Dash application I created previously, there were no problems while uploading the Excel sheet. This time around, I keep getting a PermissionError(13, 'Permission Denied') message.

The platform for my Dash applications are Python. Unfortunately, I haven't been able to see anyone else facing the same problem too.

Just for reference, the value of the PYTHONPATH environment property is "/var/app/venv/staging-LQM1lest/bin".

Moreover, I am using the EB management console and not the CLI.

Any tips on how to solve the problem would be much appreciated.

Thanks.

preguntada hace 2 años719 visualizaciones
1 Respuesta
0

Not an expert here but the python error is usually file permission issue. eg user running process cannot access file due to file ownership or permissions. Probably need to check how the process is being run and how the permissions are set on the file being uploaded

AWS
EXPERTO
Peter_G
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas