I have this error in the Jenkins doc job of my package: http://build.ros.org/view/Mdoc/job/Mdoc__z_laser_projector__ubuntu_bionic_amd64/2/console
04:09:39 /tmp/ws/src/z_laser_projector/doc/zlp_core.rst:4: WARNING: autodoc: failed to import module u'zlp_core'; the following exception was raised:
04:09:39 Traceback (most recent call last):
04:09:39 File "/usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 658, in import_object
04:09:39 __import__(self.modname)
04:09:39 File "/tmp/ws/src/z_laser_projector/src/z_laser_projector/zlp_core.py", line 29, in <module>
04:09:39 import thriftpy
04:09:39 ImportError: No module named thriftpy
I'm trying to solve it including dependencies in my package.xml:
<build_depend>python3-thriftpy</build_depend>
<build_export_depend>python3-thriftpy</build_export_depend>
<exec_depend>python3-thriftpy</exec_depend>
However, when I try to build the package at Travis-CI (in private before try in Jenkins), it throws this error:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
z_laser_projector: Cannot locate rosdep definition for [python3-thriftpy]
The command "rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO" failed and exited with 1 during .
How could I include this dependency in order to fix the Jenkins job? Am I taking the right way to solve the error?
Originally posted by rluque on ROS Answers with karma: 20 on 2020-11-24
Post score: 0