Opened 19 years ago
Closed 19 years ago
#1776 closed defect (invalid)
report module doesn't work
Reported by: | anonymous | Owned by: | daniel |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | report system | Version: | 0.8.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Oops… Trac detected an internal error: unsupported locale settingIf you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team.
Go to http://trac.edgewall.com/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the python traceback found below.
TracGuide — The Trac User and Administration Guide
Python traceback Traceback (most recent call last):
File "D:\PROGRA~1\Python23\Lib\site-packages\trac\core.py", line 531, in cgi_start
real_cgi_start()
File "D:\PROGRA~1\Python23\Lib\site-packages\trac\core.py", line 526, in real_cgi_start
dispatch_request(path_info, args, req, env)
File "D:\PROGRA~1\Python23\Lib\site-packages\trac\core.py", line 441, in dispatch_request
module.run()
File "D:\PROGRA~1\Python23\Lib\site-packages\trac\Module.py", line 44, in run
self.render()
File "D:\Program Files\Python23\lib\site-packages\trac\Report.py", line 433, in render
self.render_report_list(id)
File "D:\Program Files\Python23\lib\site-packages\trac\Report.py", line 364, in render_report_list
locale.setlocale(locale.LC_ALL,'us_en')
File "D:\PROGRA~1\Python23\lib\locale.py", line 381, in setlocale
return _setlocale(category, locale)
Error: unsupported locale setting
Attachments (0)
Change History (1)
comment:1 by , 19 years ago
Milestone: | 0.8.1 |
---|---|
Resolution: | → invalid |
Status: | new → closed |
The following line from the stack trace above is not from the standard Trac source and has been added to Report.py:
The locale added of 'us_en' is not a valid locale, so it is reported as an error.
Please follow the examples in the TracFaq for setting the locale.