Subject: CRITICAL BUG: Successful Build Leads to ModuleNotFoundError at Runtime
arya2022-mitra
PROOP

2 months ago

The Problem:

The application fails to find the pyswisseph package. However, the build log for the deployment clearly shows it was successfully installed.

Proof of Successful Build: Please see the attached build log (logs.1759068121752.log). It shows the line Successfully installed ... pyswisseph-2.10.3.2.

Proof of Runtime Failure: Please see the attached deploy log (logs.1759068127756.log). It shows the application crashing with ModuleNotFoundError: No module named 'pyswisseph'.

We have also corrected the start command to be /app/.venv/bin/gunicorn... to ensure it uses the virtual environment, but the error persists.

This appears to be a platform-level bug where the final runtime image does not correctly reflect the successfully built environment. Could your engineering team please investigate this urgently?

Thank you.

Please send them this message. This evidence is very clear, and their team should be able to resolve this for you. I'm very interested to hear what they find.

Solved$10 Bounty

7 Replies

Railway
BOT

2 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


Railway

Hey there! We've found the following might help you get unblocked faster: - [🧵 application not responding after successful build](https://station.railway.com/questions/application-not-responding-after-success-d26eba93) - [🧵 Deployment Failure after successful build](https://station.railway.com/questions/deployment-failure-after-successful-buil-b028192b) - [🧵 Persistent content caching despite successful deployments](https://station.railway.com/questions/persistent-content-caching-despite-succe-1615924a) - [🧵 Fails to deploy after successful build, no deploy logs](https://station.railway.com/questions/fails-to-deploy-after-successful-build-e3ac238c) If you find the answer from one of these, please let us know by solving the thread!

arya2022-mitra
PROOP

2 months ago

Deployment Failure after successful build


arya2022-mitra

Deployment Failure after successful build

arya2022-mitra
PROOP

2 months ago

the suggestion is not working i need real-time fix


brody
EMPLOYEE

2 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 2 months ago


noahd
EMPLOYEE

2 months ago

Hey there! Could we by chance get any more info on this project?
Any info is good info!


Have you created a requirements.txt file with all your dependencies?

Is this project open source? Can I view it?


Status changed to Solved arya2022-mitra 2 months ago


arya2022-mitra
PROOP

2 months ago

thanks bro


Status changed to Awaiting Railway Response Railway 2 months ago


arya2022-mitra

thanks bro

noahd
EMPLOYEE

2 months ago

Did what loudbook said fix the problem?


Status changed to Solved noahd 2 months ago


Loading...