Opened 15 years ago

Closed 14 years ago

#1472 closed defect (fixed)

URL Not Found when click Burndown menu

Reported by: Rodrigo Owned by: daan
Priority: normal Component: ScrumBurndownPlugin
Severity: normal Keywords: burndown scrum
Cc: Trac Release: 0.10


I´ve just installed the .egg, upgraded the db. But when i click the Burndown menu i get this:

Not Found

The requested URL /burndown was not found on this server.

Attachments (0)

Change History (4)

comment:1 Changed 15 years ago by Tatyana Tvardovskaya

Summary: URL Not Found when I click Burndown menuURL Not Found when click Burndown menu

This is usual issue when Trac is not set as virtual host as this one server. Also occures when there are a number of Trac environments.

The folloing changes fixed this issue for me: changes to

  • in the beginning add:
    from trac.util.html import html
  • then change get_navigation_items definition:
        def get_navigation_items(self, req):
            if req.perm.has_permission("BURNDOWN_VIEW"):
                yield 'mainnav', 'burndown',
                       #Markup('<a href="%s">Burndown</a>', self.env.href.burndown())
                       html.a('Burndown', href=req.href.burndown(), accesskey=8)

Commented Markup can be removed from code completely.

comment:2 Changed 15 years ago by Markus Pelkonen

here is patch for [2215]:

  • burndown/

    1818from trac.perm import IPermissionRequestor
    1919from import INavigationContributor, ITemplateProvider, add_stylesheet
    2020from trac.web.main import IRequestHandler
    21 from trac.util import escape, Markup, format_date
     21from trac.util import format_date
     22from trac.util.html import html
    2223from trac.ticket import ITicketChangeListener
    2425class BurndownComponent(Component):
    140141    def get_navigation_items(self, req):
    141142        if req.perm.has_permission("BURNDOWN_VIEW"):
    142             yield 'mainnav', 'burndown', Markup('<a href="%s">Burndown</a>', self.env.href.burndown())
     143            yield('mainnav', 'burndown',
     144                html.A('Burndown', href=req.href.burndown(), accesskey=8))
    144146    #---------------------------------------------------------------------------
    145147    # IPermissionRequestor methods

(hmm, diff macro doesn't work here in the same manner as in default trac 0.10.3, shame)

comment:3 Changed 14 years ago by daan

Owner: changed from Sam Bloomquist to daan

comment:4 Changed 14 years ago by daan

Resolution: fixed
Status: newclosed

(In [4736]) Release of version 1.9 of the Trac Scrum burndown plugin. See for more information.

The Scrum burndown plugin is currently compatible and tested with Trac 0.10.5, Trac 0.11.1, Python 2.4 and Python 2.5.

Issues fixed: Fixed #3498 Incompatible with Genshi 0.5 Fixed #1743 No support for 0.11 version on trac Fixed #2330 How to enable ScrumBurndownPlugin in 0.11b1 Fixed #1590 printing to stderr causes svn post-commit hook to crash Fixed #1510 Porting to Trac 0.11 and Genshi templates Fixed #2936 problem installing plugin Fixed #1668 Environment Not Found Fixed #1472 URL Not Found when click Burndown menu Fixed #3017 Trac 0.11 - Burndown Chart does not show tickets with status 'accepted'

Modify Ticket

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