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)
Change History (3)
Changed 18 years ago by
Attachment: | sitemap-plugin-patch.diff added |
---|
comment:1 follow-up: 2 Changed 18 years ago by
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 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thank you very much for the patch. I truly appreciate it.
Note: See
TracTickets for help on using
tickets.
Here is a patch that makes it run and somewhat work