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

generating documentation with doxygen: encoding problems

asked 2012-11-23 01:56:28 -0500

When I try to generate the doxygen documentation of my C++ Code I get the error explained below. Does anybody know how to avoid this problem? Does this mean that my doxygen documentation on C++ files is bad-written? Thanks in advance

$ rosrun rosdoc rosdoc mypackage
/opt/ros/fuerte/stacks/documentation/rosdoc/src/rosdoc/ UserWarning: roslib.rospack is deprecated, please use rospkg
  import roslib.rospack
initializing rosdoc context:
    package filters: ['mypackage']
    path filters: []
ERROR: Doxygen of package [mypackage] failed: 'ascii' codec can't encode character u'\xf1' in position 7: ordinal not in range(128)
copying /opt/ros/fuerte/stacks/documentation/rosdoc/templates/styles.css to doc/styles.css
copying /opt/ros/fuerte/stacks/documentation/rosdoc/templates/msg-styles.css to doc/msg-styles.css
 * 0.00 epydoc
 * 0.00 support_files
 * 0.02 doxygen
 * 0.00 sphinx
 * 0.00 upload
 * 0.00 landing-page
 * 0.67 msg
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2012-12-10 14:34:26 -0500

tfoote gravatar image

I expect that this is a problem with unicode, or the lack there of, in the xml parsing. \xf1 is the ~n as in your name and I expect you used it in the author or maintainer field. I'd try removing the character and trying again.

edit flag offensive delete link more


That was the problem. I removed (sadly) the ñ in my name and worked. Thanks! :-)

Pablo Iñigo Blasco gravatar image Pablo Iñigo Blasco  ( 2012-12-14 12:37:34 -0500 )edit

Question Tools


Asked: 2012-11-23 01:56:28 -0500

Seen: 723 times

Last updated: Dec 10 '12