getting dj_database_url , value error
solvibrain
TRIALOP

2 years ago

File "/opt/venv/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp

Jun 22 23:25:53

return util.import_app(self.app_uri)

Jun 22 23:25:53

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

Jun 22 23:25:53

File "/opt/venv/lib/python3.12/site-packages/gunicorn/util.py", line 371, in import_app

Jun 22 23:25:53

mod = importlib.import_module(module)

Jun 22 23:25:53

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

Jun 22 23:25:53

File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module

Jun 22 23:25:53

return bootstrap.gcd_import(name[level:], package, level)

Jun 22 23:25:53

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

Jun 22 23:25:53

File "", line 1387, in gcdimport

Jun 22 23:25:53

File "", line 1360, in findand_load

Jun 22 23:25:53

File "", line 1331, in findand_load_unlocked

Jun 22 23:25:53

File "", line 935, in loadunlocked

Jun 22 23:25:53

File "", line 995, in exec_module

Jun 22 23:25:53

File "", line 488, in callwith_frames_removed

Jun 22 23:25:53

File "/code/saashome/wsgi.py", line 16, in

Jun 22 23:25:53

application = get_wsgi_application()

Jun 22 23:25:53

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

Jun 22 23:25:53

File "/opt/venv/lib/python3.12/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application

Jun 22 23:25:53

django.setup(set_prefix=False)

Jun 22 23:25:53

File "/opt/venv/lib/python3.12/site-packages/django/init.py", line 19, in setup

Jun 22 23:25:53

configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)

Jun 22 23:25:53

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

Jun 22 23:25:53

File "/opt/venv/lib/python3.12/site-packages/django/conf/init.py", line 89, in getattr

Jun 22 23:25:53

self._setup(name)

Jun 22 23:25:53

File "/opt/venv/lib/python3.12/site-packages/django/conf/init.py", line 76, in _setup

Jun 22 23:25:53

self._wrapped = Settings(settings_module)

Jun 22 23:25:53

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

Jun 22 23:25:53

File "/opt/venv/lib/python3.12/site-packages/django/conf/init.py", line 190, in init

Jun 22 23:25:53

mod = importlib.import_module(self.SETTINGS_MODULE)

Jun 22 23:25:53

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

Jun 22 23:25:53

File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module

Jun 22 23:25:53

return bootstrap.gcd_import(name[level:], package, level)

Jun 22 23:25:53

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

Jun 22 23:25:53

File "", line 1387, in gcdimport

Jun 22 23:25:53

File "", line 1360, in findand_load

Jun 22 23:25:53

File "", line 1331, in findand_load_unlocked

Jun 22 23:25:53

File "", line 935, in loadunlocked

Jun 22 23:25:53

File "", line 995, in exec_module

Jun 22 23:25:53

File "", line 488, in callwith_frames_removed

Jun 22 23:25:53

File "/code/saashome/settings.py", line 98, in

Jun 22 23:25:53

"default": dj_database_url.config(default = DATABASE_URL,

Jun 22 23:25:53

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

Jun 22 23:25:53

File "/opt/venv/lib/python3.12/site-packages/dj_database_url/init.py", line 84, in config

Jun 22 23:25:53

return parse(

Jun 22 23:25:53

^^^^^^

Jun 22 23:25:53

File "/opt/venv/lib/python3.12/site-packages/dj_database_url/init.py", line 145, in parse

Jun 22 23:25:53

raise ValueError(

Jun 22 23:25:53

ValueError: No support for ''. We support: cockroach, mssql, mssqlms, mysql, mysql-connector, mysql2, mysqlgis, oracle, oraclegis, pgsql, postgis, postgres, postgresql, redshift, spatialite, sqlite, timescale, timescalegis

Jun 22 23:25:53

[2024-06-22 17:55:53 +0000] [11] [INFO] Worker exiting (pid: 11)

Jun 22 23:25:53

[2024-06-22 17:55:53 +0000] [10] [ERROR] Worker (pid:11) exited with code 3

Jun 22 23:25:53

[2024-06-22 17:55:53 +0000] [10] [ERROR] Shutting down: Master

Jun 22 23:25:53

[2024-06-22 17:55:53 +0000] [10] [ERROR] Reason: Worker failed to boot.

github repository : https://github.com/solvibrain/saas-software

View Deploy details

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

Solved

1 Replies

2 years ago

This would be an issue with your application, not the Railway platform. Unfortunately we're unable to provide help for application-specific issues -- I'd recommend checking out other communities such as https://stackoverflow.com/ for general programming-related questions.


Status changed to Solved Railway almost 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...