Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SysLogHandler: Exception ignored in atexit callback #97

Open
lucmurer opened this issue Apr 20, 2023 · 0 comments
Open

SysLogHandler: Exception ignored in atexit callback #97

lucmurer opened this issue Apr 20, 2023 · 0 comments
Assignees
Labels
upstream This is an upstream issue of some dependency of fotoobo

Comments

@lucmurer
Copy link
Collaborator

lucmurer commented Apr 20, 2023

When the syslog server is not resolvable (see #72) there is an exception originated in the python standard-Library:

Exception ignored in atexit callback: <function shutdown at 0x7f39db663eb0>
Traceback (most recent call last):
  File "/usr/lib64/python3.10/logging/__init__.py", line 2183, in shutdown
    h.close()
  File "/usr/lib64/python3.10/logging/handlers.py", line 945, in close
    self.socket.close()
AttributeError: 'SysLogHandler' object has no attribute 'socket'

How to reproduce:

  • Configure a SysLog server that has a non-resolvable hostname/fqdn
  • Run some fotoobo command (for example fotoobo fgt get version)

This seems to be an upstream issue:

Probably the latter will solve the imminent effect, but not the base problem. Perhaps we need to fix this upstream.

@lucmurer lucmurer changed the title SysLogHandler: Attribute Exception SysLogHandler: Exception ignored in atexit callback Apr 20, 2023
@lucmurer lucmurer self-assigned this Apr 20, 2023
@lucmurer lucmurer added the upstream This is an upstream issue of some dependency of fotoobo label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream This is an upstream issue of some dependency of fotoobo
Projects
None yet
Development

No branches or pull requests

1 participant