Opened 12 months ago

Closed 11 months ago

Last modified 11 months ago

#14056 closed defect (fixed)

KeyError: 'dngettext'

Reported by: anonymous Owned by: Ryan J Ollos
Priority: normal Component: CustomFieldAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.4


When I install the lastest verion of the plugin using pip as described on the project page on trac 1.4.3 I get the described error. If I install version 0.2.14, the error is gone, but also the support the date fields.

Attachments (0)

Change History (6)

comment:1 Changed 12 months ago by anonymous

Here is some additional information on the problem:

Python Traceback Most recent call last:

File "C:/Python27/lib/site-packages/trac/web/", line 639 , in dispatch_request
File "C:/Python27/lib/site-packages/trac/web/", line 271 , in dispatch
File "C:/Python27/lib/site-packages/trac/web/", line 1443 , in render_template
File "C:/Python27/lib/site-packages/trac/web/", line 1497 , in _render_jinja_template
File "C:/Python27/lib/site-packages/trac/web/", line 1610 , in prepare_template
File "C:/Python27/lib/site-packages/trac/util/", line 92 , in domain_functions

System Information

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 
Safari/537.36 Edg/94.0.992.38
Package Version
Trac 1.4.3
Genshi 0.7.5 (without speedups)
Jinja2 2.11.3
pysqlite 2.6.0
Python 2.7.18 (v2.7.18:8d21aa21f2, Apr 20 2020, 13:25:05) [MSC v.1500 64 bit (AMD64)]
setuptools 44.1.1
SQLite 3.28.0
Subversion 1.14.1 (r1886195)
jQuery 1.12.4
jQuery UI 1.12.1
jQuery Timepicker 1.6.3

Installed Plugins

Name Version Location
condfieldsgenshiplugin 0.3.dev0 c:\python27\lib\site-packages\condfieldsgenshiplugin-0.3.dev0-py2.7.egg
exceldownloadplugin c:\python27\lib\site-packages\exceldownloadplugin-
ticketcreatebuttons 0.1 c:\python27\lib\site-packages\ticketcreatebuttons-0.1-py2.7.egg
TracAccountManager 0.6.dev0 c:\python27\lib\site-packages
TracAdvancedTicketWorkflow 1.2.1 c:\python27\lib\site-packages
TracAutocompleteUsersPlugin 0.4.7 c:\python27\lib\site-packages
tracawesomeattachments 0.4 c:\python27\lib\site-packages\tracawesomeattachments-0.4-py2.7.egg
TracCustomFieldAdmin 0.4.0.dev0 c:\python27\lib\site-packages
traciniadminpanel 1.4.1 c:\python27\lib\site-packages\traciniadminpanel-1.4.1-py2.7.egg
TracMasterTickets 4.0.4 c:\python27\lib\site-packages
tracpdfpreview 0.1.2 c:\python27\lib\site-packages\tracpdfpreview-0.1.2-py2.7.egg
TracProjectMenu 2.0 c:\python27\lib\site-packages
tracsubcomponents 1.3.3.dev0 c:\python27\lib\site-packages\tracsubcomponents-1.3.3.dev0-py2.7.egg
tracsubtickets 0.5.5.dev0 c:\python27\lib\site-packages\tracsubtickets-0.5.5.dev0-py2.7.egg
TracTags 0.12.1 c:\python27\lib\site-packages
tractypedticketworkflow 0.2 c:\python27\lib\site-packages\tractypedticketworkflow-0.2-py2.7.egg
tracworkflowadmin c:\python27\lib\site-packages\tracworkflowadmin-
Last edited 12 months ago by Ryan J Ollos (previous) (diff)

comment:2 Changed 12 months ago by Ryan J Ollos

Owner: changed from osimons to Ryan J Ollos
Status: newaccepted

comment:3 Changed 12 months ago by Ryan J Ollos

In 18450:

CustomFieldAdminPlugin: Fix message extraction from jinja template

Refs #14056.

comment:4 Changed 12 months ago by Ryan J Ollos

I haven't figured out how to fix the issue. Jun, could you take a look?

comment:5 in reply to:  4 Changed 11 months ago by Ryan J Ollos

Replying to Ryan J Ollos:

I haven't figured out how to fix the issue. Jun, could you take a look?

Just noticed comment:6:ticket:13992. Thanks!

Last edited 11 months ago by Ryan J Ollos (previous) (diff)

comment:6 Changed 11 months ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 18455:

CustomFieldAdminPlugin: Fix "KeyError: dngettext"

Extract messages and update catalogs.

Patch by Jun Omae.

Fixes #13992, #14056.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.