cubicweb #2535712 AttributeError: 'Session' object has no attribute '_tx_data' [rejected]

Traceback

2012-12-11 16:08:22 - (cubicweb.web) ERROR: AttributeError("'Session' object has no attribute '_tx_data'",)
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/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 128, in _compute_formid_value
  if not self._should_edit_relation(rschema, role):
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/reledit.py", line 332, in _should_edit_relation
  return rschema.has_perm(self._cw, 'add', **perm_args)
File "/usr/lib/python2.6/dist-packages/cubicweb/schema.py", line 483, in has_perm
  subjtype = session.describe(kwargs['fromeid'])[0]
File "/usr/lib/python2.6/dist-packages/cubicweb/dbapi.py", line 387, in describe
  return self.cnx.describe(eid, asdict)
File "/usr/lib/python2.6/dist-packages/cubicweb/dbapi.py", line 522, in decorator
  return func(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/dbapi.py", line 721, in describe
  metas = self._repo.describe(self.sessionid, eid, **self._txid())
File "/usr/lib/python2.6/dist-packages/cubicweb/server/repository.py", line 827, in describe
  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 782, in set_cnxset
  self.free_cnxset(True)
File "/usr/lib/python2.6/dist-packages/cubicweb/server/session.py", line 817, in free_cnxset
  cnxset = getattr(self._threaddata, 'cnxset', None)
File "/usr/lib/python2.6/dist-packages/cubicweb/server/session.py", line 302, in _threaddata
  self.set_tx_data()
File "/usr/lib/python2.6/dist-packages/cubicweb/server/session.py", line 293, in set_tx_data
  self.__threaddata.txdata = self._tx_data[txid]
AttributeError: 'Session' object has no attribute '_tx_data'
prioritynormal
typebug
done in<not specified>
load0.000
load left0.000
closed by<not specified>