Modify

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

Description

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/main.py", line 497, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 169, in dispatch
  for handler in self.handlers:
File "/usr/lib/python2.7/site-packages/trac/core.py", line 78, in extensions
  components = [component.compmgr[cls] for cls in classes]
File "/usr/lib/python2.7/site-packages/trac/core.py", line 199, in __getitem__
  component = cls(self)
File "/usr/lib/python2.7/site-packages/trac/core.py", line 138, in __call__
  self.__init__()
File "build/bdist.linux-x86_64/egg/codereview/peerreview_docx.py", line 131, in __init__
  rdm.insert()
File "build/bdist.linux-x86_64/egg/codereview/tracgenericclass/model.py", line 462, in insert
  @self.env.with_transaction(db)
File "/usr/lib/python2.7/site-packages/trac/db/api.py", line 97, in transaction_wrapper
  fn(ldb)
File "build/bdist.linux-x86_64/egg/codereview/tracgenericclass/model.py", line 500, in do_insert
  [values[name] for name in std_fields])
File "/usr/lib/python2.7/site-packages/trac/db/util.py", 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
Action
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.