Hello,

C:\soft\Python23\Lib\site-packages\sonikete>make-messages.py -l fr
processing language fr
Traceback (most recent call last):
  File "C:\soft\django_src\django\bin\make-messages.py", line 78, in ?
    (stdin, stdout, stderr) = os.popen3(cmd, 'r')
ValueError: popen3() arg 2 must be 't' or 'b'

When I set the 2nd arg to t or b then:
C:\soft\Python23\Lib\site-packages\sonikete>make-messages.py -l fr
processing language fr
errors happened while running xgettext on settings.py
'xgettext' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

There is no such xgettext on my system, do I need to download/install
3rd party tool ?

Then I've created django.po by hand:
C:\soft\Python23\Lib\site-packages\sonikete>compile-messages.py
processing file django.po in
C:\soft\Python23\Lib\site-packages\sonikete\locale\fr\LC_MESSAGES
'msgfmt' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

I have added the directory path which contain msgfmt.py to PATH but the
result is the same.

What do I need to do ?

Olivier.

ValueError: popen3() arg 2 must be 't' or 'b

Reply via email to