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

Error on apt-smart --version #18

Open
Fleshgrinder opened this issue Mar 18, 2022 · 0 comments
Open

Error on apt-smart --version #18

Fleshgrinder opened this issue Mar 18, 2022 · 0 comments

Comments

@Fleshgrinder
Copy link

Fleshgrinder commented Mar 18, 2022

Seems like something is wrong here. 😉

$ apt-smart --version
Version: 7.1.3 on Python 3.8
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/__init__.py", line 2127, in shutdown
    h.close()
  File "/usr/lib/python3.8/logging/handlers.py", line 892, in close
    self.socket.close()
AttributeError: 'SysLogHandler' object has no attribute 'socket'

The above still exits with code 0, but the following exits with code 120:

$ (set -Eeuo pipefail; apt-smart --version 2>&1 | head -n1; echo $?); echo $?
Version: 7.1.3 on Python 3.8
120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant