Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

#709 closed defect (fixed)

Internal error on viewing roadmap with python 2.1

Reported by: vittorio Owned by: Christopher Lenz
Priority: highest Milestone: 0.8
Component: roadmap Version: devel
Severity: blocker Keywords: python21
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

i get following internal error when clicking on the roadmap tab:

Traceback (most recent call last):
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 514, in cgi_start
    real_cgi_start()
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 509, in real_cgi_start
    dispatch_request(path_info, args, req, env)
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 424, in dispatch_request
    module.run()
  File "/usr/lib/python2.1/site-packages/trac/Module.py", line 45, in run
    self.render()
  File "/usr/lib/python2.1/site-packages/trac/Roadmap.py", line 74, in render
    queries = Milestone.get_query_links(self.env, milestone['name'])
  File "/usr/lib/python2.1/site-packages/trac/Milestone.py", line 51, in get_query_links
    queries['active_tickets'] = env.href.query({
  File "/usr/lib/python2.1/site-packages/trac/Href.py", line 79, in query
    params.append(field + '=' + urllib.quote(value))
  File "/usr/lib/python2.1/urllib.py", line 1112, in quote
    return _fast_quote(s)
  File "/usr/lib/python2.1/urllib.py", line 1086, in _fast_quote
    res[i] = '%%%02X' % ord(c)
TypeError: ord() expected a character, but string of length 3 found

it works with python 2.3 cgi and mod_python.

using trunk r860, cgi, python2.1.

Attachments (0)

Change History (2)

comment:1 by Christopher Lenz, 20 years ago

Keywords: python21 added
Priority: normalhighest
Severity: normalblocker

Any python-wiz have an idea what this error is about?

comment:2 by Christopher Lenz, 20 years ago

Resolution: fixed
Status: newclosed

Fixed in [889].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.