Modify

Opened 7 years ago

Closed 7 years ago

#3026 closed defect (fixed)

Can't create code review on Postgres

Reported by: anonymous Owned by: mikechml
Priority: high Component: PeerReviewPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description (last modified by proofek)

Seems like this is connected with #333

Trace:

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/api.py", line 339, in send_error

'text/html')

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/chrome.py", line 691, in render_template

if not req.session or not int(req.session.get('accesskeys', 0)):

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/api.py", line 168, in getattr

value = self.callbacks[name](self)

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/main.py", line 256, in _get_session

return Session(self.env, req)

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/session.py", line 53, in init

self.get_session(req.authname, authenticated=True)

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/session.py", line 74, in get_session

(sid, int(authenticated)))

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/db/util.py", line 50, in execute

return self.cursor.execute(sql_escape_percent(sql), args)

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/db/util.py", line 50, in execute

return self.cursor.execute(sql_escape_percent(sql), args)

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

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by anonymous

Additional details:

2008-05-14 11:19:45,402 Trac[init] ERROR: null value in column "idreview" violates not-null constraint Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/main.py", line 419, in _dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/main.py", line 196, in dispatch

resp = chosen_handler.process_request(req)

File "build/bdist.linux-i686/egg/codereview/peerReviewNew.py", line 137, in process_request File "build/bdist.linux-i686/egg/codereview/peerReviewNew.py", line 177, in createCodeReview File "build/bdist.linux-i686/egg/codereview/CodeReviewStruct.py", line 50, in save File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/db/util.py", line 51, in execute

return self.cursor.execute(sql)

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/db/util.py", line 51, in execute

return self.cursor.execute(sql)

IntegrityError: null value in column "idreview" violates not-null constraint

comment:2 Changed 7 years ago by anonymous

Please merge the fixes from /branches/2.1-toddler to /0.11

Thank you

comment:3 Changed 7 years ago by proofek

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

#333 has now been fixed. It was causing the same problems during raising a brand new peer review. Closing as fixed

Add Comment

Modify Ticket

Action
as closed The owner will remain mikechml.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.