Skip to content

Error on apt-smart --version #18

@Fleshgrinder

Description

@Fleshgrinder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions