Ask Your Question
0

Error while trying to follow tutorial.

asked 2013-10-08 17:20:14 -0600

gishi gravatar image

updated 2013-11-14 12:06:54 -0600

tfoote gravatar image

Hello everyone, I'm currently learning how to use ROS, but while I was following the tutorials in part 3 of the tutorial, I encountered an error. I was at the part where I try to edit: <description>The beginner_tutorials</description> When I try to change what's inside of the <> I get this error: bash: syntax error near unexpected token `newline' The same thing happens when I try do edit anything in the <> in the next few part of the tutorials.

Thanks in advance.

edit retag flag offensive close merge delete

Comments

1

might help if you can post a short example of your edits

PeterMilani gravatar imagePeterMilani ( 2013-10-08 19:00:18 -0600 )edit

Well in the tutorial it said i could change it to anythine i wanted. So i just changed it to test instead of deacription.

gishi gravatar imagegishi ( 2013-10-09 03:53:21 -0600 )edit

4 Answers

Sort by ยป oldest newest most voted
1

answered 2013-10-09 07:34:15 -0600

SaiHV gravatar image

You cannot change the tags in the XML file: i.e., what's inside the <> angle brackets. Rather, you can change what's between the two tags, i.e., you can write

<description> ABCDEF </description> or something else. But the tags themselves are predefined and when this xml file is read, the system looks for what's between the description tags. So changing the tag itself will result in the system not understanding what you are specifying.

edit flag offensive delete link more
1

answered 2014-03-10 13:34:47 -0600

Aaron Y gravatar image

updated 2014-03-10 13:38:17 -0600

Instead of writing < description >The beginner_tutorials package</description> in the command prompt, write

gedit package.xml

A window with the package.xml file will open up. In this new window you can edit the description and everything else. Then click save. Then go back to command prompt and type

cat package.xml

Now you can see your changes.

Good luck!

Aaron

edit flag offensive delete link more

Comments

U'r de real mvp maan

dovulthesloth gravatar imagedovulthesloth ( 2018-09-05 13:20:16 -0600 )edit
0

answered 2013-10-09 08:25:36 -0600

gishi gravatar image

updated 2013-10-09 09:14:35 -0600

Ah, that makes a lot more sense. Thanks for the solution

edit flag offensive delete link more
0

answered 2013-10-09 09:14:47 -0600

gishi gravatar image

updated 2013-10-09 10:23:07 -0600

actually, I'm still getting the same error. this time I typed in <description>The beginner_tutorials pacakage</description> just as I'm told to do so in the tutorial, however I'm still getting the same error. (bash:syntax error near unexpected token 'newline')

edit flag offensive delete link more

Comments

In that case, your error probably doesn't have to do with that part. Can you try with the exact same code as in the tutorial, and then tell me what changes you have made? Also, please post these as comments rather than other answers, as they don't address the question directly.

SaiHV gravatar imageSaiHV ( 2013-10-09 10:40:16 -0600 )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: 2013-10-08 17:20:14 -0600

Seen: 1,613 times

Last updated: Mar 10 '14