2 years ago
I'm facing an error when building a simple FastAPI project:Text file busy: '/opt/venv/bin/python'
This error happens during the poetry install stage of the nix docker build. I'd appreciate any pointers or troubleshooting steps I could take!
ⓘ Deployment information is only viewable by project members and Railway employees.
8 Replies
2 years ago
Looks like you have incorrectly configured the service, it would be best for you to delete that service and deploy into a new service.
2 years ago
I tried creating a new service, followed these steps:
Choose root directory (I have a monorepo in github and this project is in a subfolder)
Change the nixpack environment is set to python
Rely on the pre-defined build command, which seems to be correct because I am using poetry
Click deploy
But the same error happened again. If my service is misconfigured, I'd love to know what's wrong with it!
Attachments
2 years ago
You are setting duplicate providers, please do not touch anything to do with the providers.
2 years ago
Interesting, yeah, when I close and open the config again, I see double Python provider. That seems to be a bug, because I clearly only saw one when I prepared my initial config. Maybe it tried adding one automatically at the same time as I configured one manually.
2 years ago
The build was successful now, thank you for identifying my issue!
Status changed to Solved brody • over 1 year ago