Hi, I've upgraded demjson to demjson4 as i had some dependency issues and wasn't working for me. Now when i run the code i get this error:
[2023-10-19 15:38:32 +0200] [33433] [INFO] Starting gunicorn 21.2.0 [2023-10-19 15:38:32 +0200] [33433] [INFO] Listening at: http://127.0.0.1:8000 (33433) [2023-10-19 15:38:32 +0200] [33433] [INFO] Using worker: gthread [2023-10-19 15:38:32 +0200] [33434] [INFO] Booting worker with pid: 33434 [2023-10-19 15:38:32 +0200] [33434] [ERROR] Exception in worker process Traceback (most recent call last): File "/Users/aishahalane/chart_data_extractor/extract/lib/python3.11/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker worker.init_process() File "/Users/aishahalane/chart_data_extractor/extract/lib/python3.11/site-packages/gunicorn/workers/gthread.py", line 95, in init_process super().init_process() File "/Users/aishahalane/chart_data_extractor/extract/lib/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/Users/aishahalane/chart_data_extractor/extract/lib/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() ^^^^^^^^^^^^^^^ File "/Users/aishahalane/chart_data_extractor/extract/lib/python3.11/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() ^^^^^^^^^^^ File "/Users/aishahalane/chart_data_extractor/extract/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() ^^^^^^^^^^^^^^^^^^^ File "/Users/aishahalane/chart_data_extractor/extract/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/aishahalane/chart_data_extractor/extract/lib/python3.11/site-packages/gunicorn/util.py", line 371, in import_app mod = importlib.import_module(module) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/Users/aishahalane/chart_data_extractor/chart_data_extractor/scraper_service.py", line 18, in <module> app = falcon.API(middleware=[cors.middleware, PersistApiCalls()]) ^^^^^^^^^^^^^^^^^ File "/Users/aishahalane/chart_data_extractor/chart_data_extractor/middlewares/logCapture.py", line 22, in __init__ low_hdlr=gogo.handlers.file_hdlr('./logs/pk_scraperService_middleware.log'), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/aishahalane/chart_data_extractor/extract/lib/python3.11/site-packages/pygogo/handlers.py", line 107, in file_hdlr return logging.FileHandler(filename, **fkwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/logging/__init__.py", line 1181, in __init__ StreamHandler.__init__(self, self._open()) ^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/logging/__init__.py", line 1213, in _open return open_func(self.baseFilename, self.mode, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/Users/aishahalane/chart_data_extractor/chart_data_extractor/logs/pk_scraperService_middleware.log' [2023-10-19 15:38:32 +0200] [33434] [INFO] Worker exiting (pid: 33434) [2023-10-19 15:38:32 +0200] [33433] [ERROR] Worker (pid:33434) exited with code 3 [2023-10-19 15:38:32 +0200] [33433] [ERROR] Shutting down: Master [2023-10-19 15:38:32 +0200] [33433] [ERROR] Reason: Worker failed to boot.