cubicweb #2535713 Exception: try to set connections set on a closed session anon486b7a4ba96d41f99e8ce106e601cb70 [rejected]

Traceback

2012-12-11 16:08:21 - (cubicweb.session) INFO: waiting for thread <Thread(PoolThread-twisted.internet.reactor-3, started     139884087346944)>
2012-12-11 16:08:21 - (cubicweb.web) ERROR: Exception('try to set connections set on a closed session  anon486b7a4ba96d41f99e8ce106e601cb70',)
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/cubicweb/web/application.py", line 444, in core_handle
  result = controller.publish(rset=rset)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/basecontrollers.py", line 133, in publish
  rset=rset, view=view)
File "/usr/lib/python2.6/dist-packages/cubicweb/cwvreg.py", line 373, in main_template
  res = obj.render(**kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
  view_func(**context)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/basetemplates.py", line 146, in call
  view.render(w=w)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
  view_func(**context)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 387, in call
  super(EntityView, self).call(**kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 219, in call
  self.wview(self.__regid__, rset, row=i, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 282, in wview
  self._cw.view(__vid, rset, __fallback_vid, w=self.w, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/req.py", line 348, in view
  return view.render(w=w, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
  view_func(**context)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 390, in cell_call
  self.entity_call(self.cw_rset.get_entity(row, col), **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/primary.py", line 113, in entity_call
  self.render_entity(entity)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/tabs.py", line 233, in render_entity
  self.render_tabs(self.tabs, self.default_tab, entity)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/tabs.py", line 138, in render_tabs
  entity.view(default, w=self.w)
File "/usr/lib/python2.6/dist-packages/cubicweb/entity.py", line 604, in view
  return view.render(row=self.cw_row, col=self.cw_col, w=w, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
  view_func(**context)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 390, in cell_call
  self.entity_call(self.cw_rset.get_entity(row, col), **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/primary.py", line 113, in entity_call
  self.render_entity(entity)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/primary.py", line 138, in render_entity
  self.render_entity_attributes(entity)
File "/usr/share/cubicweb/cubes/vcreview/views/primary.py", line 65, in render_entity_attributes
  super(PatchPrimaryTab, self).render_entity_attributes(entity)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/primary.py", line 200, in render_entity_attributes
  initargs={'dispctrl': dispctrl})
File "/usr/lib/python2.6/dist-packages/cubicweb/entity.py", line 604, in view
  return view.render(row=self.cw_row, col=self.cw_col, w=w, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
  view_func(**context)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 390, in cell_call
  self.entity_call(self.cw_rset.get_entity(row, col), **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/reledit.py", line 105, in entity_call
  self._handle_relation(rschema, role, divid, reload, formid, action)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/reledit.py", line 134, in _handle_relation
  formid, value = self._compute_formid_value(rschema, role, rvid, formid)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/reledit.py", line 123, in _compute_formid_value
  related_rset = self.entity.related(rschema.type, role)
File "/usr/lib/python2.6/dist-packages/cubicweb/entity.py", line 948, in related
  rset = self._cw.execute(rql, {'x': self.eid})
File "/usr/lib/python2.6/dist-packages/cubicweb/dbapi.py", line 499, in execute
  build_descr=build_descr, **self._txid())
File "/usr/lib/python2.6/dist-packages/cubicweb/server/repository.py", line 795, in execute
  session = self._get_session(sessionid, setcnxset=True, txid=txid)
File "/usr/lib/python2.6/dist-packages/cubicweb/server/repository.py", line 1041, in _get_session
  session.set_cnxset()
File "/usr/lib/python2.6/dist-packages/cubicweb/server/session.py", line 783, in set_cnxset
  raise Exception('try to set connections set on a closed session %s' % self.id)
Exception: try to set connections set on a closed session anon486b7a4ba96d41f99e8ce106e601cb70
prioritynormal
typebug
done in<not specified>
load0.000
load left0.000
closed by<not specified>