Error running the autoware runtime manager
I try to run the autoware rosbag demo (https://github.com/autowarefoundation...) but the autoware runtime manager reports following error after launching it using ./run
top: bad delay interval '0.1'
Exception in thread Thread-8:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/carla/autoware/ros/install/runtime_manager/lib/runtime_manager/runtime_manager_dialog.py", line 1408, in top_cmd_th
s = subprocess.check_output(['sh', '-c', 'env COLUMNS=512 top -b -n 2 -d 0.1']).strip()
File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['sh', '-c', 'env COLUMNS=512 top -b -n 2 -d 0.1']' returned non-zero exit status 1
I have installed autoware v1.12.0 from source (https://gitlab.com/autowarefoundation...) on ubuntu 18.04. with ROS melodic.
The output of locale is:
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=
Can somebody help me with this issue?
This could be a locale issue (commas vs dots). Does
top -b -n 2 -d 0,1
in a terminal work?Yes, thank you very much! I just had to replace "0.1" with "0,1" in runtime_manager_dialog.py and it worked.
That is not a solution. It was a step in diagnosing what is wrong.
What is the output of
locale
?