Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10592 closed defect (fixed)

Error when generating the documentation of the 'smtp_always_cc' option

Reported by: sdegrande Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Ryan J Ollos Trac Release: 1.0

Description (last modified by Ryan J Ollos)

With r12143 on Trac1.0, on the wiki/TracIni page, there is an error report instead of the documentation string of the 'smtp_always_cc' option:

Project-Id-Version: Trac 0.13 Report-Msgid-Bugs-To: ​trac-
dev@googlegroups.com POT-Creation-Date: 2011-02-23 13:05+0900 PO-
Revision-Date: 2011-02-23 22:27+0900 Last-Translator: FULL NAME
<EMAIL@ADDRESS> Language-Team: en_US <​LL@li.org> Plural-Forms:
nplurals=2; plural=(n != 1) MIME-Version: 1.0 Content-Type: text/plain;
charset=utf-8 Content-Transfer-Encoding: 8bit Generated-By: Babel 0.9.6

The proposed attached patch fixes it.

Thanks for your great work !

Attachments (4)

doc_error.patch (485 bytes) - added by sdegrande 12 years ago.
Before.png (38.3 KB) - added by Ryan J Ollos 12 years ago.
After.png (40.4 KB) - added by Ryan J Ollos 12 years ago.
doc_error.png (58.2 KB) - added by sdegrande 12 years ago.

Download all attachments as: .zip

Change History (15)

Changed 12 years ago by sdegrande

Attachment: doc_error.patch added

comment:1 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 12 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

(In [12292]) Fixes #10592: Implemented missing TracIni option documentation for smtp_always_cc. Thanks to sdegrande for the patch.

Changed 12 years ago by Ryan J Ollos

Attachment: Before.png added

Changed 12 years ago by Ryan J Ollos

Attachment: After.png added

comment:3 Changed 12 years ago by Ryan J Ollos

Before/After screen captures of discussion documentation section:

comment:4 in reply to:  3 ; Changed 12 years ago by sdegrande

Replying to rjollos:

Before/After screen captures of discussion documentation section:

How comes that you have a blank documentation (in your "before" screenshot) while I have an error msg ?

comment:5 in reply to:  4 ; Changed 12 years ago by Ryan J Ollos

Replying to sdegrande:

How comes that you have a blank documentation (in your "before" screenshot) while I have an error msg ?

I'm not sure. I was testing with the latest version of the Trac trunk, running tracd. Do you have a screen capture of the error?

comment:6 in reply to:  5 ; Changed 12 years ago by sdegrande

Replying to rjollos:

I'm not sure. I was testing with the latest version of the Trac trunk, running tracd. Do you have a screen capture of the error?

Here it is :

System informations:

Trac1.0
Babel0.9.6
Docutils0.8.1
Genshi0.6 (without speedups)
mod_wsgi3.3 (WSGIProcessGroup sites WSGIApplicationGroup %{GLOBAL})
Pygments1.5
pysqlite2.4.1
Python2.6.6 (r266:84292, Dec 26 2010, 22:48:11) [GCC 4.4.5]
pytz2012b
setuptools0.6
SQLite3.7.3
jQuery1.7.2

Changed 12 years ago by sdegrande

Attachment: doc_error.png added

comment:7 Changed 12 years ago by Ryan J Ollos

I suspect the difference is that you are using Babel and a non-English language.

comment:8 in reply to:  6 ; Changed 12 years ago by Jun Omae

Replying to sdegrande:

Here it is : (image)

This issue is TracIni macro issue in Trac core with Babel. gettext and dgettext functions, which are translation functions in Babel, translate an empty string to the *.po header.

IniAdminPlugin has the same issue and it was fixed in r12306. And, I'll fix in Trac 1.0.1. Thanks.

comment:9 in reply to:  8 Changed 12 years ago by sdegrande

Replying to jun66j5:

This issue is TracIni macro issue in Trac core with Babel. gettext and dgettext functions, which are translation functions in Babel, translate an empty string to the *.po header.

IniAdminPlugin has the same issue and it was fixed in r12306. And, I'll fix in Trac 1.0.1. Thanks.

Oh, my bad...

I should have trace the code more deeply, instead of thinking it was a kind of an error msg.

Sorry.

comment:10 Changed 12 years ago by Ryan J Ollos

Jun, thank you for sorting out the issue for us.

comment:11 Changed 12 years ago by Ryan J Ollos

Link to defect ticket that Jun opened: t:#10940.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
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.