Opened 7 years ago

Closed 7 years ago

#1272 closed defect (fixed)

AttributeError: 'TicketData' object has no attribute 'exclude_default'

Reported by: cyrano423@… Owned by: datenimperator
Priority: normal Component: GoogleSitemapPlugin
Severity: major Keywords:
Cc: Trac Release: 0.10


This plugin is very useful and an excellent idea.

Everything functions fine (like the verification page & configuration). Yet, for some reason when accessing the /sitemap.xml, I receive the following:

Traceback (most recent call last):
  File "/home/inalias/packages/lib/python2.3/site-packages/trac/web/", line 387, in dispatch_request
  File "/home/inalias/packages/lib/python2.3/site-packages/trac/web/", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/sitemap/", line 144, in process_request
  File "build/bdist.linux-i686/egg/sitemap/", line 53, in get_data
AttributeError: 'TicketData' object has no attribute 'exclude_default'

Earlier I had a similar 'undefined' problem with TracNavHider which I found was addressed (ticket #937). However, searches turn up nothing in this case.

Attachments (1)

sitemap-plugin-patch.diff (551 bytes) - added by tag@… 7 years ago.
Here is a patch that makes it run and somewhat work

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by tag@…

Here is a patch that makes it run and somewhat work

comment:1 follow-up: Changed 7 years ago by tag@…

The result is sub-standard though, it simply says "Check everything daily" regardless of if some
of the URIs in the list are updated very rarely (and some haven't been updated since creation
over a year ago).

comment:2 in reply to: ↑ 1 Changed 7 years ago by prasand

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

Thank you very much for the patch. I truly appreciate it.

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from datenimperator. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.