Modify ↓
Opened 18 years ago
Closed 17 years ago
#4981 closed defect (worksforme)
Floating error under Debian Etch
Reported by: | 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 , 18 years ago
Keywords: | needinfo added |
---|---|
Milestone: | 0.10.4 |
comment:2 by , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
No answers in 6 months. Closing. If you're still having this issue, please respond to questions by cboos
.
Note:
See TracTickets
for help on using tickets.
What postgresql and PgSql version are you using?
Consider trying psycopg2, to see if you're also gettings those errors with those bindings.