oh god
some idea about this.
I don't know why 'en' locale in error if I request pt_BR locale
./setup.py compile_catalog --statistics --directory trac/locale --use-fuzzy
--locale pt_BR
running compile_catalog
Traceback (most recent call last):
File "./setup.py", line 97, in ?
message_extractors = {
File "distutils/core.py", line 149, in setup
File "distutils/dist.py", line 946, in run_commands
File "distutils/dist.py", line 966, in run_command
File "/usr/lib/python2.4/site-packages/Babel-
0.9dev_r256-py2.4.egg/babel/messages/frontend.py", line 147, in run
for message in list(catalog)[1:]:
File "/usr/lib/python2.4/site-packages/Babel-
0.9dev_r256-py2.4.egg/babel/messages/catalog.py", line 413, in __iter__
for name, value in self.mime_headers:
File "/usr/lib/python2.4/site-packages/Babel-
0.9dev_r256-py2.4.egg/babel/messages/catalog.py", line 256, in
_get_mime_headers
locale='en')))
File "/usr/lib/python2.4/site-packages/Babel-
0.9dev_r256-py2.4.egg/babel/dates.py", line 492, in format_datetime
locale = Locale.parse(locale)
File "/usr/lib/python2.4/site-packages/Babel-
0.9dev_r256-py2.4.egg/babel/core.py", line 193, in parse
return cls(*parse_locale(identifier, sep=sep))
File "/usr/lib/python2.4/site-packages/Babel-
0.9dev_r256-py2.4.egg/babel/core.py", line 123, in __init__
raise UnknownLocaleError(identifier)
babel.core.UnknownLocaleError: unknown locale 'en'
On 8/8/07, Lucas Stephanou <[EMAIL PROTECTED]> wrote:
>
> Ohh yes...
>
> The problem was version of babel, with trunk versio that works fine.
>
> On 8/8/07, Lucas Stephanou < [EMAIL PROTECTED]> wrote:
> >
> > yeah
> >
> > but I'll upgrade to development version to test.
> > now, if I run pybabel --help only commands new and init are showed.
> >
> >
> > On 8/8/07, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > -On [20070808 19:19], Lucas Stephanou ([EMAIL PROTECTED]) wrote:
> > > >I try this in directory of i18ln branch, but doesn't work
> > > >error: invalid command 'compile_catalog'
> > >
> > > Do you even have Babel installed (http://babel.edgewall.org/)?
> > >
> > > --
> > > Jeroen Ruigrok van der Werven <asmodai(-at-)in- nomine.org> / asmodai
> > > イェルーン ラウフロック ヴァン デル ウェルヴェン
> > > http://www.in-nomine.org/ | http://www.rangaku.org/
> > > In a world that is chaotic, time is an island of order...
> > >
> > > > > >
> > >
> >
> >
> > --
> > Lucas Stephanou
>
>
>
>
> --
> Lucas Stephanou
--
Lucas Stephanou
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---