Skip to content

Instantly share code, notes, and snippets.

@yucedagonurcan
Created September 26, 2019 20:44
Show Gist options
  • Select an option

  • Save yucedagonurcan/429b91a2ed2d01a932d1200fdb948081 to your computer and use it in GitHub Desktop.

Select an option

Save yucedagonurcan/429b91a2ed2d01a932d1200fdb948081 to your computer and use it in GitHub Desktop.
After running this command: roslaunch runtime_manager runtime_manager.launch
Newly opened terminal can display the following error:
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/aw2/autoware.ai/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 574, 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
@yucedagonurcan
Copy link
Author

yucedagonurcan commented Sep 26, 2019

Go to Language Support -> Regional Formats -> English(Display numbers ...) -> Apply system wide

@yucedagonurcan
Copy link
Author

https://answers.ros.org/question/327812/error-running-the-autoware-runtime-manager/

It is a common problem with commas and dots. Check "locale" output, it should be all english.

@yucedagonurcan
Copy link
Author

yucedagonurcan commented Sep 26, 2019

Also if above couldn't solve the problem: Add this to ~/.bashrc:

export LANG="en_US.utf8"
export LANGUAGE="en_US.utf8"
export LC_ALL="en_US.utf8"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment