Modify

Opened 18 years ago

Closed 18 years ago

#1272 closed defect (fixed)

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

Reported by: Prasand J. Owned by: Christian Aust
Priority: normal Component: GoogleSitemapPlugin
Severity: major Keywords:
Cc: Trac Release: 0.10

Description

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/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/home/inalias/packages/lib/python2.3/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/sitemap/api.py", line 144, in process_request
  File "build/bdist.linux-i686/egg/sitemap/ticket.py", 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@… 18 years ago.
Here is a patch that makes it run and somewhat work

Download all attachments as: .zip

Change History (3)

Changed 18 years ago by tag@…

Attachment: sitemap-plugin-patch.diff added

Here is a patch that makes it run and somewhat work

comment:1 Changed 18 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 18 years ago by Prasand J.

Resolution: fixed
Status: newclosed

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

Modify Ticket

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