Edgewall Software

Ticket #709 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Internal error on viewing roadmap with python 2.1

Reported by: vittorio Owned by: cmlenz
Priority: highest Milestone: 0.8
Component: roadmap Version: devel
Severity: blocker Keywords: python21
Cc:

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

Change History

Changed 4 years ago by cmlenz

  • keywords python21 added
  • priority changed from normal to highest
  • severity changed from normal to blocker

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

Changed 4 years ago by cmlenz

  • status changed from new to closed
  • resolution set to fixed

Fixed in [889].

Add/Change #709 (Internal error on viewing roadmap with python 2.1 )

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cmlenz. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.