Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

It's doesn't working once I am using babel

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


luoyonggang at gmail

Oct 27, 2009, 6:23 AM

Post #1 of 4 (339 views)
Permalink
It's doesn't working once I am using babel

It's doesn't working!?????

Traceback (most recent call last):
File "D:\Tools\Building\Python\lib\site-packages\trac-0.12dev_r0-py2.6.egg\trac\web\api.py",
line 394, in send_error
'text/html')
File "D:\Tools\Building\Python\lib\site-packages\trac-0.12dev_r0-py2.6.egg\trac\web\chrome.py",
line 753, in render_template
data = self.populate_data(req, data)
File "D:\Tools\Building\Python\lib\site-packages\trac-0.12dev_r0-py2.6.egg\trac\web\chrome.py",
line 679, in populate_data
'locale': req and req.locale,
File "D:\Tools\Building\Python\lib\site-packages\trac-0.12dev_r0-py2.6.egg\trac\web\api.py",
line 209, in __getattr__
value = self.callbacks[name](self)
File "D:\Tools\Building\Python\lib\site-packages\trac-0.12dev_r0-py2.6.egg\trac\web\main.py",
line 282, in _get_locale
negociated = Locale.negotiate(preferred, available, sep='-')
File "D:\Tools\Building\Python\lib\site-packages\babel-0.9.4dev_r0-py2.6.egg\babel\core.py",
line 185, in negotiate
return Locale.parse(identifier, sep=sep)
File "D:\Tools\Building\Python\lib\site-packages\babel-0.9.4dev_r0-py2.6.egg\babel\core.py",
line 212, in parse
return cls(*parse_locale(identifier, sep=sep))
File "D:\Tools\Building\Python\lib\site-packages\babel-0.9.4dev_r0-py2.6.egg\babel\core.py",
line 137, in __init__
raise UnknownLocaleError(identifier)
UnknownLocaleError: unknown locale 'zh_CN'


Why this happenend?


--
此致

罗勇刚
Yours
sincerely,
Yonggang Luo

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


yoheeb at gmail

Oct 27, 2009, 11:01 AM

Post #2 of 4 (312 views)
Permalink
Re: It's doesn't working once I am using babel [In reply to]

On Oct 27, 8:23 am, 罗勇刚(Yonggang Luo) <luoyongg...@gmail.com> wrote:
> It's doesn't working!?????
>
no idea, but I am going to bet you used the latest trunk version of
Babel. I saw something about that in a different thread recently.
try reverting to the latest stable release.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


cboos at neuf

Oct 27, 2009, 1:11 PM

Post #3 of 4 (313 views)
Permalink
Re: It's doesn't working once I am using babel [In reply to]

yoheeb wrote:
> On Oct 27, 8:23 am, 罗勇刚(Yonggang Luo) <luoyongg...@gmail.com> wrote:
>
>> It's doesn't working!?????
>>
>>
> no idea, but I am going to bet you used the latest trunk version of
> Babel. I saw something about that in a different thread recently.
> try reverting to the latest stable release.

Actually he's using the correct version (0.9.4) but it looks like it's
not the official build rather one made from the svn checkout (as the
..._r0 suggests). In this case, the
http://babel.edgewall.org/wiki/SubversionCheckout instructions have to
be followed carefully.

-- Christian


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


luoyonggang at gmail

Oct 27, 2009, 6:03 PM

Post #4 of 4 (309 views)
Permalink
Re: It's doesn't working once I am using babel [In reply to]

>
> >>
> > no idea, but I am going to bet you used the latest trunk version of
> > Babel. I saw something about that in a different thread recently.
> > try reverting to the latest stable release.
>
> Actually he's using the correct version (0.9.4) but it looks like it's
> not the official build rather one made from the svn checkout (as the
> ..._r0 suggests). In this case, the
> http://babel.edgewall.org/wiki/SubversionCheckout instructions have to
> be followed carefully.
>
> -- Christian
>
> Thanks, now I am building correctly:)
Many thanks!

--
此致

罗勇刚
Yours
sincerely,
Yonggang Luo

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

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.