[Bug 278086] comms/py-hid missing library path in __init__.py
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278086] comms/py-hid: missing library path in __init__.py"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278086] comms/py-hid: missing library path in __init__.py"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278086] comms/py-hid: missing library path in __init__.py"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Apr 2024 05:42:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278086
Bug ID: 278086
Summary: comms/py-hid missing library path in __init__.py
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: 0mp@FreeBSD.org
Reporter: drac7ft@gmail.com
Flags: maintainer-feedback?(0mp@FreeBSD.org)
Assignee: 0mp@FreeBSD.org
py-hid will fail due to not finding libhidapi.so. The "library_paths" variable
in the installed __init__.py located at
/usr/local/lib/python3.9/site-packages/hid does not have a path for any
suitable library for it to use.
I have successfully patched it by adding 'libhidapi.so' to the list of
library_paths. FreeBSD uses libhidapi.so and not any of the other library
paths listed in __init__.py.
I don't have a formal diff, but adding libhidapi.so fixes the problem and
py-hid works correctly for my test case. It completely failed before. I'm
hoping the maintainer can put in the proper patch.
--
You are receiving this mail because:
You are the assignee for the bug.