ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rosdoc fails

asked 2012-05-18 04:26:27 -0500

Flo gravatar image

updated 2012-05-18 10:42:30 -0500

joq gravatar image

Hi everyone,

I'm using Ubuntu 12.04 and fuerte. I installed ROS desktop full and documentation using apt-get.

sudo apt-get install ros-fuerte-desktop-full ros-fuerte-documentation

When I try to use rosdoc, I get the following error:

$ rosrun rosdoc rosdoc turtlesim
/opt/ros/fuerte/stacks/documentation/rosdoc/src/rosdoc/ UserWarning: roslib.rospack is deprecated, please use rospkg
  import roslib.rospack
initializing rosdoc context:
    package filters: ['turtlesim']
    path filters: []
Traceback (most recent call last):
  File "/opt/ros/fuerte/stacks/documentation/rosdoc/src/rosdoc/", line 134, in main
    artifacts = generate_docs(ctx)
  File "/opt/ros/fuerte/stacks/documentation/rosdoc/src/rosdoc/", line 83, in generate_docs
    import doxygenator
  File "/opt/ros/fuerte/stacks/documentation/rosdoc/src/rosdoc/", line 334, in <module>
    header_template = load_tmpl(header_template_name())
  File "/opt/ros/fuerte/stacks/documentation/rosdoc/src/rosdoc/", line 199, in header_template_name
    major, minor, patch = doxygen_version.split('.')
ValueError: too many values to unpack

My Doxygen version is


edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted

answered 2012-05-18 10:45:02 -0500

joq gravatar image

I am seeing this, too, with Fuerte on Precise.

I am fairly certain it works better with Fuerte on Oneiric.

We should open a defect ticket on the documentation stack.

edit flag offensive delete link more


joq gravatar image joq  ( 2012-05-22 17:50:41 -0500 )edit

answered 2012-05-22 23:52:30 -0500

Tinne De Laet gravatar image

For your interest. I had the same error ( and also created a ticket ( I added a patch that solves the error on both tickets.


edit flag offensive delete link more


Thanks for the patch. I missed your ticket because I was looking in ros and not ros-pkg. One of them should probably be closed as a duplicate. I guess Melonee will decide which.

joq gravatar image joq  ( 2012-05-23 03:55:46 -0500 )edit

Yes indeed. Sorry for misplacing the ticket. I also tried to markt it as duplicate but I did not find the correct buttons :S

Tinne De Laet gravatar image Tinne De Laet  ( 2012-05-23 23:00:54 -0500 )edit

For your interest. I added an improved patch (the old one was not working for doxygen versions not containing a build number). The new patch should work in all cases.

Tinne De Laet gravatar image Tinne De Laet  ( 2012-05-23 23:02:28 -0500 )edit

answered 2012-05-22 04:22:05 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Could you please tell me how to open a ticket on the documentation stack?

edit flag offensive delete link more


This would probably best be asked as a new question. This helps keep answers.ros neat and searchable for all the other users. Thanks for your help!

mjcarroll gravatar image mjcarroll  ( 2012-05-23 15:54:16 -0500 )edit

Question Tools


Asked: 2012-05-18 04:26:27 -0500

Seen: 650 times

Last updated: May 22 '12