Bug 2216150
| Summary: | [abrt] python3-uvicorn: module(): general_functions.py:41:<module>:NameError: name 'logger' is not defined | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | lineality | ||||||||||||||||
| Component: | python-uvicorn | Assignee: | Carl George 🤠<carl> | ||||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 38 | CC: | carl, lineality, python-packagers-sig | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/4933063b285709899aeb3b4dcfbe6b82f01b133 | ||||||||||||||||||
| Whiteboard: | abrt_hash:6490499dd6802f53c162aa7a64733bd29c173f87;VARIANT_ID=workstation; | ||||||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2023-07-29 02:50:23 UTC | Type: | --- | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
lineality
2023-06-20 10:11:04 UTC
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. |