[ros-release] Sphinx and Doc Building on the Farm

Daniel Stonier d.stonier at gmail.com
Mon May 5 18:30:35 UTC 2014


Hi,

I have recently been using sphinx and just tried auto-configuring the
version in the *conf.py* by including the following lines at the top:

import os import catkin_pkg.package catkin_dir =
os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
catkin_package =
catkin_pkg.package.parse_package(os.path.join(catkin_dir,
catkin_pkg.package.PACKAGE_MANIFEST_FILENAME))

and further down:

 version = catkin_package.version release = catkin_package.version


This works fine locally with python-catkin-pkg installed. However on the
build farm, it's running into a problem not being able to find catkin_pkg
for importing:

CMake Warning at
/opt/ros/indigo/share/catkin_basic/cmake/catkin_basicConfig.cmake:12
(find_package):
  By not providing "Findpython-catkin-pkg.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "python-catkin-pkg", but CMake did not find one.

  Could not find a package configuration file provided by "python-catkin-pkg"
  with any of the following names:

    python-catkin-pkgConfig.cmake
    python-catkin-pkg-config.cmake

  Add the installation prefix of "python-catkin-pkg" to CMAKE_PREFIX_PATH or
  set "python-catkin-pkg_DIR" to a directory containing one of the above
  files.  If "python-catkin-pkg" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin_basic/cmake/catkin_basicConfig.cmake:54
(select_catkin_dependencies)
  rocon_tools/rocon_icons/CMakeLists.txt:3 (catkin_basic)



Full log here<http://jenkins.ros.org/job/doc-indigo-rocon_tools/11/consoleFull>
.

Is there currently a correct way to make this happen?  I'm out of ideas.

Cheers,
Daniel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-release/attachments/20140506/8a310558/attachment.html>


More information about the ros-release mailing list