Modify ↓
Opened 20 years ago
Closed 20 years ago
#858 closed defect (fixed)
Internal error at http://projects.edgewall.com/trac/ticket/800
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Loading http://projects.edgewall.com/trac/ticket/800 (Link found in a Report) gives an internal error.
Traceback (most recent call last): File "/usr/lib/python2.2/site-packages/trac/ModPythonHandler.py", line 191, in handler core.dispatch_request(mpr.path_info, args, mpr, env) File "/usr/lib/python2.2/site-packages/trac/core.py", line 433, in dispatch_request module.run() File "/usr/lib/python2.2/site-packages/trac/Module.py", line 45, in run self.render() File "/usr/lib/python2.2/site-packages/trac/Ticket.py", line 447, in render self.insert_ticket_data(self.req.hdf, id, ticket, reporter_id) File "/usr/lib/python2.2/site-packages/trac/Ticket.py", line 412, in insert_ticket_data 'ticket.attachments') File "/usr/lib/python2.2/site-packages/trac/Environment.py", line 231, in get_attachments_hdf hdf.setValue(p + '.descr', wiki_to_oneliner(file['description'], hdf, self,self.get_db_cnx)) File "/usr/lib/python2.2/site-packages/trac/WikiFormatter.py", line 565, in wiki_to_oneliner OneLinerFormatter(hdf, env, db, absurls).format(wikitext, out) File "/usr/lib/python2.2/site-packages/trac/WikiFormatter.py", line 231, in format result = re.sub(rules, self.replace, util.escape(text.strip())) File "/usr/lib/python2.2/sre.py", line 143, in sub return _compile(pattern, 0).sub(repl, string, count) File "/usr/lib/python2.2/site-packages/trac/WikiFormatter.py", line 68, in replace return getattr(self, '_' + itype + '_formatter')(match, fullmatch) File "/usr/lib/python2.2/site-packages/trac/WikiFormatter.py", line 116, in _tickethref_formatter cursor = self.db.cursor () AttributeError: 'function' object has no attribute 'cursor'
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Duplicate of #807