Public bug reported:
Ubuntu Focal with these package versions installed:
python3-catkin-tools 0.5.0-1
python3-catkin-lint 1.6.6-1
The `catkin lint` command fails:
$ catkin lint
usage: catkin [-h] [-a] [--test-colors] [--version] [--force-color | --no-color]
[build | clean | config | create | env | init | list | locate |
profile] ...
Error: Unknown verb 'lint' provided.
The problem is that the `catkin-lint` package installs its Python
package into the `/usr/share/catkin-lint/catkin_lint` directory, which
is of course a non-standard location, outside of `sys.path`. Because of
this, `pkg_resources` can't find the `/usr/share/catkin-
lint/catkin_lint-1.6.6.egg-info/entry_points.txt` file, and `catkin`
doesn't know about the `lint` verb.
The `catkin lint` command works fine when installed via `pip install
catkin-lint`, which puts the Python package in the expected location.
Digging deeper, I see the `python3-catkin-lint` package is just a stub
package that depends on `catkin-lint`, and customizes the `pybuild`
configuration. I don't know how to fix that, exactly.
** Affects: ros-catkin-lint (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892529
Title:
`catkin` doesn't recognize `lint` verb
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ros-catkin-lint/+bug/1892529/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs