Modify

Opened 7 years ago

Last modified 10 months ago

#2952 assigned defect

Author names missing in tables

Reported by: gomar@… Owned by: rjollos
Priority: normal Component: StractisticsPlugin
Severity: normal Keywords:
Cc: gomar@… Trac Release: 0.11

Description

With Trac 0.11b2, STractistics works great on my system (Linux, Python 2.4.4, Opera 9.50b2) -- except that the tables for repository and wiki activity lack the names of the respective authors in their header fields (the cells are there, but there's no text). See the attached screenshots.

Attachments (2)

screenshot1.png (46.8 KB) - added by gomar@… 7 years ago.
Author names missing in the repository activity table.
screenshot2.png (32.2 KB) - added by gomar@… 7 years ago.
Author name missing in the wiki activity table.

Download all attachments as: .zip

Change History (11)

Changed 7 years ago by gomar@…

Author names missing in the repository activity table.

Changed 7 years ago by gomar@…

Author name missing in the wiki activity table.

comment:1 Changed 7 years ago by dagomez

Hi gomar, That's strange, would you mind taking a look at the html and check whether the names are present there?

comment:2 Changed 7 years ago by gomar@…

I already did: they ain't. This is the first table's header:

				<thead>
					<tr>
						<th colspan="3">Commits per week (12 weeks)</th>
					</tr>
					<tr>
						<th rowspan="2">Weeks</th>
					
						<th colspan="2">Authors</th>					
					</tr>
					<tr>
						
							<th></th>
						
							<th></th>
						
					</tr>
				</thead>
				<tbody>

Might this be something to do with localization, as the Trac „Search“ button in the upper right-hand corner is labeled „Buscar“ when on the „Stratistics“ screen? Just guessing wildly.

comment:3 follow-up: Changed 7 years ago by dagomez

Ups, the 'Buscar' button is just an unrelated mistake, I forgot to translate it back to english. Have you customized any options in trac.ini?

comment:4 in reply to: ↑ 3 Changed 7 years ago by gomar@…

Replying to dagomez:

Have you customized any options in trac.ini?

Concerning Stractistics? Only ignored_wiki_authors, in order to ignore wiki changes made by Trac itself:

[stractistics]
ignored_wiki_authors = trac

This is unrelated to the issue, however.

comment:5 Changed 7 years ago by dagomez

I asked because there's an option called 'max_author_characters' used to mangle the length of the author names. I added it because some users told me they had very long names that didn't fit into the table. I'm suspecting the bug lies somewhere here. Try adding this to your stractistics section:

max_author_characters = 12

Thank you.

comment:6 Changed 7 years ago by anonymous

Sorry, this doesn't help (yes, I did restart Trac). The longest user name used is 8 characters, BTW.

comment:7 Changed 7 years ago by gomar@…

Whoops, sorry -- I changed it for one installation but tried it with another. Lo and behold, names do indeed work with that setting. :-)

comment:8 Changed 4 years ago by rjollos

  • Owner changed from dagomez to rjollos

comment:9 Changed 10 months ago by rjollos

  • Status changed from new to assigned

Add Comment

Modify Ticket

Action
as assigned The owner will remain rjollos.
Author


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

 
Note: See TracTickets for help on using tickets.