Version-Release number of selected component: python3-uvicorn-0.15.0-5.fc38 Additional info: reporter: libreport-2.17.10 kernel: 6.3.8-200.fc38.x86_64 cmdline: /usr/bin/python3 /usr/bin/uvicorn server:app --port 5000 --timeout-keep-alive 5000 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-3cf0755c-b8fb-492b-bb49-771882996acb.scope uid: 1000 reason: general_functions.py:41:<module>:NameError: name 'logger' is not defined executable: /usr/bin/uvicorn type: Python3 package: python3-uvicorn-0.15.0-5.fc38 runlevel: N 5 exception_type: ModuleNotFoundError crash_function: module Truncated backtrace: #1 [/home/anonymized/code/fast_api_12_route_db/docker_app/functions_config_etc/general_functions.py:8] <module>
Created attachment 1971689 [details] File: os_info
Created attachment 1971690 [details] File: environ
Created attachment 1971691 [details] File: mountinfo
Created attachment 1971692 [details] File: open_fds
Created attachment 1971693 [details] File: namespaces
Created attachment 1971694 [details] File: backtrace
Created attachment 1971695 [details] File: cpuinfo
Based on the cmdline and reason fields above, this appears to be a problem in your general_functions.py file. That file doesn't exist in the python3-uvicorn package. The logging module is part of the Python standard library in Fedora 38, so I suspect this is just a case of your file missing an `import logging` statement. I'm going to close this bug for now, but if I'm missing something please feel free to re-open it with the minimal steps to reproduce the problem.