Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#2127 closed defect (fixed)

timeline RSS feed broken

Reported by: Rede Owned by: Christian Boos
Priority: normal Milestone: 0.9
Component: project Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Happens at least on Trac project site itself.

pysqlite2.dbapi2.Connection' object has no attribute 'path_info'

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 205, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/Timeline.py", line 137, in process_request
    filters)
  File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 267, in get_timeline_events
    message = wiki_to_html(message or '--', self.env, db)
  File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 714, in wiki_to_html
    Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
  File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 608, in format
    result = re.sub(self.rules, self.replace, line)
  File "/usr/lib/python2.3/sre.py", line 143, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 239, in replace
    return getattr(self, '_' + itype + '_formatter')(match, fullmatch)
  File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 285, in _shref_formatter
    return self._make_link(ns, target, match, match)
  File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 301, in _make_link
    return self._link_resolvers[ns](self, ns, target, label)
  File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 454, in _format_link
    path_info = formatter.req.path_info.split('/', 2)
  File "/usr/lib/python2.3/site-packages/trac/db.py", line 101, in __getattr__
    return getattr(self.cnx, name)
  File "/usr/lib/python2.3/site-packages/trac/db.py", line 101, in __getattr__
    return getattr(self.cnx, name)
AttributeError: 'pysqlite2.dbapi2.Connection' object has no attribute 'path_info'

Attachments (0)

Change History (4)

comment:1 by Christian Boos, 19 years ago

Owner: changed from Jonas Borgström to Christian Boos
Status: newassigned

This bug was already fixed in r2288, but Edgewall's Trac is currently using an older revision. I'll close the ticket when the server gets upgraded.

comment:2 by Christopher Lenz, 19 years ago

Component: generalproject
Resolution: fixed
Status: assignedclosed
Version: devel

Server upgraded, timeline RSS feed fixed.

comment:3 by Rede, 19 years ago

Thank you. Makes a bit easier to follow up what's going on.. :)

comment:4 by Christian Boos, 17 years ago

Milestone: 0.9

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.