Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported locale settings #8

Open
gustavofonseca opened this issue Aug 10, 2012 · 0 comments
Open

Unsupported locale settings #8

gustavofonseca opened this issue Aug 10, 2012 · 0 comments
Labels

Comments

@gustavofonseca
Copy link
Collaborator

Ao executar os testes no Travis-ci, o seguinte traceback é exibido:

340ERROR: test_get_data (delorean.tests.IssueCollectorTests)
341----------------------------------------------------------------------
342Traceback (most recent call last):
343 File "/home/vagrant/virtualenv/python2.7/local/lib/python2.7/site-packages/mocker-1.1.1-py2.7.egg/mocker.py", line 149, in test_method_wrapper
344 result = test_method()
345 File "/home/vagrant/builds/scieloorg/delorean/delorean/tests.py", line 372, in test_get_data
346 for record in dc:
347 File "/home/vagrant/builds/scieloorg/delorean/delorean/domain.py", line 175, in iter
348 yield self.get_data(obj)
349 File "/home/vagrant/builds/scieloorg/delorean/delorean/domain.py", line 324, in get_data
350 locale.setlocale(locale.LC_ALL, 'pt_BR'.encode('utf8'))
351 File "/home/vagrant/virtualenv/python2.7/lib/python2.7/locale.py", line 540, in setlocale
352 return _setlocale(category, locale)
353Error: unsupported locale setting

Ver http://stackoverflow.com/questions/1259971/os-locale-support-for-use-in-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant