Getting Parse Errors for alice chatbot with ros

asked 2016-09-05 23:26:47 -0500

dexter05 gravatar image

updated 2016-09-05 23:29:31 -0500

Hi,

I want to create a chatbot application and I came across this package for ROS. I cloned the repo into my workspace and have managed to get it working. There were a few changes that were needed in the launch files. Now, robot.launch files fires up the three nodes. However, i am getting the following list of errors:

/home/<username>/<workspace>/src/chatbot/scripts/ai.py:18: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  String
/home/<username>/<workspace>/src/audio_common/sound_play/scripts/soundplay_node.py:376: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.diagnostic_pub = rospy.Publisher("/diagnostics", DiagnosticArray)
PARSE ERROR: Unexpected text inside <random> element (line 4311, column 262)
PARSE ERROR: Unexpected text inside <random> element (line 4848, column 172)
PARSE ERROR: Unexpected text inside <random> element (line 8844, column 351)
PARSE ERROR: <random> elements can only contain <li> subelements (line 3374, column 125)
PARSE ERROR: <random> elements can only contain <li> subelements (line 443, column 495)
PARSE ERROR: <random> elements can only contain <li> subelements (line 1733, column 19)
PARSE ERROR: Unexpected text inside <random> element (line 3383, column 0)
PARSE ERROR: Unexpected <category> tag (line 18, column 0)
PARSE ERROR: Unexpected </learn> tag (line 22, column 0)
PARSE ERROR: Unexpected </template> tag (line 35, column 0)
PARSE ERROR: Unexpected </category> tag (line 36, column 0)
PARSE ERROR: Unexpected </category> tag (line 104, column 0)
PARSE ERROR: Unexpected </category> tag (line 144, column 0)
PARSE ERROR: Unexpected <category> tag (line 40, column 0)
PARSE ERROR: Unexpected </category> tag (line 43, column 0)
PARSE ERROR: Unexpected <category> tag (line 100, column 1)
PARSE ERROR: Unexpected </learn> tag (line 108, column 0)
PARSE ERROR: Unexpected </li> tag (line 110, column 0)
PARSE ERROR: Unexpected </condition> tag (line 128, column 0)
PARSE ERROR: Unexpected </template> tag (line 129, column 0)
PARSE ERROR: Unexpected </category> tag (line 130, column 0)
PARSE ERROR: Unexpected <category> tag (line 158, column 1)
PARSE ERROR: Unexpected </learn> tag (line 166, column 0)
PARSE ERROR: Unexpected </li> tag (line 168, column 0)
PARSE ERROR: Unexpected </condition> tag (line 173, column 0)
PARSE ERROR: Unexpected </template> tag (line 174, column 0)
PARSE ERROR: Unexpected </category> tag (line 175, column 0)
[WARN] [WallTime: 1473135480.071641] Done initializing chatbot.

From this point both the terminals (with web.launch and robot.launch) are waiting for something. What would be the next step? Also how do I get rid of this parse errors?

Any help would be appreciated :)

edit retag flag offensive close merge delete