Edgewall Software
Modify

Opened 18 years ago

Closed 17 years ago

#4981 closed defect (worksforme)

Floating error under Debian Etch

Reported by: alex.yanchenko@… Owned by: Jonas Borgström
Priority: high Milestone:
Component: general Version:
Severity: critical Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I'm using Trac installed via apt-get under Debian Etch. The problem is that time to time I get a message saying
Trac detected an internal error:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 184, in dispatch
    req.session = Session(self.env, req)
  File "/var/lib/python-support/python2.4/trac/web/session.py", line 53, in __init__
    self.get_session(req.authname, authenticated=True)
  File "/var/lib/python-support/python2.4/trac/web/session.py", line 72, in get_session
    (sid, int(authenticated)))
  File "/var/lib/python-support/python2.4/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/var/lib/python-support/python2.4/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.4/site-packages/pyPgSQL/PgSQL.py", line 3111, in execute
    raise OperationalError, msg
OperationalError: ERROR:  DECLARE CURSOR may only be used in transaction blocks

Refreshing the page helps.

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 18 years ago

Keywords: needinfo added
Milestone: 0.10.4

What postgresql and PgSql version are you using?

Consider trying psycopg2, to see if you're also gettings those errors with those bindings.

comment:2 by sid, 17 years ago

Resolution: worksforme
Status: newclosed

No answers in 6 months. Closing. If you're still having this issue, please respond to questions by cboos.

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.