Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#10592 closed defect (fixed)

Error when generating the documentation of the 'smtp_always_cc' option

Reported by: sdegrande Owned by: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: rjollos Trac Release: 1.0

Description (last modified by rjollos)

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 2 years ago.
Before.png (38.3 KB) - added by rjollos 2 years ago.
After.png (40.4 KB) - added by rjollos 2 years ago.
doc_error.png (58.2 KB) - added by sdegrande 2 years ago.

Download all attachments as: .zip

Change History (15)

Changed 2 years ago by sdegrande

comment:1 Changed 2 years ago by rjollos

  • Description modified (diff)

comment:2 Changed 2 years ago by rjollos

  • Resolution set to fixed
  • Status changed from new to closed

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

Changed 2 years ago by rjollos

Changed 2 years ago by rjollos

comment:3 follow-up: Changed 2 years ago by rjollos

Before/After screen captures of discussion documentation section:

comment:4 in reply to: ↑ 3 ; follow-up: Changed 2 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 ; follow-up: Changed 2 years ago by rjollos

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 ; follow-up: Changed 2 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 2 years ago by sdegrande

comment:7 Changed 2 years ago by rjollos

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

comment:8 in reply to: ↑ 6 ; follow-up: Changed 2 years ago by jun66j5

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 2 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 2 years ago by rjollos

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

comment:11 Changed 2 years ago by rjollos

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

Add Comment

Modify Ticket

Action
as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.