Edgewall Software

Opened 18 years ago

Last modified 17 years ago

#3427 closed defect

SQL problems using Postgres — at Version 3

Reported by: chous@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.9.6
Severity: normal Keywords:
Cc: mbertheau@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

After installing WikiMacroCounter (happens on other parts of Trac as well), I get the following error:

ERROR: current transaction is aborted, commands ignored until end of transaction block

SELECT filename,description,size,time,author,ipnr FROM attachment WHERE type='wiki' AND id='WikiStart' ORDER BY time

Python traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 116, in process_request
    self._render_view(req, db, page)
  File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 375, in _render_view
    for attachment in Attachment.select(self.env, 'wiki', page.name, db):
  File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 171, in select
    (parent_type, str(parent_id)))
ProgrammingError: ERROR:  current transaction is aborted, commands ignored until end of transaction block

SELECT filename,description,size,time,author,ipnr FROM attachment WHERE type='wiki' AND id='WikiStart' ORDER BY time

Change History (3)

comment:1 by Markus Bertheau <mbertheau@…>, 18 years ago

The error message means that there was an earlier SQL error that aborted the transaction. For some reason that error wasn't shown.

comment:2 by Markus Bertheau <mbertheau@…>, 18 years ago

Cc: mbertheau@… added

comment:3 by Christian Boos, 18 years ago

Description: modified (diff)

Probably a WikiMacroCounter error. I suggest that we close this as wontfix and the reporter should probably create a ticket on TracHacks or at the place the plugin is hosted.

Note: See TracTickets for help on using tickets.