app crashed after deployment
mathan3006
TRIALOP

a year ago

[2025-01-09 13:06:06 +0000] [1] [INFO] Starting gunicorn 20.1.0

[2025-01-09 13:06:06 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)

[2025-01-09 13:06:06 +0000] [1] [INFO] Using worker: sync

[2025-01-09 13:06:06 +0000] [2] [INFO] Booting worker with pid: 2

[2025-01-09 13:06:06 +0000] [2] [ERROR] Exception in worker process

Traceback (most recent call last):

File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker

worker.init_process()

File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process

self.load_wsgi()

File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi

self.wsgi = [self.app](self.app).wsgi()

            ^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/gunicorn/app/base.py", line 67, in wsgi

self.callable = self.load()

                ^^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 58, in load

return self.load_wsgiapp()

       ^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp

return util.import_app(self.app_uri)

       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/gunicorn/util.py", line 359, in import_app

mod = importlib.import_module(module)

      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)

       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "", line 1204, in gcdimport

File "", line 1176, in findand_load

File "", line 1147, in findandloadunlocked

File "", line 690, in loadunlocked

File "", line 936, in exec_module

File "", line 1074, in get_code

File "", line 1004, in sourcetocode

File "", line 241, in callwithframesremoved

File "/app/app.py", line 13

EXPENSES_FILE = ${{ Postgres.DATABASE_URL }}

                ^

SyntaxError: invalid syntax

[2025-01-09 13:06:06 +0000] [2] [INFO] Worker exiting (pid: 2)

[2025-01-09 13:06:06 +0000] [1] [INFO] Shutting down: Master

[2025-01-09 13:06:06 +0000] [1] [INFO] Reason: Worker failed to boot.

[2025-01-09 13:06:08 +0000] [1] [INFO] Starting gunicorn 20.1.0

[2025-01-09 13:06:08 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)

[2025-01-09 13:06:08 +0000] [1] [INFO] Using worker: sync

[2025-01-09 13:06:08 +0000] [2] [INFO] Booting worker with pid: 2

[2025-01-09 13:06:08 +0000] [2] [ERROR] Exception in worker process

Traceback (most recent call last):

File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker

worker.init_process()

File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process

self.load_wsgi()

File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi

self.wsgi = [self.app](self.app).wsgi()

            ^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/gunicorn/app/base.py", line 67, in wsgi

self.callable = self.load()

                ^^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 58, in load

View Deploy details

> ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies

Loading...