[Bug 278037] security/py-notus-scanner, security/py-ospd-openvas: missing mqtt.CallbackAPIVersion.VERSION1 when initializing net/py-paho-mqtt 2.0.0
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278037] security/py-notus-scanner, security/py-ospd-openvas: missing mqtt.CallbackAPIVersion.VERSION1 when initializing net/py-paho-mqtt 2.0.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278037] security/py-notus-scanner, security/py-ospd-openvas: missing mqtt.CallbackAPIVersion.VERSION1 when initializing net/py-paho-mqtt 2.0.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278037] security/py-notus-scanner, security/py-ospd-openvas: missing mqtt.CallbackAPIVersion.VERSION1 when initializing net/py-paho-mqtt 2.0.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278037] security/py-notus-scanner, security/py-ospd-openvas: missing mqtt.CallbackAPIVersion.VERSION1 when initializing net/py-paho-mqtt 2.0.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Mar 2024 19:55:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278037 Bug ID: 278037 Summary: security/py-notus-scanner, security/py-ospd-openvas: missing mqtt.CallbackAPIVersion.VERSION1 when initializing net/py-paho-mqtt 2.0.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: Trond.Endrestol@ximalas.info CC: acm@FreeBSD.org, joe@thrallingpenguin.com CC: acm@FreeBSD.org, joe@thrallingpenguin.com Upgrading to the latest ports version causes grief for security/openvas and friends, notably security/py-notus-scanner and security/py-ospd-openvas. Starting notus_scanner. Traceback (most recent call last): File "/usr/local/bin/notus-scanner", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.9/site-packages/notus/scanner/daemon.py", line 130, in main run_daemon( File "/usr/local/lib/python3.9/site-packages/notus/scanner/daemon.py", line 86, in run_daemon client = MQTTClient( File "/usr/local/lib/python3.9/site-packages/notus/scanner/messaging/mqtt.py", line 35, in __init__ super().__init__(client_id=client_id, protocol=mqtt.MQTTv5) TypeError: __init__() missing 1 required positional argument: 'callback_api_version' Exception ignored in: <function Client.__del__ at 0x8760a9a60> Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 874, in __del__ self._reset_sockets() File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1133, in _reset_sockets self._sock_close() File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1119, in _sock_close if not self._sock: AttributeError: 'MQTTClient' object has no attribute '_sock' Starting gvmd. Starting ospd_openvas. Warning: using insecure memory! Warning: using insecure memory! Warning: using insecure memory! Traceback (most recent call last): File "/usr/local/bin/ospd-openvas", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.9/site-packages/ospd_openvas/daemon.py", line 1245, in main daemon_main('OSPD - openvas', OSPDopenvas, NotusParser()) File "/usr/local/lib/python3.9/site-packages/ospd/main.py", line 152, in main daemon.init(server) File "/usr/local/lib/python3.9/site-packages/ospd_openvas/daemon.py", line 501, in init client = MQTTClient( File "/usr/local/lib/python3.9/site-packages/ospd_openvas/messaging/mqtt.py", line 39, in __init__ super().__init__(client_id=client_id, protocol=mqtt.MQTTv5) TypeError: __init__() missing 1 required positional argument: 'callback_api_version' Exception ignored in: <function Client.__del__ at 0x890990550> Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 874, in __del__ self._reset_sockets() File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1133, in _reset_sockets self._sock_close() File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1119, in _sock_close if not self._sock: AttributeError: 'MQTTClient' object has no attribute '_sock' Starting gsad. -- You are receiving this mail because: You are the assignee for the bug.