Edgewall Software
Modify

Opened 18 years ago

Closed 17 years ago

#3427 closed defect (wontfix)

SQL problems using Postgres

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

Attachments (0)

Change History (4)

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.

comment:4 by sid, 17 years ago

Resolution: wontfix
Status: newclosed

I cannot find the WikiMacroCounter on TracHacks or the MacroBazaar to test this. But I also agree with cboos. If this only happens when you have WikiMacroCounter installed, then it is a problem with that custom macro, not with Trac. Please ask for support where you got the macro.

If this is a general Trac problem unrelated to the macro, please feel free to reopen the ticket.

Modify Ticket

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