Package Details: lsplug 4-2

Git Clone URL: https://aur.archlinux.org/lsplug.git (read-only, click to copy)
Package Base: lsplug
Description: Nicer version of lsusb
Upstream URL: https://git.sr.ht/~martijnbraam/lsplug
Keywords: hardware lsusb
Licenses: custom:MIT
Submitter: whynothugo
Maintainer: Tpaefawzen
Last Packager: Tpaefawzen
Votes: 3
Popularity: 0.000443
First Submitted: 2022-10-26 22:42 (UTC)
Last Updated: 2023-09-20 08:08 (UTC)

Latest Comments

slav commented on 2023-09-20 08:04 (UTC)

@alexdsan thank you for quick replay, all sorted

alexdsan commented on 2023-09-20 07:41 (UTC)

Two dependencies are missing: python-build python-installer

slav commented on 2023-09-20 07:23 (UTC) (edited on 2023-09-20 07:25 (UTC) by slav)

unfortunately something wrong with build:

==> WARNING: Using existing $srcdir/ tree ==> Starting build()... /usr/bin/python: No module named build ==> ERROR: A failure occurred in build(). Aborting... -> error making: lsplug-exit status 4 -> Failed to install the following packages. Manual intervention is required: lsplug - exit status 4

Tpaefawzen commented on 2023-09-20 06:13 (UTC)

I am trying to upgrade to 4th ref; noticed this package can be both "lsplug" (binary) and python-lsplug (library).

This can be obtained via pip as in: https://pypi.org/project/lsplug/

So, how should I pack?

whynothugo commented on 2022-10-27 09:31 (UTC)

Fixed URL. My bad for using another PKGBUILD as template.

The error you're seeing is an upstream bug; please report it upstream.

Anagastes commented on 2022-10-27 09:28 (UTC)

Maybe an upstream problem, maybe not. I am unsure.

But with the version here, there is an error with "-rp".

Traceback (most recent call last):
  File "/usr/bin/lsplug", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.10/site-packages/lsplug/__main__.py", line 143, in main
    get_ports(use_db=not args.nodb, fixed=not args.nofixed, portinfo=args.portinfo, devinfo=args.devinfo,
  File "/usr/lib/python3.10/site-packages/lsplug/__main__.py", line 67, in get_ports
    speed = sysfs_int(port, "speed")
  File "/usr/lib/python3.10/site-packages/lsplug/__main__.py", line 29, in sysfs_int
    return int(raw.strip())
ValueError: invalid literal for int() with base 10: '1.5'

In addition, the git URL is not correct. The original lsplug can be found here.

https://git.sr.ht/~martijnbraam/lsplug