On Tue, 2011-01-04 at 23:02 +0100, Holger Bruenjes wrote:
> Hallo
> 
> Am 2011-01-04 19:50, schrieb Christian Boos:
> 
> >> but, when I use
> >>
> >> easy_install -z Babel==0.9.5
> >>
> >> then Trac compiled with error
> >
> > ... and even that still worked for me. Which version of easy_install are
> > you using? I was using setuptools-0.6c12 (on Linux).
> 
> I installed on Linux
> 
> it does not work :-(
> 
> easy_install -U setuptools
> Best match: setuptools 0.6c12dev-r85381
> 
> easy_install pytz==2010o
> 
> easy_install -z Babel==0.9.5
> 
> easy_install Genshi==0.6
> 
> easy_install Trac==0.12.1
> 
>    File "/usr/bin/easy_install", line 8, in <module>
>      load_entry_point('setuptools==0.6c12dev-r85381', 
> 'console_scripts', 'easy_install')()
> 
> ....
> 
>    File "build/bdist.linux-i686/egg/babel/core.py", line 212, in parse
>    File "build/bdist.linux-i686/egg/babel/core.py", line 137, in 
> __init__
> babel.core.UnknownLocaleError: unknown locale 'ca'
> 
> 
> hmm, than I use Babel witout -z
> 
> Thanks
> Holger
> 

I am doing a similar thing, and getting the exact same results.

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 436, in 
send_error
    data, 'text/html')
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 833, in 
render_template
    data = self.populate_data(req, data)
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 756, in 
populate_data
    'locale': req and req.locale,
  File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 212, in 
__getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 311, in 
_get_locale
    req.languages)
  File "/usr/lib/python2.6/site-packages/trac/util/translation.py", line 341, 
in get_negotiated_locale
    normalize(get_available_locales()), sep='-')
  File "build/bdist.freebsd-8.0-STABLE-i386/egg/babel/core.py", line 185, in 
negotiate
    return Locale.parse(identifier, sep=sep)
  File "build/bdist.freebsd-8.0-STABLE-i386/egg/babel/core.py", line 212, in 
parse
    return cls(*parse_locale(identifier, sep=sep))
  File "build/bdist.freebsd-8.0-STABLE-i386/egg/babel/core.py", line 137, in 
__init__
    raise UnknownLocaleError(identifier)
UnknownLocaleError: unknown locale 'en_US'


-- 
Roger Oberholtzer

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to