From 6ecc5e985fdc244b7945e445b34579d66106c834 Mon Sep 17 00:00:00 2001 From: corsaronero Date: Mon, 13 Feb 2023 14:59:44 +0000 Subject: [PATCH] removed wrongly generated logfile within input folder --- input/logfile | 34 ---------------------------------- input/settings.py | 8 ++++---- 2 files changed, 4 insertions(+), 38 deletions(-) delete mode 100644 input/logfile diff --git a/input/logfile b/input/logfile deleted file mode 100644 index 5f53927..0000000 --- a/input/logfile +++ /dev/null @@ -1,34 +0,0 @@ -nohup: ignoring input -[2023-02-07 12:36:29 +0000] [2449] [INFO] Starting gunicorn 20.1.0 -[2023-02-07 12:36:29 +0000] [2449] [INFO] Listening at: http://0.0.0.0:8000 (2449) -[2023-02-07 12:36:29 +0000] [2449] [INFO] Using worker: sync -[2023-02-07 12:36:29 +0000] [2450] [INFO] Booting worker with pid: 2450 -[2023-02-07 12:36:29 +0000] [2450] [ERROR] Exception in worker process -Traceback (most recent call last): - File "/home/alpcentaur/ProjektA/wikimedia/wmdeit_foerderbarometer/foerderbarometer/venv/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker - worker.init_process() - File "/home/alpcentaur/ProjektA/wikimedia/wmdeit_foerderbarometer/foerderbarometer/venv/lib/python3.10/site-packages/gunicorn/workers/base.py", line 134, in init_process - self.load_wsgi() - File "/home/alpcentaur/ProjektA/wikimedia/wmdeit_foerderbarometer/foerderbarometer/venv/lib/python3.10/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi - self.wsgi = self.app.wsgi() - File "/home/alpcentaur/ProjektA/wikimedia/wmdeit_foerderbarometer/foerderbarometer/venv/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi - self.callable = self.load() - File "/home/alpcentaur/ProjektA/wikimedia/wmdeit_foerderbarometer/foerderbarometer/venv/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load - return self.load_wsgiapp() - File "/home/alpcentaur/ProjektA/wikimedia/wmdeit_foerderbarometer/foerderbarometer/venv/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp - return util.import_app(self.app_uri) - File "/home/alpcentaur/ProjektA/wikimedia/wmdeit_foerderbarometer/foerderbarometer/venv/lib/python3.10/site-packages/gunicorn/util.py", line 359, in import_app - mod = importlib.import_module(module) - File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module - return _bootstrap._gcd_import(name[level:], package, level) - File "", line 1050, in _gcd_import - File "", line 1027, in _find_and_load - File "", line 992, in _find_and_load_unlocked - File "", line 241, in _call_with_frames_removed - File "", line 1050, in _gcd_import - File "", line 1027, in _find_and_load - File "", line 1004, in _find_and_load_unlocked -ModuleNotFoundError: No module named 'foerderbarometer' -[2023-02-07 12:36:29 +0000] [2450] [INFO] Worker exiting (pid: 2450) -[2023-02-07 12:36:29 +0000] [2449] [INFO] Shutting down: Master -[2023-02-07 12:36:29 +0000] [2449] [INFO] Reason: Worker failed to boot. diff --git a/input/settings.py b/input/settings.py index e1ba53e..3b43e9a 100755 --- a/input/settings.py +++ b/input/settings.py @@ -1,9 +1,9 @@ # mail for IF-OTRS -#IF_EMAIL = 'community@wikimedia.de' -IF_EMAIL = 'test-luca-ext@wikimedia.de' +IF_EMAIL = 'community@wikimedia.de' +#IF_EMAIL = 'test-luca-ext@wikimedia.de' #SURVEY_EMAIL = 'christof.pins@wikimedia.de' -SURVEY_EMAIL = 'luca.wulf@cannabinieri.de' -#SURVEY_EMAIL = 'sandro.halank@wikimedia.de' +#SURVEY_EMAIL = 'luca.wulf@cannabinieri.de' +SURVEY_EMAIL = 'sandro.halank@wikimedia.de' # prefix for urls SURVEYPREFIX = 'https://wikimedia.sslsurvey.de/Foerderbarometer/?'