Ask Your Question
1

catkin_create_pkg failure

asked 2016-07-28 14:50:49 -0500

The_Mad_Geometer gravatar image

Hi All,

catkin_create_package fails with the following error when I try to create a package on my new laptop:

Traceback (most recent call last): File "/usr/bin/catkin_create_pkg", line 75, in <module> main() File "/usr/bin/catkin_create_pkg", line 63, in main boost_comps=args.boost_comps) File "/usr/lib/python2.7/dist-packages/catkin_pkg/package_templates.py", line 142, in _create_package_template urls=[]) File "/usr/lib/python2.7/dist-packages/catkin_pkg/package_templates.py", line 55, in __init__ self.validate() File "/usr/lib/python2.7/dist-packages/catkin_pkg/package.py", line 244, in validate raise InvalidPackage('\n'.join(errors)) catkin_pkg.package.InvalidPackage: Invalid email "CRA@rhutchins@todo.todo" for person "CRA@rhutchins"</module>

Does anyone know how to fix this?

Thanks!

Ryan

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2016-07-28 15:07:26 -0500

Dirk Thomas gravatar image

As the error message states (Invalid email) the value CRA@rhutchins@todo.todo is not a valid email address (it contains two at signs).

edit flag offensive delete link more

Comments

2

Thanks Dirk.

Your diagnosis was correct. The fix is to specify:

catkin_create_package -m rhutchins <package_name> <dependencies>

So, simply typing my user name without the domain preceding it fixed my problem.

The_Mad_Geometer gravatar imageThe_Mad_Geometer ( 2016-09-01 12:49:54 -0500 )edit
0

answered 2016-07-29 02:21:05 -0500

lfr gravatar image

As Dirk Thomas well said, the problem is that your user name contains a '@'. When you create a package, catkin_create_package get your user name and put it inside your package.xml as follows:

username@todo.todo

And, it seems that if the email address is not valid, the process will stop.
The only solution I can see now is to change your user name and choosing a "good one".

I hope it helps you,
lfr

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-07-28 14:50:49 -0500

Seen: 438 times

Last updated: Jul 29 '16