Ask Your Question
0

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

My Doxygen version is 1.7.6.1

Thanks!!

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

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

Comments

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

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

Tinne De Laet gravatar image

For your interest. I had the same error (http://answers.ros.org/question/34020/rosdoc-fuerte-python-valueerror/) and also created a ticket (https://code.ros.org/trac/ros-pkg/ticket/5451). I added a patch that solves the error on both tickets.

Tinne

edit flag offensive delete link more

Comments

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
-1

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

Comments

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 475 times

Last updated: May 22 '12