Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

#11700 closed defect (cantfix)

UnknownLocaleError: unknown locale 'locale'

Reported by: ikezi Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /prefs, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'panel_id': None}

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36

System Information

Trac 0.12.3
Babel 0.9.6
Genshi 0.6
mod_python 3.3.1
pysqlite 2.6.0
Python 2.7.3 (default, Apr 13 2012, 20:15:24)
[GCC 4.6.3 20120306 (Red Hat 4.6.3-2)]
pytz 2010h
setuptools 0.6
SQLite 3.7.7.1
jQuery 1.4.4

Enabled Plugins

TracGanttCalendarPlugin 0.6.2

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 522, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.7/site-packages/trac/prefs/web_ui.py", line 77, in process_request
    template, data = chosen_provider.render_preference_panel(req, panel_id)
  File "/usr/lib/python2.7/site-packages/trac/prefs/web_ui.py", line 109, in render_preference_panel
    locales = map(Locale.parse, get_available_locales())
  File "/usr/lib/python2.7/site-packages/babel/core.py", line 212, in parse
    return cls(*parse_locale(identifier, sep=sep))
  File "/usr/lib/python2.7/site-packages/babel/core.py", line 137, in __init__
    raise UnknownLocaleError(identifier)
UnknownLocaleError: unknown locale 'locale'

Attachments (0)

Change History (3)

comment:1 by Jun Omae, 10 years ago

Owner: changed from なぺぽ to Jun Omae
Status: newassigned

InstallationIssue. That issue be caused by wrong trac/locale/locale directory. Try to reinstall Trac.

comment:2 by Jun Omae, 10 years ago

Owner: Jun Omae removed

comment:3 by Jun Omae, 10 years ago

Resolution: cantfix
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.