Modify ↓
Opened 17 years ago
Closed 15 years ago
#2295 closed defect (wontfix)
TypeError: a float is required
Reported by: | albertlash | Owned by: | Christian Aust |
---|---|---|---|
Priority: | normal | Component: | GoogleSitemapPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
This plugin throws this error with the latest checkout of trac:
TypeError: a float is required
Most recent call last:
- File "/var/www/lib/python2.4/Trac-0.11dev_r6265-py2.4.egg/trac/web/main.py", line 398, in _dispatch_request
Code fragment:
- try:
- if not env and env_error:
- raise HTTPInternalError(env_error)
- try:
- dispatcher = RequestDispatcher(env)
- dispatcher.dispatch(req)
- except RequestDone:
- pass
- resp = req._response or []
- except HTTPException, e:
- File "/var/www/lib/python2.4/Trac-0.11dev_r6265-py2.4.egg/trac/web/main.py", line 195, in dispatch
Code fragment:
- req.args.get('FORM_TOKEN') != req.form_token:
- raise HTTPBadRequest('Missing or invalid form token. '
- 'Do you have cookies enabled?')
- # Process the request and render the template
- resp = chosen_handler.process_request(req)
- if resp:
- if len(resp) == 2: # Clearsilver
- chrome.populate_hdf(req)
- template, content_type = \
- self._post_process_request(req, *resp)
- File "build/bdist.linux-i686/egg/sitemap/api.py", line 144, in process_request Local variables: Name Value c <sitemap.wiki.WikiData object at 0xb61113ac> doc <xml.dom.minidom.Document instance at 0x896292c> ns <xml.dom.minidom.Attr instance at 0x896576c> req <Request "GET u'/sitemap.xml'"> self <sitemap.api.SitemapController object at 0xb611146c> sl <xml.dom.minidom.Attr instance at 0x896580c> urlset <DOM Element: urlset at 0x896570c> xns <xml.dom.minidom.Attr instance at 0x89652ec>
- File "build/bdist.linux-i686/egg/sitemap/wiki.py", line 68, in get_data
Attachments (0)
Change History (2)
comment:1 Changed 17 years ago by
comment:2 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
The version for 0.10 is abandoned. Please use the new version written for 0.11.
Note: See
TracTickets for help on using
tickets.
I have the same problem with trac 0.11b1