Previously locale.LC_ALL caused problems on ubuntu, however I don't recall what the exception was or if one was indeed thrown. Just something to keep in mind.