Modify

Opened 8 years ago

Last modified 7 years ago

#1222 new defect

I see 5 times | Excel in the "Download in other formats" section

Reported by: Daniel Werner <dan@…> Owned by: ajo
Priority: normal Component: ExcelReportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

When I go to View Tickets > All tickets, at the bottom I have "Download in other formats" and there I see the following:

  • RSS Feed
  • Comma-delimited Text
  • Tab-delimited Text
  • SQL Query
  • Excel
  • Excel
  • Excel
  • Excel
  • Excel

5 times Excel instead of only once ?!

Attachments (0)

Change History (7)

comment:1 follow-up: Changed 8 years ago by anonymous

Strange behaviour, but somebody already told me before that he had it twice.

what steps did you follow to install the plugin?

comment:2 in reply to: ↑ 1 Changed 8 years ago by Daniel Werner <dwarf007 ... moesbar ... net>

Replying to anonymous:

what steps did you follow to install the plugin?

Actually I followed the classical instructions.
But my guess is that it might be related to multiple projects.
I am using trac with multiple projects and I have exactly 5 projects currently.. maybe the number of Excel links is related..

I just added a 6th project and now I have 7 Excel links displayed ...

comment:3 Changed 8 years ago by anonymous

Yeah, must be related to number of projects. I've installed it to trac 0.10.3 with three existing projects (one has tickets module disabled), enabled it in one, and sure enough there are three Excel links.

It's also shown three times in WebAdmin Plugins page. You enable one and all three get enabled.

comment:4 Changed 8 years ago by anonymous

Enabled it in the second project - now I've got four links. I don't dare to add any more projects for now ...

comment:5 Changed 7 years ago by izekia@…

I solved this problem by creating and installing egg instead of .py

comment:6 Changed 7 years ago by anonymous

I'm having the multiple appearances problem too. I have 11 'excel' links and 7 projects defined.

Please explain the egg creation process for this plugin. I'll do the same thing.

comment:7 Changed 7 years ago by anonymous

I got a workaround for this problem, at least it was helping in my Tray envirement.
I put the file "excel_report_plugin.py" not in the comment plugin directoy rather than in project plugin directory. So it the "Excel" button was displayed only one Time in the Tickect Reports.
(But two Time in the Admin->Plugin area.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.