Modify

Opened 10 years ago

Last modified 4 years ago

#2952 assigned defect

Author names missing in tables

Reported by: gomar@… Owned by: Ryan J Ollos
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@… 10 years ago.
Author names missing in the repository activity table.
screenshot2.png (32.2 KB) - added by gomar@… 10 years ago.
Author name missing in the wiki activity table.

Download all attachments as: .zip

Change History (11)

Changed 10 years ago by gomar@…

Attachment: screenshot1.png added

Author names missing in the repository activity table.

Changed 10 years ago by gomar@…

Attachment: screenshot2.png added

Author name missing in the wiki activity table.

comment:1 Changed 10 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 10 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 Changed 10 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 10 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 10 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 10 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 10 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 7 years ago by Ryan J Ollos

Owner: changed from dagomez to Ryan J Ollos

comment:9 Changed 4 years ago by Ryan J Ollos

Status: newassigned

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Ryan J Ollos.

Add Comment


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

 
Note: See TracTickets for help on using tickets.