Opened 6 years ago

Last modified 6 years ago

#12936 new defect

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

Reported by: ntmlod Owned by: Cinc-th
Priority: normal Component: PeerReviewPlugin
Severity: blocker Keywords:
Cc: Trac Release: 1.0


Just after the installation of python-docx 0.8.6, the entire Trac instance felt down:

File "/usr/lib/python2.7/site-packages/trac/web/", line 497, in _dispatch_request
File "/usr/lib/python2.7/site-packages/trac/web/", line 169, in dispatch
  for handler in self.handlers:
File "/usr/lib/python2.7/site-packages/trac/", line 78, in extensions
  components = [component.compmgr[cls] for cls in classes]
File "/usr/lib/python2.7/site-packages/trac/", line 199, in __getitem__
  component = cls(self)
File "/usr/lib/python2.7/site-packages/trac/", line 138, in __call__
File "build/bdist.linux-x86_64/egg/codereview/", line 131, in __init__
File "build/bdist.linux-x86_64/egg/codereview/tracgenericclass/", line 462, in insert
File "/usr/lib/python2.7/site-packages/trac/db/", line 97, in transaction_wrapper
File "build/bdist.linux-x86_64/egg/codereview/tracgenericclass/", line 500, in do_insert
  [values[name] for name in std_fields])
File "/usr/lib/python2.7/site-packages/trac/db/", line 65, in execute
  return self.cursor.execute(sql_escape_percent(sql), args)

For information as it seems related to DB operations, ours is a Postgres one.

  • PeerReview 3.0 (r15579)
  • TracGenericClass 1.1.6

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Cinc-th.

Add Comment

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

Note: See TracTickets for help on using tickets.