cubicweb-vcsfile #1369 problem under (light) load [resolved]

trace:

2008-12-23 18:04:53 - (cubicweb.web) ERROR: ProgrammingError('SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1123035472 and this is thread id 1102387536',)
Traceback (most recent call last):
 File "/home/auc/rep/cubicweb/cubicweb/web/application.py", line 320, in main_publish
   result = controller.publish(rset=rset)
 File "/home/auc/rep/cubicweb/cubicweb/web/views/basecontrollers.py", line 67, in publish
   return self.vreg.main_template(self.req, template, rset=rset)
 File "/home/auc/rep/cubicweb/cubicweb/cwvreg.py", line 165, in main_template
   res = self.render('templates', oid, req, **context)
 File "/home/auc/rep/cubicweb/cubicweb/cwvreg.py", line 158, in render
   return selected.dispatch(**context)
 File "/home/auc/rep/cubicweb/cubicweb/common/view.py", line 143, in dispatch
   view_func(**context)
 File "/home/auc/rep/cubicweb/cubicweb/web/views/basetemplates.py", line 139, in call
   view.dispatch(w=self.w)
 File "/home/auc/rep/cubicweb/cubicweb/common/view.py", line 143, in dispatch
   view_func(**context)
 File "/home/auc/rep/cubicweb/cubes/docaster/views/startup.py", line 66, in call
   self.wview('table', rset, headers=(_('document'), _('revision'), _('state')))
 File "/home/auc/rep/cubicweb/cubicweb/common/view.py", line 220, in wview
   self.view(__vid, rset, __fallback_vid, w=self.w, **kwargs)
 File "/home/auc/rep/cubicweb/cubicweb/common/view.py", line 212, in view
   return view.dispatch(**kwargs)
 File "/home/auc/rep/cubicweb/cubicweb/common/view.py", line 143, in dispatch
   view_func(**context)
 File "/home/auc/rep/cubicweb/cubicweb/web/views/tableview.py", line 153, in call
   table.render(self.w)
 File "/home/auc/rep/cubicweb/cubicweb/web/htmlwidgets.py", line 32, in render
   self._render()
 File "/home/auc/rep/cubicweb/cubicweb/web/htmlwidgets.py", line 275, in _render
   for column, sortvalue in self.itercols(rowindex):
 File "/home/auc/rep/cubicweb/cubicweb/web/htmlwidgets.py", line 289, in itercols
   yield column, self.model.sortvalue(rowindex, column.rset_sortcol)
 File "/home/auc/rep/cubicweb/cubicweb/common/uilib.py", line 523, in newfunc
   ret = function(*args, **kwargs)
 File "/home/auc/rep/cubicweb/cubicweb/common/uilib.py", line 507, in newfunc
   ret = function(*args, **kwargs)
 File "/home/auc/rep/cubicweb/cubicweb/common/uilib.py", line 497, in newfunc
   ret = function(*args, **kwargs)
 File "/home/auc/rep/cubicweb/cubicweb/web/views/tableview.py", line 243, in sortvalue
   return entity.sortvalue()
 File "/home/auc/rep/cubicweb/cubicweb/entities/__init__.py", line 232, in sortvalue
   return self.dc_title().lower()
 File "/home/auc/rep/cubicweb/cubes/docaster/entities/document.py", line 246, in dc_title
   title = self.name if dc_title is None else '[%s] %s' % (self.keyword, dc_title)
 File "/home/auc/rep/cubicweb/cubicweb/common/entity.py", line 1057, in __get__
   return eobj.get_value(self._attrname)
 File "/home/auc/rep/cubicweb/cubicweb/common/entity.py", line 714, in get_value
   rset = execute(rql, {'x': self.eid}, 'x')
 File "/home/auc/rep/cubicweb/cubicweb/dbapi.py", line 251, in execute
   return self.cursor.execute(*args, **kwargs)
 File "/home/auc/rep/cubicweb/cubicweb/dbapi.py", line 578, in execute
   parameters, eid_key, build_descr)
 File "/home/auc/rep/cubicweb/cubicweb/server/repository.py", line 548, in execute
   build_descr)
 File "/home/auc/rep/cubicweb/cubicweb/server/querier.py", line 647, in execute
   results = plan.execute()
 File "/home/auc/rep/cubicweb/cubicweb/server/querier.py", line 160, in execute
   result = step.execute()
 File "/home/auc/rep/cubicweb/cubicweb/server/ssplanner.py", line 347, in execute
   inputmap)
 File "/home/auc/rep/cubicweb/cubicweb/server/sources/extlite.py", line 186, in syntax_tree_search
   cursor = session.pool[self.uri]
 File "/home/auc/rep/cubicweb/cubicweb/server/pool.py", line 84, in __getitem__
   cursor = self.source_cnxs[uri][1].cursor()
 File "/home/auc/rep/cubicweb/cubicweb/server/sources/extlite.py", line 47, in cursor
   return self.cnx.cursor()
 File "/home/auc/rep/cubicweb/logilab/common/db.py", line 443, in cursor
   return self._cnx.cursor(PySqlite2Cursor)
ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1123035472 and this is thread id 1102387536
priorityimportant
typebug
done in0.9.0
load0.200
load left0.000
closed by<not specified>