#Havent changed anything but get this python error when restarting

14 messages · Page 1 of 1 (latest)

wraith geyser
#

File "/app/modules/stripe/init.py", line 2, in <module>
from stripe import stripe
ImportError: cannot import name 'stripe' from 'stripe' (/opt/venv/lib/python3.12/site-packages/stripe/init.py)

Literally all i did was change one line totally irrelevant to this import and now my deployments keep crashing

spring dust
wraith geyser
spring dust
wraith geyser
#

im curious why thats neccasry as it wouldnt be the issue with the code, it was working fine until i restarted the deployment

#

i feel like the answer woul dbe with something railway changed to the python confgiurations

spring dust
wraith geyser
#

yeah its private but has there been no updates to railways python configurations?

#

like theres no possible way its mycode thats the issue

#

it works fine on my compute

#

computer

spring dust
#

Are you building with a Dockerfile?

wraith geyser
#

ye

worn dawn
#

If you changed one line and are building with a dockerfile I can fairly confidentally say that this isn't on Railway and is a service related issue.