[Python-3000] setup.py fails in the py3k-struni branch
Alexandre Vassalotti
alexandre at peadrop.com
Tue Jun 5 23:33:10 CEST 2007
Hi,
On Ubuntu linux, when I try run make in the py3k-struni branch I get
an weird error about split(). However, I don't get this error when I
run ``make clean; make''.
Thanks,
-- Alexandre
% make
Traceback (most recent call last):
File "./setup.py", line 6, in <module>
import sys, os, imp, re, optparse
File "/home/alex/src/python.org/py3k-struni/Lib/optparse.py", line
412, in <module>
_builtin_cvt = { "int" : (_parse_int, _("integer")),
File "/home/alex/src/python.org/py3k-struni/Lib/gettext.py", line
563, in gettext
return dgettext(_current_domain, message)
File "/home/alex/src/python.org/py3k-struni/Lib/gettext.py", line
527, in dgettext
codeset=_localecodesets.get(domain))
File "/home/alex/src/python.org/py3k-struni/Lib/gettext.py", line
462, in translation
mofiles = find(domain, localedir, languages, all=1)
File "/home/alex/src/python.org/py3k-struni/Lib/gettext.py", line 434, in find
for nelang in _expand_lang(lang):
File "/home/alex/src/python.org/py3k-struni/Lib/gettext.py", line
129, in _expand_lang
locale = normalize(locale)
File "/home/alex/src/python.org/py3k-struni/Lib/locale.py", line
329, in normalize
norm_encoding = encodings.normalize_encoding(encoding)
File "/home/alex/src/python.org/py3k-struni/Lib/encodings/__init__.py",
line 68, in normalize_encoding
return '_'.join(encoding.translate(_norm_encoding_map).split())
TypeError: split() takes at least 1 argument (0 given)
make: *** [sharedmods] Error 1
More information about the Python-3000
mailing list