roscore ERROR..Please Help me.. :(

asked 2021-11-14 23:44:51 -0500

ROSBeginner gravatar image

updated 2021-11-15 17:00:17 -0500

Geoff gravatar image

Please Help me...:(

$ roscore
WARNING: unable to configure logging. No log files will be generated
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
Traceback (most recent call last):
File "/usr/bin/rosversion", line 11, in <module>
load_entry_point('rospkg==1.3.0', 'console_scripts', 'rosversion')()
File "/usr/lib/python2.7/dist-packages/rospkg/", line 104, in main
version = rosstack.get_stack_version(args.package)
File "/usr/lib/python2.7/dist-packages/rospkg/", line 426, in get_stack_version
return get_stack_version_by_dir(self.get_path(stack))
File "/usr/lib/python2.7/dist-packages/rospkg/", line 205, in get_path
File "/usr/lib/python2.7/dist-packages/rospkg/", line 188, in _update_location_cache
list_by_path(self._manifest_name, path, cache)
File "/usr/lib/python2.7/dist-packages/rospkg/", line 71, in list_by_path
root = ElementTree(None, os.path.join(d, PACKAGE_FILE))
File "/usr/lib/python2.7/xml/etree/", line 611, in __init__
File "<string>", line 38, in parse
cElementTree.ParseError: XML or text declaration not at start of entity: line 1, column 1
RLException: Invalid <param> tag: Cannot load command parameter [rosversion]: command [['rosversion', 'roslaunch']] returned with code [1]. 
Param xml is <param command="rosversion roslaunch" name="rosversion"/>
The traceback for the exception was written to the log file
No handlers could be found for logger "roslaunch"
edit retag flag offensive close merge delete


Please take a look at prior answer:

osilva gravatar image osilva  ( 2021-11-15 07:19:06 -0500 )edit

Which web page did you use for instructions to install melodic? Also, edit your description and copy/paste the output of this terminal command:

env | grep ROS

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-11-15 12:01:15 -0500 )edit