openag_brain icon indicating copy to clipboard operation
openag_brain copied to clipboard

Running without locale set results in mysterious looping error

Open gordonbrander opened this issue 9 years ago • 4 comments

gordonbrander avatar Oct 03 '16 19:10 gordonbrander

Uh... Not sure what you mean by this. Any idea how I could reproduce it?

LeonChambers avatar Jan 10 '17 20:01 LeonChambers

Yeah, install Raspbian Jesse Lite (I think it comes without a locale by default) and run openag_brain_install_rpi. When you try running rosrun openag_brain main you'll see what I mean.

gordonbrander avatar Jan 25 '17 18:01 gordonbrander

Just hit this on another Raspberry Pi screen shot 2017-01-27 at 3 13 12 pm

gordonbrander avatar Jan 27 '17 22:01 gordonbrander

@gordonbrander According to pages 137-138 of Raspberry Pi Hacks: Tips & Tools for Making Things with the Inexpensive Linux Computer (link to google books preview), that error happens because code in ROS specifically requests locales like en_US.UTF-8 and others that aren't en_GB. I was just looking at locale settings in raspi-config tonight on a fresh January 2017 Jessie Lite install--it only had en_GB.UTF-8 configured.

Also, the Ubuntu ARM ROS Indigo wiki docs say "Boost and some of the ROS tools require that the system locale be set."

This is on my radar because I'm in the process of attempting to install Jessie Lite followed by a global brain install, and I'm writing up my procedure as I go: https://gist.github.com/wsnook/24ea657cf600a3802b262a2798f8894b.

I haven't hit your error yet. But, out of habit, I already included instructions about setting locale, wifi country, and timezone. My intention is to post about my gist on the OpenAg forum once I get the brain and UI running. I'd also be happy to make a documentation pull request (how to set locale) against one of the READMEs or maybe sphinx docs if that would be helpful.

ghost avatar Jan 29 '17 05:01 ghost