Modify

Opened 3 years ago

Closed 2 years ago

Last modified 2 years 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

Description

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 3 years 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/main.py", line 639 , in dispatch_request
File "C:/Python27/lib/site-packages/trac/web/main.py", line 271 , in dispatch
File "C:/Python27/lib/site-packages/trac/web/chrome.py", line 1443 , in render_template
File "C:/Python27/lib/site-packages/trac/web/chrome.py", line 1497 , in _render_jinja_template
File "C:/Python27/lib/site-packages/trac/web/chrome.py", line 1610 , in prepare_template
File "C:/Python27/lib/site-packages/trac/util/translation.py", 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 1.0.0.0 c:\python27\lib\site-packages\exceldownloadplugin-1.0.0.0-py2.7.egg
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 0.12.0.6 c:\python27\lib\site-packages\tracworkflowadmin-0.12.0.6-py2.7.egg
Last edited 3 years ago by Ryan J Ollos (previous) (diff)

comment:2 Changed 3 years ago by Ryan J Ollos

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

comment:3 Changed 3 years ago by Ryan J Ollos

In 18450:

CustomFieldAdminPlugin: Fix message extraction from jinja template

Refs #14056.

comment:4 Changed 3 years 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 2 years 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 2 years ago by Ryan J Ollos (previous) (diff)

comment:6 Changed 2 years 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
Action
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.