Date: Fri, 30 Jul 2021 19:49:09 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 257512] print/hplip hp-toolbox problem Message-ID: <bug-257512-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257512 Bug ID: 257512 Summary: print/hplip hp-toolbox problem Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: tijl@FreeBSD.org Reporter: vladimir.mishev@gmail.com Assignee: tijl@FreeBSD.org Flags: maintainer-feedback?(tijl@FreeBSD.org) Attachment #226807 text/plain mime type: Created attachment 226807 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226807&action= =3Dedit replace platform.dist with platform.libc_ver() print/hplip pkg installs ok, printing works, but hp-toolbox crashes. Problem is in base/password.py which calls depreciated/non-existent platform.dist() Changing that to platform.libc_vers() makes hp-tools start without problem. I=E2=80=99m not sure should distro.linux_distribution() be removed as well. patch-password.py=20 --- base/password.py.orig 2021-07-30 21:24:44.609836000 +0200 +++ base/password.py @@ -82,7 +82,7 @@ os_name =3D None try: - os_name =3D platform.dist()[0] + os_name =3D platform.libc_ver()[0] except AttributeError: import distro os_name =3D distro.linux_distribution()[0] --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257512-7788>