This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author straz
Recipients nedbat, r.david.murray, straz, terry.reedy
Date 2013-05-10.20:07:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368216430.34.0.652142025432.issue17898@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry, I haven't installed python 3.*, I just have default Mac OS python 2.7.

Here's a minimal test case. Tar expands to
 file structure:                                                                                                 
  ./test.py                                                                                                      
  ./en/LC_MESSAGES/messages.po   

$ ./test.py 

Traceback (most recent call last):
  File "./test.py", line 28, in <module>
    test()
  File "./test.py", line 23, in test
    gettext.install('messages', localedir=LOCALEDIR)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gettext.py", line 494, in install
    t = translation(domain, localedir, fallback=True, codeset=codeset)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gettext.py", line 479, in translat\
ion
    t = _translations.setdefault(key, class_(fp))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gettext.py", line 314, in _parse
    v = v.split(';')
AttributeError: 'list' object has no attribute 'split'
History
Date User Action Args
2013-05-10 20:07:10strazsetrecipients: + straz, terry.reedy, nedbat, r.david.murray
2013-05-10 20:07:10strazsetmessageid: <1368216430.34.0.652142025432.issue17898@psf.upfronthosting.co.za>
2013-05-10 20:07:10strazlinkissue17898 messages
2013-05-10 20:07:10strazcreate