New submission from Sean McCully: Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 312, in run wheel_cache File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 295, in populate_requirement_set wheel_cache=wheel_cache): File "/usr/lib/python2.7/site-packages/pip/req/req_file.py", line 84, in parse_requirements filename, comes_from=comes_from, session=session File "/usr/lib/python2.7/site-packages/pip/download.py", line 422, in get_file_content content = auto_decode(f.read()) File "/usr/lib/python2.7/site-packages/pip/utils/encoding.py", line 31, in auto_decode return data.decode(locale.getpreferredencoding(False)) TypeError: decode() argument 1 must be string, not None
---------- components: Unicode files: patchset.diff keywords: patch messages: 293995 nosy: ezio.melotti, haypo, seanmccully priority: normal pull_requests: 1767 severity: normal status: open title: locale.getpreferredencoding doesn't return result versions: Python 2.7 Added file: http://bugs.python.org/file46877/patchset.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30409> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com