[ros-users] UnicodeEncodeError: 'ascii' codec can't encode c…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: ros-users
Emne: [ros-users] UnicodeEncodeError: 'ascii' codec can't encode character
Hi everyone!

I'm having some minor trouble with… my name!!!

When I try to create a pkg using roscreate-pkg I get this error along the way…

Traceback (most recent call last):
  File "/Users/cabrita/ros/ros/bin/roscreate-pkg", line 35, in <module>
    roscreate.roscreatepkg.roscreatepkg_main()
  File "/Users/cabrita/ros/ros/tools/roscreate/src/roscreate/roscreatepkg.py", line 126, in roscreatepkg_main
    create_package(package, author_name(), depends, uses_roscpp=uses_roscpp, uses_rospy=uses_rospy)
  File "/Users/cabrita/ros/ros/tools/roscreate/src/roscreate/roscreatepkg.py", line 94, in create_package
    f.write(contents)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 105: ordinal not in range(128)
Cabritas-Mac-Pro:lse_experiments cabrita$ 


I think it has something to do with the ç in my name, Gonçalo, however I never had this problem in Ubuntu (I'm running ROS on OS X 10.7.3).

Any suggestions besides changing my name? :)

Thanks for the help!

Gonçalo Cabrita