0
$\begingroup$

Rosanswers logo

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/rdcore.py:43: UserWarning: roslib.rospack is deprecated, please use rospkg
  import roslib.rospack
initializing rosdoc context:
    package filters: ['mypackage']
    path filters: []
+package[mypackage]
+stack[mystack]
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
Timings
 * 0.00 epydoc
 * 0.00 support_files
 * 0.02 doxygen
 * 0.00 sphinx
 * 0.00 upload
 * 0.00 landing-page
 * 0.67 msg

Originally posted by Pablo Iñigo Blasco on ROS Answers with karma: 2982 on 2012-11-23

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by tfoote with karma: 58457 on 2012-12-10

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by Pablo Iñigo Blasco on 2012-12-14:
That was the problem. I removed (sadly) the ñ in my name and worked. Thanks! :-)

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.